Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Service 401/500 lament

Status
Not open for further replies.

benvegiard

Programmer
May 15, 2003
63
US
(OK, picture Charlie Brown trying to kick the football, and Luzy keeps pulling it away…) Aaaaaaaaaaargh! I just can’t stand it! I’ve been fighting this for 3 days w/overtime!

I need to update a project that uses a web-service for the middle tier. I am TRYING (in vein) to set up a copy of this web service from our staging server to my local machine for development. Here are the symptoms:

STAGING SERVER:
Works like a charm. No problems at all.

LOCAL MACHINE:
I have copied verbatim the virtual directory from the Staging server, called it the same VD name, and even located the physical directory in the same place as it is in Staging. When I call WS from a client program, it will return a 401 on any of the calls, including a parameter less Hello World call that I added that merely returns a string.

If I browse the ASMX file, it lists the available calls just fine. The test “Hello World” works fine, returning the expected string to the browser. All other calls report a 500 (Internal Server Error).

I have turned authentication off in the Web.Config thinking it had something to do with that. No help. I doubt it’s authentication anyway since I can browse the Staging WS directly and make the calls without error.

Last note, if I add the WS project to a solution and try to step into it, the error is thrown before the breakpoint reaches inside the WS call, so no help there.

Thanks,
Char… er… Ben
 
Interesting, but you'll probrably have better luck on the ASP.Net forum. They seem to be more familiar with the setting up of web services.

My guess though would be an IIS or Web.Config settings issue

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top