Newbie issue: Error creating Web Service in VS 2003

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: JPH (JPH_member_at_newsguy.com)
Date: 07/20/04


Date: 20 Jul 2004 06:56:29 -0700

Hi all! Here's my problem:

When trying to create a new C# Web Service in VS 2003, I get the following error
message:
"The Web server reported the following error when attempting to create or open
the Web project located at the following URL: 'http://localhost/WebService1'.
'HTTP/1.1 500 Internal Server Error'.

The Event Viewer contains 2 copies of this entry:
"Failed to execute request because the App-Domain could not be created. Error:
0x80131534" (Source: ASP.NET 1.1.4322.0, Event ID: 1088).

IIS Log file contains the following:
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2004-07-20 13:44:50
#Fields: time c-ip cs-method cs-uri-stem sc-status
13:44:50 127.0.0.1 GET /WebService1/get_aspx_ver.aspx 500
13:44:50 127.0.0.1 GET /get_aspx_ver.aspx 500

I have:
Uninstalled VS 2003, the .NET v1.1 Framework, and IIS.
Re-installed IIS, the .NET v1.1 Framework, and VS 2003.
Given the ASPNET user "Admin" rights and I/O rights to the C:\Inetpub folder.
Modified the <processModel> section of the Machine.Config file so that the the
SYSTEM account is being used.
Run aspnet_regiis.exe.
Probably done some other things I can no longer remember.

The machine is my normal local development box - running XP Pro.
I can hit http://localhost and all is well.
This is the first time I've tried to create a Web Service on this machine, so I
can't tell you if something has changed or if it ever worked.

I'm assuming it's a rights issue of some sort (although that get_aspx_ver.aspx
returning a '500' has me a bit confused - but like I mentioned, I'm a newbie).

Any suggestions would be much appreciated.

Thanks!

-- Jim



Relevant Pages

  • Re: ASP.NET web services using built-in web server not IIS?
    ... can the built in ASP.NET web service be used or is IIS needed? ... I subscribed and downloaded the source code from DOFactory for it's Web site project that was developed using the VS development server at some point using WCF Web services. ... I couldn't get the project to run period, until I went to the Web service project and configured it to use IIS and a virtual directory. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Help connecting to Access DB from web service
    ... The Access database is located on a different server than ... While developing / debugging the web service is hosted on my development ... When deployed it is being host with IIS. ... What are the differences between the 'ASP.NET Development Server' and IIS ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Web Service works on VS Development server, but fails on IIS
    ... allowing access to part of the .net framework, ... IIS has no control over the Framework or any type of object being ... service so you can debug step into the test UI that will lead into debug ... I have written a simple web service class, and when I run it from within ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Help connecting to Access DB from web service
    ... so there is no compelling reason not to use it. ... The Access database is located on a different server than ... While developing / debugging the web service is hosted on my development ... When deployed it is being host with IIS. ...
    (microsoft.public.dotnet.framework.adonet)
  • SOAP HTTP
    ... Host an ASP.NET Web Service Outside of IIS ... The Web Services Enhancements for Microsoft .NET Framework enables ASP.NET Web services to be hosted in console applications, Windows services, COM+ components or Windows Forms applications and then be called using the TCP protocol or any custom transport protocol written for WSE. ... When a Web service is hosted outside of IIS, some of the programming elements that are specific to HTTP are not available. ...
    (microsoft.public.dotnet.distributed_apps)