Failure to deploy InfoPath 2007 form into SharePoint 2007 - InfoPath Dev
in

InfoPath Dev

Failure to deploy InfoPath 2007 form into SharePoint 2007

Last post 04-24-2012 07:33 AM by Hilary Stoupa. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 04-23-2012 10:48 AM

    Failure to deploy InfoPath 2007 form into SharePoint 2007

    Hello... I'm having trouble publishing an IP form into SP2007. The form has 10 views with code behind and somehow complex schema. It works fine when testing the form in Design Mode, but when deploying to SP2007 using Central Admin, I'll get following errors. Very much appreciate any help.

    Thank you, Moe

    Event Viewer: 

    Event Type: Error
    Event Source: Office SharePoint Server Error Reporting
    Event Category: None
    Event ID: 5000
    Date:  4/23/2012
    Time:  12:33:59 PM
    User:  N/A
    Computer: DEVEFORMSPORTAL
    Description:
    EventType ulsexception12, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 microsoft.office.infopath.server, P5 12.0.6425.0, P6 49943557, P7 7589, P8 15, P9 nullreferenceexception, P10 82lx.

    SharePoint Log:

     04/23/2012 11:21:54.38  w3wp.exe (0x0C94)                        0x10D0 Forms Server                   Forms Services Deployment      82lx Exception ConstructFromXsnFile failed with unhandled exception System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.InfoPath.Server.Converter.SideValues`1.get_AllValuesEqual()     at Microsoft.Office.InfoPath.Server.Controls.RadioButton.FixupStyles(Browser browser, AspxControlCssClasses controlClasses)     at Microsoft.Office.InfoPath.Server.Converter.WrappedCssLayoutFixipVisitor.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.VisitHtmlC... 

     

  • 04-23-2012 11:08 AM In reply to

    Re: Failure to deploy InfoPath 2007 form into SharePoint 2007

    From the error message, I'd guess there is a problem in one of your views with radio button controls.

    If this were my form I'd create a backup copy of the form. Then I would start removing the views with radio button controls, one at a time, and trying to admin approve after removing each view - try to narrow down the view with the issue. Are there any controls relying on secondary data sources that no longer exist in the form? Any rules that use secondary data sources no longer in the form? I'd suspect those first, although I have seen other issues cause very strange errors when trying to admin approve.

    If you can find the view with the issue (assuming the issue is related to a specific view) you can then start removing controls to narrow down the control set causing the issue.

    You should also run the design checker, if you have not already, in InfoPath to see if it will give you any better info.

    Hilary Stoupa

  • 04-23-2012 12:00 PM In reply to

    Re: Failure to deploy InfoPath 2007 form into SharePoint 2007

    Thanks very much Hilary for the quick reply. I'm working on your suggestions and let you know. Thanks again. Moe 

  • 04-24-2012 07:24 AM In reply to

    Re: Failure to deploy InfoPath 2007 form into SharePoint 2007

    Hilary, as you mentioned the issue was related to a radio button. I deleted the radio button in one of the views and recreated it and that fixed the issue. I could deploy it to SP2007 with no problem.

    Thanks very much for your help.

    Moe 

  • 04-24-2012 07:33 AM In reply to

    Re: Failure to deploy InfoPath 2007 form into SharePoint 2007

    Oh, super news, I'm glad you got that sorted.

    Hilary Stoupa

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.