R
rk325
Yes, I've seen many posts about this type of error, and none of the
solutions people applied worked for me. So please read this one
carefully and help me if you can.
I have a web service application installed in a Windows 2000 SP4 Domain
control server. It is running IIS 5.0. I can access the WS from its own
web page, and, when I access it from the server where it is installed,
I can run its methods.
However, I cannot access this WS from an ASP.NET web application. The
error I get is:
The request failed with HTTP status 405: Method not allowed.
: : :
Exception Details: System.Net.WebException: The request failed with
HTTP status 405: Method not allowed.
yes, the stack trace tells me that it crashes on the first WS method
the web site tries to hit.
The WS has been setup to accept 1) Anonymous Access, 2) Integrated
Windows Authentication.
In the code to access this WS I am passing the credentials to access
the WS......and if the credentials are incorrect (e.g. typo) I get the
"401: Access Denied" error.
The domain control server, had already IIS installed when I installed
the .NET 1.1 Framework. But when I looked at the users I cannot find
the ASPNET user anywhere. I also tried running "aspnet_regiis -i" then
"iisreset", and no luck, still the same 405 error.
Without the ASPNET user, I tested this server by running the simple
Hello World asp.net application; it ran find. I even tested it with a
more complex application that queries the local SQL server db and it
worked fine. So I guess I do not need the ASPNET user, or do I?
Please I've been pulling my hair for 2 days already on this issue, and
do not know how to solve it.
solutions people applied worked for me. So please read this one
carefully and help me if you can.
I have a web service application installed in a Windows 2000 SP4 Domain
control server. It is running IIS 5.0. I can access the WS from its own
web page, and, when I access it from the server where it is installed,
I can run its methods.
However, I cannot access this WS from an ASP.NET web application. The
error I get is:
The request failed with HTTP status 405: Method not allowed.
: : :
Exception Details: System.Net.WebException: The request failed with
HTTP status 405: Method not allowed.
yes, the stack trace tells me that it crashes on the first WS method
the web site tries to hit.
The WS has been setup to accept 1) Anonymous Access, 2) Integrated
Windows Authentication.
In the code to access this WS I am passing the credentials to access
the WS......and if the credentials are incorrect (e.g. typo) I get the
"401: Access Denied" error.
The domain control server, had already IIS installed when I installed
the .NET 1.1 Framework. But when I looked at the users I cannot find
the ASPNET user anywhere. I also tried running "aspnet_regiis -i" then
"iisreset", and no luck, still the same 405 error.
Without the ASPNET user, I tested this server by running the simple
Hello World asp.net application; it ran find. I even tested it with a
more complex application that queries the local SQL server db and it
worked fine. So I guess I do not need the ASPNET user, or do I?
Please I've been pulling my hair for 2 days already on this issue, and
do not know how to solve it.