Ask a questionAsk a question
 

QuestionFailed to recieve the data from the datasource(webservice)

  • Tuesday, November 18, 2008 8:58 AMshabana luqmaan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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

All Replies

  • Tuesday, November 18, 2008 2:47 PMSS AMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
     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
  • Thursday, November 20, 2008 10:02 AMluqmaan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
      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