Resources for IT Professionals > 論壇首頁 > SharePoint - InfoPath Forms Services > Failed to recieve the data from the datasource(webservice)
發問發問
 

問題Failed to recieve the data from the datasource(webservice)

  • 2008年11月18日 上午 08:58shabana luqmaan 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hi,
            I am facing problem with a webservice integrated with the infopath form ..
    am able to get the xml output of the web method (opening form) on the server where the webservice is deployed ..But when am opening the form somewhere else thru Internet(even connected to that intranet(network))..
    am getting error ..
                

    "An entry has been added to the Windows event log of the server.
    Log ID:5566
    An error occurred accessing a data source"

    And it is writing to event log the following error..

                          "Unable to connect publishing custom string handler for output caching. IIS Instance Id is 'xxxxxxxxx', url is 'http://internalsharepointserver/somesubfolder/services.asmx"...

    Please, help me to solve this issue...
               I am blurred....

    Thanks in advance..

    shabana

所有回覆

  • 2008年11月18日 下午 02:47SS AMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
     Is anonymous access enabled on the site this web service is deployed? Disable anon. access and try again. Also check the error logs that will give you a detailed message and possibly the source of the error. Error 5566 occurs due to several reasons. For example, if you dont have cofrrect permissions on the site where the service is deployed, anon. access is enabled on the site and you are trying to authenticate using your user credentials, etc etc. Also check your managed paths. Change your managed path from "Explicit inclusion"  to "wildcard inclusion" and try. Want to read more about managed paths? See following link:

    http://www.raregrooverider.com/post/2008/06/06/Managed-Paths-Explicit-Inclusion-versus-Wildcard-Inclusion.aspx

    SSA - http://sharepointblogs.com/ssa
  • 2008年11月20日 上午 10:02luqmaan 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
      Thanks again for the response..
    I am getting the following entry in log  
    "Unable to connect publishing custom string handler for output caching.  IIS Instance Id is '439109092', Url is 'http://localhost/GetUserNames/Service.asmx'."

    And also pls tell me for which url i have to change the managed path..i mean for the webservice directory?.. am confused..i dont know abt managed paths ..:)

    Thanks in advance