opening 2003 xml forms in 2010 - InfoPath Dev
in

InfoPath Dev

opening 2003 xml forms in 2010

Last post 01-30-2012 10:52 AM by Jeffy. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-22-2011 07:12 AM

    opening 2003 xml forms in 2010

    We have upgraded some users to Office 2010, but they are having trouble opening their old Infopath 2003 .xml forms in 2010. Normally they can just double click on the .xml and it's opened in Infopath 2003. When doing the same with 2010, the following error appears: Infopath cannot open the following file Report.xml The form template associated with this form could not be found More Details: This form is associated with a URN-based form template, which cannot be found on your computer. Apparently it's because the built-in form templates of 2003 are removed in 2010. I can't find a way to convert the files at all. I think they are using the meeting agenda template that's built into 2003. I've tried copying the .xsn to multiple locations in 2010, but still no joy Can anyone help? The header of the Report.xml file is given below - thanks! [?xml version="1.0" encoding="UTF-8"?][?mso-infoPathSolution PIVersion="1.0.0.0" solutionVersion="1.0.0.1" name="urn:schemas-microsoft-com:office:infopath:oob:MeetingAgenda:1033" productVersion="11.0.8233" ?][?mso-application progid="InfoPath.Document"?][mtg:meetingAgenda xmlns:mtg="http://schemas.microsoft.com/office/infopath/2003/sample/MeetingAgenda" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD" xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-us"] Commissioning Group
  • 09-23-2011 08:36 AM In reply to

    Re: opening 2003 xml forms in 2010

    I'm having the very same problems. We have InfoPath .xml forms created in 2003 -- plus, I'm preparing to train users with materials that were created with either IP 2003 or 2007. Many of the files in question were created by the training company (Element K), not in-house. When I try to open the .xml files with InfoPath 2010, I get the same error ("This form is associated with a URN-based form template, which cannot be found on your computer."); I have no problems opening an IP template. (I have no problems opening these .xml forms using InfoPath 2007.) My problems are magnified because the training is scheduled to be conducted in the next couple of weeks, and everyone will be upgrading to IP 2010 at that time. So, having a solution soon is essential.

    I'm running InfoPath (Office) 2010 on Windows 7 Professional.

    Thanks for any assistance you can provide!

    Joe

  • 01-12-2012 08:25 AM In reply to

    • Jeffy
    • Not Ranked
    • Joined on 01-11-2012
    • Posts 3

    Re: opening 2003 xml forms in 2010

    Same issue here. I have hundreds of users all over the country that are currently running infopath 2003 on Windows XP machines with MSOffice 2003. We are in the process of migrating to Windows 7 with MSOffice 2010. They need to be able to copy or move their xml forms (which contain javascript code) to any location (laptop, thumbdrive, email etc etc), and when they submit the form, it will connect to a webservice, which in turn dumps into a sql database. We are running Office InfoPath 2003 Toolkit for Visual Studio 2005 with the Microsoft Office InfoPath SP1 installed. I use the regform.exe something like this regform /V 1.0.0.0 /T Yes /O c:\work\Something\Temp c:\work\Something\Template\Temp.xsn Everything registers fine Microsoft Office InfoPath RegForm tool. Version 1.0.0.3 Copyright (C) Microsoft Corporation 2003. All rights reserved. Building script... Result script in C:\work\Something\SomethingSetup\Code.js file. Completed. Using Visual Studio 2005 I build a MSI to distribute this form out to the users. Problem 1 - When installing the form on the new Windows 7 machines we get the following message. "An error occurred while attempting to register the form: System.UnauthorizedAccessException: Access is denied." - I click ok, installation completes. Problem 2 - When attempting to open the form we get the following message. "Infopath cannot open the following file... This form is associated with a URN-based form template, which cannot be found on your computer" - I click ok and we cannot open the form. I've read many articles on this site, and went through a process of re-publishing the template in Infopath 2010, and then rebuilding the MSI file. I still get the error when I install the form on the new machine as described in Problem 1, but when I open the form after re-publishing (as full trusted) I get the following message. “Infopath cannot open a new form. The form template is trying to access files and settings on your computer. Infopath cannot grant access to these files and settings because the form template is not fully trusted. For a form to run with full trust, it must be installed or digitally signed with a ceritificate.” Again to re-iterate the form was re-published as fully trusted. So as a final step I created a temporary test certificate and republished again, and rebuilt the msi and I still get the install error, but I can finally open the 2003 infopath form in 2010…hooray! BUT…I do not want a certificate because these forms need to be portable able to submit from any machines they are on (assuming it’s a company machine with our security and software etc etc.) Can these 2003 forms be opened and function in the same way they do today under Infopath 2010?
  • 01-12-2012 08:37 AM In reply to

    • bobga
    • Not Ranked
    • Joined on 12-22-2010
    • Posts 9

    Re: opening 2003 xml forms in 2010

    We had the same certificate error when going from 2003 to 2010.  The short answer is no.  As an aside, if you access any other office file (.docx,.xlsm, etc.) from your form,  that file needs to be in a trusted location. 

    Also, I'm going directly to sql, which has been working ok in 2010, but I would like to move to web parts since the added security in windows 7 slows document load at locations that don't have a DC.  Would like to talk, call Bob at 202 305 8555.

  • 01-30-2012 10:52 AM In reply to

    • Jeffy
    • Not Ranked
    • Joined on 01-11-2012
    • Posts 3

    Re: opening 2003 xml forms in 2010

    I have resolved my problem, using the steps found in this article. http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/07/11/how-to-create-a-digital-certificate-and-publish-a-signed-template-to-the-dbxl-admin-tool.aspx As long as you don't mind the inconvenience your users will experience by having to install the certificate on their machine prior to using the new template, this solution will work.
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.