deploy error

F

Fred

I have deploy a form to form server with unknown error, so I go to the
Program Files\Common Files\Microsoft Shared\web server extensions
\12\LOGS, and find some error info like below,

TryRunConversion failed with unhandled exception
System.NullReferenceException: Object reference not set to an instance
of an object. at
Microsoft.Office.InfoPath.Server.Converter.RoundtripModelDetectionVisitor.VisitInfoPathControl(AspxInfoPathControl
control) at
Microsoft.Office.InfoPath.Server.Converter.AspxDepthFirstWalkingVisitor.VisitControl(AspxControl
control) at
Microsoft.Office.InfoPath.Server.Converter.AspxDepthFirstWalkingVisitor.VisitChildControls(AspxControl
control) at
Microsoft.Office.InfoPath.Server.Converter.AspxDepthFirstWalkingVisitor.VisitHtmlControl(AspxHtmlControl
control) at
Microsoft.Office.InfoPath.Server.Converter.AspxDepthFirstWalkingVisitor.VisitControl(AspxControl
control) at
Microsoft.Office.InfoPath.Server.Converter.AspxDepthFirstWalki...

This form has been deployed before, and I just upgrade the schema with
two additional fields. I tried to remove the old form and add the new
form, but it still can not go through, is there anyone who has the
same problem before?

Thanks
 
G

Gavin McKay

Hi Fred,

There are a number of reasons this could have happened - most of them
difficult to diagnose unfortunately. You could try some of the following:

- Try and do a "Verify" instead of a straight publish. Sometimes I get
proper errors doing this.
- Are there any references you have added to code-behind? If Forms Services
can't compile your .NET code you could get this error
- Your upload may be timing out. I have got this error when the form is
quite large (lots of views, complex code, etc.). You might need to simplify
your form (ugh) or try a reboot and see if it works then. Sometimes my SQL
server instances hog RAM and it seems to use a lot during form publishing.
Use Task Manager to check resources, and be shocked at the amount of RAM/CPU
a form publish uses :D

HTH

Gavin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top