webservice consumer error 405: Method Not Allowed

From: Adam J. Schaff (aschaff_at_cascocdev.com)
Date: 06/17/04


Date: Thu, 17 Jun 2004 17:37:40 -0400

I have created a very simple web service and consumer test application. It
works like a charm on my development pc, but when I try to deploy it to an
intranet setting with an xp client and a windows 2003 server with IIS
running, the consumer application gets a 405 error when it tries to access a
web method.

I'm not sure whether this is security, deployment, or some miscellaneous
configuration that is the problem. For deployment, I created a virtual
folder in IIS and took all the defaults. I then copied the asmx file to the
virtual folder and added a bin folder with my web service project's compiled
dll. Is there more that I need to do? Something I read implied that that was
all there is to it, but maybe I'm missing something.

Also, I opened IE on the client (xp) machine and navigated to the asmx on
the server, but that gives me a "page cannot be found" message.

Any suggestions would be welcome, even if they're just general links to info
on web service deployment.

-AJ



Relevant Pages

  • RE: Asynchronous Web Service Method Failure
    ... >When a session begins, I create a folder for that session in a virtual ... To open a stream, I use ... >the URL of the file is returned by the web service method. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Asynchronous Web Service Method Failure
    ... When a session begins, I create a folder for that session in a virtual ... When the user requests a report, sometimes a stream is opened to load some ... the URL of the file is returned by the web service method. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: WS Works Locally but not on Web Server
    ... where page.aspx is in the subfolder. ... The web Service is in essence its own stand-alone ... > would you want to have it in a sub folder below a particular project. ... Both Interface and WebService are in the same folder, well, the WS ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Big-Picture Question (Web Services, RegNow)
    ... When you use the VS2005 website model, you can publish your web service ... with total control on the DLL. ... The compilation model is exactly the same as ... the DLLs must be placed in the "bin" folder under the root of ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Deployment Project
    ... Consider using the data access block ... for setting the data access path in your config files. ... >Subject: Deployment Project ... >I need to make deployemnt project for my Web service in Visual Studio ...
    (microsoft.public.dotnet.framework.aspnet.webservices)