Deploying a web service to windows Server 2003 issues.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Kalem (Kalem_at_discussions.microsoft.com)
Date: 01/12/05


Date: Wed, 12 Jan 2005 04:17:04 -0800

Hi all.
I've created a web service that runs fine on my development PC running W2K.
The service is consumed by an ASPX page. (written using vb.net). I can deploy
the webservice without any issues to another W2K production server and
discover the service from the rebuilt ASPX application (now referencing the
production version). The issue I'm having is that when I deploy to a Windows
Server 2003 environment it doesnt seem to want to work for me.
This is what I've tried so far.
1. Packaged and deployed the service using the msi installer.
2. Edited the directory Security so that the service runs under a trusted
account with premissions to examine AD information (which is what the service
returns).
3. Run it under the defaultAppPool which has the identity of Network Services.
4. Created a new Application Pool which runs under the same identity as in
step 2.
5. Changed the virtual directory of the service to run under the new
application pool.
6. Changed the machine.config file to uncomment the GET and POST elements of
the webservice section.
7. Added the web service dll to the web serverice extensions allowed list.
Also added the .asmx file to this one as I'm not sure what difference it will
make.

So far nothing seems to have worked.
When I try to access the asmx file from a browser to examine the service
descriptor I get either of the following depending on what account im running
the service under. Using the Network Services account the application pool
stays enabled but I get the following response on the webpage "The specified
procedure could not be found. "
Using the trusted account I get the "Service Unavailabe " message and the
application pool becomes disabled.

I know this is a rather long msg but I figure the more detail I provide the
better. Any help you could provide would be most welcome.

Kalem.



Relevant Pages

  • Deploying Web Service on Windows Server 2003
    ... I've created a web service that runs fine on my development PC running W2K. ... The service is consumed by an ASPX page. ... account with premissions to examine AD information (which is what the service ... application pool. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Windows Auth to SQL Server from ATL Web Service not working...
    ...  When I hit the web service with a simple test application, ... account I'm logged on as. ... could even be the one the application pool in iis is running under) to ... this impersonation token is not passed on to the SQL Server. ...
    (microsoft.public.vc.atl)
  • Web Services security question
    ... call methods of this web service. ... application pool which runs under NETWORK SERVICE account. ... access webmethods from the web application it gives HTTP aunthrozied 401 ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Web Service Problem
    ... make sure the network service account and the account specified in the ... application pool associated with the web service have enough permissions in ... re-publish the orchestration as a web service and check all options ...
    (microsoft.public.biztalk.general)
  • Re: Cant find item in server side cache
    ... Then I used the url for web service when it was originally created which was ... So the web service and aspx ... page really were running in different instances of the web app. ... the web service returns the GUID back to the winform via the WS ...
    (microsoft.public.dotnet.framework.aspnet)