I have created a very simple vb.net web service. It works fine on my local
machine and every other machine I have installed it on. For the life of me I
cannot get it to work on my production machine.
Development Machine:
- MS .NET Framework 1.1 Ver. 1.1.4322
- Visual Studio 2003 (where the apps are created)
- IIS 5.1
App was installed via a Visual Studio Web Setup Project with no errors.
Virtual Directory seems ok, project resources are where they should be in
the directory tree...
MyService.asmx file in the root of my application folder.
Web.config file in the root of my application folder.
MyService.dll file in the /bin folder which resides inside my application
folder.
Production Machine:
- Windows Server 2003, Enterprise Ed.
- IIS 6.0
- .NET framework 1.1.4322
I have verified that the following web service extensions have been
activated since it was a known issue that Windows Server 2003 disables these
services as prohibited.
- Active Server Pages
- ASP.NET v 1.1.4322
Issue:
When I try to access my web service from IE 6.0 locally on the Window Server
2003 I get the "HTTP 404 - File not found" error. I get the same result
using both "localhost" and my actual computer name in the url (url example:
http://locahost/MyService/MyService.asmx). If I type in the actual path
(C:\Inetpub\wwwroot\MyService\) in IE I can see all the files. Like I said,
this is only an issue on the Windows Server 2003, this works fine on all
other workstations that I have tried.