locked
ASMX reference in Custom web part RRS feed

  • Question

  • I have created a web part that consumes socialdataservice.asmx. For this I created a web reference to socialdataservice.asmx and creatd a proxy "socialservice".

    In the code;

                                socialservice.SocialDataService proxy = new socialservice.SocialDataService();
                                proxy.PreAuthenticate = true;
                                proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
                                socialservice.SocialTermDetail[] tagDetails = proxy.GetTagTermsOnUrl(webURL, 50);
                                string[] users = new string[100];

    This code is working fine in my DEV but when I moved this to QA - Its causing the following exception

    "Server was unable to process request"

    how to resolve this?

    Thanks

    Monday, April 30, 2012 10:30 PM

Answers