Web application with XmlViewForm control - InfoPath Dev
in

InfoPath Dev

Web application with XmlViewForm control

Last post 01-09-2007 06:58 AM by fahlen. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-09-2007 04:23 AM

    • fahlen
    • Not Ranked
    • Joined on 12-29-2006
    • Posts 7

    Web application with XmlViewForm control

    Hi,

    I have created and tested various forms using InfoPath. All these forms are Web enabled. After I publish these to an Office Forms Server and activate them to a Site Collection, I can edit them if I access them directly from the Site Collection. However, if I follow the instruction in "Hosting the InfoPath 2007 Form Editing Environment in a Custom Web Form" (from MSDN), I get the following error when accessing my URL http://localhost:1407/80/CustomPage/MyCustomPage.aspx):


    Server Error in '/80' Application.
    --------------------------------------------------------------------------------

    Input string was not in a correct format.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.FormatException: Input string was not in a correct format.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [FormatException: Input string was not in a correct format.]
    System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2752563
    System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +102
    System.Int32.Parse(String s, IFormatProvider provider) +22
    Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.System.Web.IHttpModule.Init(HttpApplication app) +1305
    System.Web.HttpApplication.InitModules() +192
    System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1156
    System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +259
    System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +101
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +331




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210


    Has anyone come across this before or has any idea what the problem might be? I'm sure I've followed the instructions in the MSDN article.

    Thanks in advance,
    Markus
  • 01-09-2007 06:58 AM In reply to

    • fahlen
    • Not Ranked
    • Joined on 12-29-2006
    • Posts 7

    Re: Web application with XmlViewForm control

    Problem solved. I had missed on step in the "Hosting the InfoPath 2007..." MSDN article, concerning WebSite start options.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.