Pour les professionnels de l’informatique > Forums - Accueil > SharePoint - InfoPath Forms Services > Failed to recieve the data from the datasource(webservice)
Poser une questionPoser une question
 

QuestionFailed to recieve the data from the datasource(webservice)

  • mardi 18 novembre 2008 08:58shabana luqmaan Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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

Toutes les réponses

  • mardi 18 novembre 2008 14:47SS AMVPMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
     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
  • jeudi 20 novembre 2008 10:02luqmaan Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
      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