I have run into a problem which has stopped all forms from opening on my production system for a particular process.
This process is triggered by a document being uploaded to a MOSS document library, and then uses an InfoPath web form to collect information from the various users.
I needed to track down a bug in the process that has been deployed to production, and so I have done the following steps:
· I downloaded the code for the process from production to ensure that I had the latest version of the code.
· I deployed the process to DEVELOPMENT to ensure that I had the latest version in development, and so that I could debug it.
(see screenshot of versions below – just to confirm that I haven’t accidentally deployed to the wrong system...)
· I initiated a process in development so that I could start debugging.
When I went to open the first form to complete the task that is assigned to me, the form won’t open. If I look at the XML of the form, I see that it is trying to use the form template that is published to the PRODUCTION server, instead of the development server, so Forms services won’t allow this – the xml has the tag below which defines where the template is stored – note that http://documentcentre is the production server
<?mso-infoPathSolution name="urn:schemas-microsoft-com:office:infopath:Specification-Approval-Forms:-myXSD-2008-06-30T09-38-19" solutionVersion="1.0.0.270" productVersion="12.0.0" PIVersion="1.0.0.0" href="http://documentcentre/specs/Specification Approval Forms/Forms/template_-myXSD-2008-06-30T09-38-19.xsn"?>
I now find that the form that this process uses in PRODUCTION is not working either – I believe that this is failing because it is looking for a data connection on the development server!
So it appears that when I have deployed the process to the DEVELOPMENT server, that the form has actually been deployed to PRODUCTION. This has the unfortunate affect of preventing the form from functioning in either environment. Obviously, I am most concerned about production at this stage.
A couple of questions:
1. How do I get my production environment form functioning again?
2. How did this occur, and how do I make changes to a process without it breaking the production version?