Background on URNs
InfoPath SP1 included changes to the mail deployment model to allow for easier ways to distribute form templates to a group. One of the tools for making this deployment model work is the URN (Uniform Resource Name). These URNs are generated automatically by InfoPath and should be unique for each new form template you build.
Note: It’s possible to get a URN that’s identical to an existing one, but not very likely. This will be explained more later on.
To see the URN for your form template, you can select ‘File | Properties’ when in the Designer. The URN is listed there as the ‘Form ID’. It is called a Form ID because it is used in the deployment model to identify a form template that may be opened from different locations. The URN is generated by combining three sections separated by semicolons based in part on the form template’s properties. Here’s a sample URN:
It consists of three parts:
Note: The Namespace Timestamp is used whenever a user starts out building the schema within InfoPath. If a form template is built from an XML or XSD file which has its own Namespace, then that Namespace will be used.
The Conflict Dialog
This dialog will appear any time that you open a form template on your machine that has a URN that matches an existing URN that you’ve previously opened and cached, but references a different Access Path (or publish location, URL). As you can see in the example above, I have a file called ‘blogsample.xsn’ that I’ve opened from My Documents, but the conflict dialog is saying that I’ve previously opened a file with the same URN from my Desktop. I got myself into this situation by publishing the same form template to two separate locations with the same filename and then opening each of them. Because the Form Name and Namespace timestamp are identical for both XSNs, so is the URN.
There are two options at this point. I can either open the newer template (Version 126.96.36.199) by clicking ‘Replace Form on Your Computer’ or the older one (Version 188.8.131.52) by clicking ‘Keep Form on Your Computer’. It is important to note that this dialog does not affect the original copies of these files in any way. It will only update your local cache and it will update the file that is shown with this Form Name in your Fill Out a Form dialog.
Comment about you lines:This dialog will appear any time that you open a form template on your machine that has a URN that matches an existing URN that you’ve previously opened and cached, but references a different Access Path (or publish location, URL).
this is not true, I opened the form from fresh machine but still can see the error. And also when I am deploying them on fresh server where it is never used.
What is solution for this problem. Like how we can update this before opening the form after copying it to enhance to form.
PingBack from http://www.keyongtech.com/1237619-xml-urn-making-a-form
PingBack from http://uniformstores.info/story.php?id=19064
tried using 2010 infopath with my new 2010 windows 7 but it says "urn" not found - what do i do to open files supported by infopath ?
So, when you upgrade your computer and don't take your Infopath templates with you, and you try to open an old form, you're screwed. Nice. I really don't have the time to troubleshoot your software, so I guess I'll quit using it. Nice idea poorly executed.
This software belongs in the trash!