troubleshooting Question

The request failed with HTTP status 503: Service Unavailable

Avatar of einarbrown
einarbrownFlag for Sweden asked on
Web Languages and StandardsC#File Sharing Software
10 Comments1 Solution3795 ViewsLast Modified:
Im trying to connect with a webservice.

 added it as a webreference, and when I firced used it, I got: "The underlying connection was closed: Unable to connect to the remote server." I then added this to web.config:
 
    <system.net>
    <defaultProxy>
      <proxy usesystemdefault="false" proxyaddress="http://proxyserver.com:1111" bypassonlocal="true" />
    </defaultProxy>
  </system.net>

After that the error changed to: The request failed with HTTP status 503: Service Unavailable

What have I done wrong?

Im using asp.net 1.1 with IIS 6 on windows server 2003.
Line 36:         [return: System.Xml.Serialization.XmlElementAttribute("SearchResponse")]
Line 37:         public SearchResponse doSearch([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] doSearchRequest request) {
ERRORLINE: Line 38:             object[] results = this.Invoke("doSearch", new object[] {
Line 39:                         request});
Line 40:             return ((SearchResponse)(results[0]));
ASKER CERTIFIED SOLUTION
Praveen Venu
Technical Project Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros