Malformed Reference Element XML NF Version 4.0

0

I am updating our program of sending service notes (Sorocaba). Doing a quick search saw some comments that after updating the .Net Framework, Microsoft made a fix on the Subscriptions vulnerabilities and some special characters could not be used. However, when trying to sign I am getting a "malformed reference element" error, I removed the "2 points": '"from the city hall tag and passed, however the city hall requires the TAG signed in the format below, with 2 points < strong> batch: . The code is:  

  // Create a reference to be signed
                            Reference reference = new Reference();
                            reference.Uri = "#lote1ABCDZ";

I would like to know how I could proceed in this case where the city requires something that can not be used by Microsoft or a solution to it.

    
asked by anonymous 03.07.2018 / 22:38

1 answer

0

To resolve, simply pass the blank ID.

By default the URI in reference comes NULL just pass string.Empty and everything goes right.

    
04.07.2018 / 21:16