VS 2003 Web Services

Ged325

Newcomer
Joined
Nov 26, 2003
Messages
4
Location
New York, USA
Have tried the following:

Created a new solution
trying to add to project -> c# Web Service

get the error:
The Web server reported the following error when attempting to creat or open the web project located at the following URL: 'Http://localhost/webservice1'. 'Http/1.1 500 internal server error'.

Have tried the following solutions:
Registered the asp.dll
Ran aspnet_regiis.exe -i
Typed in an application name under IIS, web sites, home directory in the MMC.
Tried assigning an IP and leaving it unassigned
Started Distributed actions coordinator.

Don't know what else it could be, and to make things more interesting, I can make it in C++, just not in c#. Am trying to learn c# and am getting quite frustrated, any and all help greatly appreciated.
 
on another note, am using vs 2003, have the 1.1 framework installed, iis 5.1; I also can't get help installed. Is there somewhere online where I can find the msdn to download and install to get the context help?
 
u need to
1) delete the aspnet account
2) run the aspnet_regiis.exe -i
3) start the iis again

check what will happen
 
i found this article on the net:
In some situations you might get the following error : "web project located at
the following URL: 'http://localhost/webapplication1xx'.

'HTTP/1.1 500 Internal Server Error'." when you are attempting to open a new
Asp.Net web Application or Asp.Net Web Service Application.



It took me some time to find out how to solve this issue , I checked every
security issue on the iis and even reinstalled VS .Net 2003, but it didn't help.



finally, the resolution is very easy.





Resolution:

1) Delete the ASPNET account using Computer Management.

2) Recreate the ASPNET account by running: aspnet_regiis -I, from

C:\<winDir>\microsoft.net\framework\v1.1.4322 directory :

Click Start, and then click Run.

In the Open text box, type cmd, and then press ENTER.

At the command prompt, type the following, and then press ENTER:

"%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i

In this path, version represents the version number of the .NET Framework that
you

installed on your server.

You must replace this placeholder with the actual version number when you type
the

command. If you use Visual Studio 2003 and framework 1.1 it it v1.1.4322

3) Restart IIS.

4) Now the ASPX pages should work fine and you also should be able to create new


ASP.NET web projects.
 
Looks more like a probblem with Component services than ASP.Net - all the errors are refering to COM+. Have you recently applied any service packs, installed new software etc?
 
Back
Top