web form openning error - InfoPath Dev
in

InfoPath Dev

web form openning error

Last post 11-09-2012 10:54 AM by erockafella. 16 replies.
Page 1 of 2 (17 items) 1 2 Next >
Sort Posts: Previous Next
  • 01-13-2011 12:13 AM

    web form openning error

    hi guys

    windows 2008 r2/ sharepoint 2010 with DBXL
    windows 2008 r2/ sql server 2008 r2
    infopath 2010 / sharepoint designer 2010

    i am trying to open a web browser enabled form in sharepoint. works fine through infopath client.

    in infopath design checker, web browser Form, i have a warning "Data connections contain parameterized queries"

    i have submitted the form through DBXL ( publish lib and XSN, use forms services and propagate deletes all 3 ticked) 

    in form library , advanced settings, i have selected "open in browser"

    when i click to open a form i get the following and attached error.

     thanx

     

    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name="Microsoft-SharePoint Products-InfoPath Forms Services" Guid="{A3499A35-DB34-421A-94FC-4D76522BEAB3}" />
      <EventID>7056</EventID>
      <Version>14</Version>
      <Level>2</Level>
      <Task>15</Task>
      <Opcode>0</Opcode>
      <Keywords>0x1000000000000000</Keywords>
      <TimeCreated SystemTime="2011-01-13T07:49:56.291086700Z" />
      <EventRecordID>60687</EventRecordID>
      <Correlation ActivityID="{E52208B9-3F27-4E56-9561-79E3424834E0}" />
      <Execution ProcessID="7660" ThreadID="9584" />
      <Channel>Application</Channel>
      <Computer>KOTCSHARE.kotc.com.kw</Computer>
      <Security UserID="S-1-5-21-803879318-1295863979-1299147156-10224" />
      </System>
    - <EventData>
      <Data Name="string0">KOTCNT\spadmin</Data>
      <Data Name="string1">test2</Data>
      <Data Name="string2" />
      <Data Name="string3">http://kotcshare/_layouts/FormServer.aspx?XsnLocation=http://kotcshare/KOTCForms/BSYearlySetup/Forms/template.xsn&SaveLocation=http://kotcshare/KOTCForms/BSYearlySetup&Source=http://kotcshare/KOTCForms/BSYearlySetup/Forms/AllItems.aspx&DefaultItemOpen=1</Data>
      <Data Name="string4">urn:schemas-microsoft-com:office:infopath:BSYearlySetup-http-kotcshare-KOTCFormsv20110113072824d5e7bcea2842461da7e88937a278ad37:-myXSD-2011-01-11T04-55-27</Data>
      <Data Name="string5">NullReferenceException</Data>
      <Data Name="string6">Object reference not set to an instance of an object.</Data>
      </EventData>
      </Event>

     

     


  • 01-13-2011 04:47 AM In reply to

    Re: web form openning error

    You can take the Correlation ID you see in the message and search the SharePoint log file for for more detailed information.  There should be a series of entries in the log file that have that Correlation ID.  The default location of the logs is "c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS".  You will usually see some indication of the error that occurred. Let us know what additional information you find there. Thanks.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 01-13-2011 08:53 PM In reply to

    ok .got it ..CoRe.ID : 78eecdba-2718-4181-b900-d79ae20eb887

    and some errors from the event viewer 


    Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type 'Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker' from assembly 'Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.

    The form template failed to load. (User: KOTCNT\spadmin, Form Name: test2, IP: , Request: http://kotcshare/_layouts/FormServer.aspx?XsnLocation=http://kotcshare/KOTCForms/BSYearlySetup/Forms/template.xsn&SaveLocation=http://kotcshare/KOTCForms/BSYearlySetup&Source=http://kotcshare/KOTCForms/BSYearlySetup/Forms/AllItems.aspx&DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:BSYearlySetup-http-kotcshare-KOTCFormsv20110113072824d5e7bcea2842461da7e88937a278ad37:-myXSD-2011-01-11T04-55-27, Type: NullReferenceException, Exception Message: Object reference not set to an instance of an object.)

    The form template failed to load. (User: KOTCNT\spadmin, Form Name: test2, IP: , Request: http://kotcshare/_layouts/FormServer.aspx?XsnLocation=http://kotcshare/KOTCForms/BSYearlySetup/Forms/template.xsn&SaveLocation=http://kotcshare/KOTCForms/BSYearlySetup&Source=http://kotcshare/KOTCForms/BSYearlySetup/Forms/AllItems.aspx&DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:BSYearlySetup-http-kotcshare-KOTCFormsv20110113072824d5e7bcea2842461da7e88937a278ad37:-myXSD-2011-01-11T04-55-27, Type: NullReferenceException, Exception Message: Object reference not set to an instance of an object.)

     

    thanx

  • 01-14-2011 04:29 AM In reply to

    Re: web form openning error ..pls help

    Thanks for the info.

    Searching on Google for the error I've found the following articles:

    http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/84e2496c-5cc9-4df8-9667-153d1ca02e60

    http://todd-carter.com/post/2010/05/03/Help-Wanted-Taxonomy-Picker.aspx

    http://davidfrette.wordpress.com/2010/05/20/why-the-taxonomypicker-ascx-is-no-longer-used/

    From reading these, it sounds like a SharePoint 2010 issue?

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 01-14-2011 06:29 AM In reply to

    hi

    i fixed the error .. that is renamed taxonomypicker.ascx ...so doesnt show up in the event logs now.

    still get the same error when trying to open a browser form ...example with cor.ID : 1e7e2d60-ec1c-47f2-97e6-8c3dd9121fb9

    have attached an new log file

     

    btw would like to tell you that the same web form published directly from info path to share point works fine.

    thanx

  • 01-14-2011 07:01 AM In reply to

    Re: web form openning error ..pls help

    Just adding the exception I found from the rar file you attached...

     

    01/14/2011 17:08:27.49     w3wp.exe (0x1498)                           0x1568    InfoPath Forms Services           Maintenance                       82fv    Critical    The form template failed to load. (User: KOTCNT\spadmin, Form Name: test2, IP: , Request: http://kotcshare/_layouts/FormServer.aspx?XmlLocation=/KOTCForms/BSYearlySetup/206.xml&Source=http://kotcshare/KOTCForms/BSYearlySetup/Forms/AllItems.aspx?GroupString=%253B%25232009%252D10%253B%2523&IsGroupRender=TRUE&DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:BSYearlySetup-http-kotcshare-KOTCFormsv20110114125159d5e7bcea2842461da7e88937a278ad37:-myXSD-2011-01-11T04-55-27, Type: NullReferenceException, Exception Message: Object reference not set to an instance of an object.)    1e7e2d60-ec1c-47f2-97e6-8c3dd9121fb9

    01/14/2011 17:08:27.54     w3wp.exe (0x1498)                           0x1568    InfoPath Forms Services           Runtime                           8gec    Exception    Unhandled exception when rendering form System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterListDataProvider.UrlIsSameFileOrSamePath(String absoluteFileUrl, String baseFileOrFolderUrl)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterListDataProvider.IsSolutionMoved(Document document)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterListDataProvider.GetList(WebHolder webHolder, Boolean impersonatedIdentity, Document document, String siteUrl, Boolean isUrlSetThroughOM, Guid listId)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterListDataProvider.<>c__DisplayClasse.<Execute>b__3(Boolean impersonatedIdentity)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterUtil.Impersonate(DataAdapterInformation adapterInfo, String userName, String userDomain, String password, CodeToRunUnderImpersonation codeToRun)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterUtil.Impersonate(DataAdapterInformation adapterInfo, String userName, String password, CodeToRunUnderImpersonation codeToRun)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterListDataProvider.Execute(String siteUrl, Guid listId, SPContentTypeId contentTypeId, Document document, DataAdapterListDataProvider documentAdapter, Boolean useDcl, XPathNavigator queryFields, XPathNavigator resultFields, Boolean isListItemEditing, Boolean discoveryOnly, Int64& auxDomSize)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterListDataProvider.ExecuteInternal(XPathNavigator queryFields, XPathNavigator resultFields, Boolean useListItemMode)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.QueryDataOnLoad(DataAdapter documentDataAdapter, DataObject documentDataObject)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.ExecuteInitOnLoadForDataObjects()     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.LoadSolutionAndDocument(HttpContext context, Solution solution, DocumentMetaInformation documentMetaInformation, OnInitializeCallback onInitializeCallback, OpenParameters openParameters)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.OpenDocumentWithSolution(HttpContext context, SPSite contextSite, Solution solution, DocumentMetaInformation documentMetaInformation, OnInitializeCallback onInitializeCallback, OpenParameters openParameters)     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.DataBindInternal(SolutionMetaInformation solutionMetaInformation, DocumentMetaInformation documentMetaInformation, String absoluteSolutionLocation, Boolean hasCloseHandler, Document& document)     at Microsoft.Office.InfoPath.Server.Controls.FormServerPage.InitializeRenderInLine(SolutionMetaInformation solutionMetaInformation, DocumentMetaInformation documentMetaInformation, String absoluteSolutionLocation)     at Microsoft.Office.InfoPath.Server.Controls.FormServerPage.NewEditingSession(SPSite contextSite, FormServerPageQueryParameters queryParameters, Boolean isFormServerProperlyConfigured, Boolean& renderSessionsStateError)     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.StartNewEditingSession()     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.EnsureDocument(EventLogStart eventLogStart)     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.<>c__DisplayClass8.<LoadDocumentAndPlayEventLog>b__5()     at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)
     

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 01-14-2011 07:07 AM In reply to

    Re: web form openning error ..pls help

    I don't have any ideas on this error, but I will share this with others on the team to get their input.

    Just to be sure: DBXL was (re)installed to the same site as Sharepoint (port 80) and uses the same account as SharePoint (KOTCNT\spadmin)?

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 01-14-2011 10:21 AM In reply to

    Re: web form openning error ..pls help

    We also came across this particular exception trace in a customer's environment this week.  Can you send the xsn to our support at qdabra.com alias?

    It will also help to know how your SharePoint site is configured.  Is the site on a machinename:portno (where portno is not 80) and then extended using a intranet or extranet zone url?

    Regards,

    Jim

     

  • 01-14-2011 11:55 AM In reply to

    Re: web form openning error ..pls help

    yes..its the same share point site (port 80) using the same account (kotcnt\spadmin). nothing has been changed except for the reinstall of DBXL.

    thanx.


  • 01-15-2011 01:12 AM In reply to

    Re: web form openning error ..pls help

    to jim cantwell

    please note that when the web form is published thru DAT, i cannot open the form. i get the error which i have sent to qdabra SUPPORT email.

    if the form is published from infopath to sharepoint forms library, the form opens in browser. on submit i get an error which i suppose is expected.

    thanx.

     

  • 01-15-2011 04:53 AM In reply to

    Re: web form openning error ..pls help

    Thanks for the screenshot. I have confirmed that you installed the most recent version of DBXL

    Are you still seeing the same errors as before or are they different?  We will investigate the errors you sent in email.

    The email contains 2 error images and a RAR file including a SharePoint error log.

    Can you also include a copy of your event viewer log for Qdabra Software. That might have an error in it that explains what is happening.

    I've asked Mel Balsamo and Jim Cantwell to try to contact you over the weekend here. I am not sure what their availability will be so please be patient.

    More soon,

    Patrick Halstead
    Project Manager at Qdabra
  • 01-15-2011 05:55 AM In reply to

    Re: web form openning error ..pls help

     please keep in mind i am in Kuwait. GMT+3

    thanx

  • 01-15-2011 06:44 AM In reply to

    Re: web form openning error ..pls help

    Hi again,

    What's a good time to call you? I can't promise we can call over the weekend, but we'll try. If not, first thing Monday.

    Can you look at the event log in the Event Viewer (Start->Run eventvwr) and see if there are any errors underneath the Qdabra log?

    Thanks!

    Patrick Halstead
    Project Manager at Qdabra
  • 01-16-2011 03:40 AM In reply to

    Re: web form openning error ..pls help

    hi

    my phone no: xxxxxxxxxxxxx   available from GMT 4:00am to 12:00PM

     

    i think i found out when the error occurs.

    i created a new plain web form and mapped to database and everything works fine.

    then i changed one text box to a drop down list box and everything works fine.

    i went and attached a share point list to this drop list box. bang .. the error appears.

    i changed (adv.settings) from "open in browser" to "default" and it works fine in the infopath client. 

    now what i like to know is whether this is an error OR is this the way it supposed to work.

    thanx

     

  • 01-17-2011 01:14 AM In reply to

    Re: web form openning error ..pls help

    hi guys

    dear mel gave me a buzz and everything's sorted out for now. she is not convinced with the solution though. 

    she was patient with me and spent a good deal of time. much appreciated. 

    its time for me stop playing and get to get back to work. :)

    thanx everyone

     

     

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