HI,

Well, I'm getting this error message when i try to open my project "Visual Studio cannot create or open the application because the web server on this computer is not running. Start the web server before preceeding".

I searched in google for any kind of help.. i found this website http://www.aspnetresources.com/blog/icq_damages_iis.aspx

I had google talk installed.. i uninstalled it. And ran those two commands.

But it didn't help me. Plz help me out. I'm stuck. I just hope i don't lose my project. Plzzzzzzzzz help me out.

Dani AI

Generated

Short, focused checklist that follows the thread (references to and ):

The sequence of failures described — IIS/W3SVC stopped with Error 1068, then after an XP reinstall Visual Studio reports “server does not support debugging…”, and finally an HTTP 500 when browsing the site — fits common IIS/ASP.NET configuration problems that happen when IIS and the .NET runtime get out of sync. The VS message usually means ASP.NET mappings or the server-side debug hooks aren’t registered. (learn.microsoft.com)

Practical diagnostic steps (fast, low-risk):

  • Confirm IIS Admin and World Wide Web Publishing are running and scan Application/System logs for ASP.NET/IIS entries (already started in the thread).

  • Make the server show the real error instead of a generic 500: temporarily enable detailed ASP.NET errors and compilation debug. Example (put inside the site’s web.config while diagnosing):

    <system.web>
      <customErrors mode="Off" />
      <compilation debug="true" />
    </system.web>

    Also turn off “friendly HTTP error messages” in the browser; then retry and check Event Viewer + the IIS log for the substatus. ()

Fixes to try before a full IDE repair:

  • Re-register the correct ASP.NET runtime with IIS (use the ASP.NET IIS registration tool for the same framework version installed). Confirm .aspx/.asmx mappings point to that framework’s ISAPI handler.
  • Verify the virtual directory’s execute permissions (Scripts) and NTFS ACLs for the ASP.NET worker account (on XP/IIS5 that’s the local ASPNET account; newer models use NETWORK SERVICE). If debugging still fails, confirm the worker account has required user-rights (e.g. impersonation) and that the project has “Enable ASP.NET debugging” set. (learn.microsoft.com)

When to consider a repair: if mappings, permissions, and detailed error output don’t reveal a fix, a Visual Studio repair or re-registering the .NET Framework (and an IIS reset) is a sensible next step — this echoes ’s recommendation and is a standard recovery path when system components were reinstalled. After finishing, remember to revert debug settings in web.config for production. (learn.microsoft.com)

Recommended Answers

All 23 Replies

you wont have lost your project it just cant open it as there doesnt seem to be a webserver on your pc. I have googletalk and it isnt interfering.

1. What version of visual studio are you using? 2005 or 2003?
2. What version of windows are you running?
3. Do you have IIS installed on your pc? (It isnt installed by default)
4. Has the project ever opened on this pc before and if so how long ago

Hi,

Version:Visual studio 2003
Windows XP
Yes, IIS is installed
I've run this project many times. Infact in the morning i had run my project.And again when i try to run it in the evening i get this error.

So have you checked to see if WWW publishing service is running on your pc? Is it somehow set to manual and stopped? Can you restart it? Then check the error logs and tell us what it says.

Something has stopped IIS so need to find out what it is. Then we can fix it

Yes, I tried... error..

Could not start the WWW Publishing service on Local Computer.
Error 1068: The dependancy service or group failed to start.

And it is not set to manual... it is automatic

Can you check your application event log and your system event log to see if there are messages in there about the problem.

Hopefully they will shed some light

I'm sorry, but how do i do that ?

yes i got it.. but what should i see in that?

Go to your administrative tools and then event viewer

Yes, Application:

Errors at MSSQLSERVER,
Errors at MSiInstaller
Errors at Win Mgmt
Error at IOLO_SRV

System:

Errors at Service COntrol Manager
Error at DCOM

oh wow you have a lot there. something went majorly wrong somewhere.

You say that it worked this morning but not recently?

Did you install then uninstall googletalk this morning then it stopped working?

My advice it to use system restore to go back to either this morning when it worked or to a prior known good time.

You wont lose your project

I use MS SQLSERVER as the backend for my project... those errors .... are they the cause for the problem?

I had installed it almost a month back. And then yesterday had this problem.. and then i uninstalled it.

Control Panel -> system ->system restore ->ok

nothing happened !

I'm restoring.. i'll get back in 2 mins..

No luck, i had a restore point at yesterday evening 5:10. I restored. But didn't work.

Hi,

I can open my project now. I'm happy. I reinstalled (upgraded) windows xp. Now its opening... but i'm not able to run the project. Error:

"Unable to start debugging on the webserver. The server does not support debugging of ASP.NET or ATL Server applications. "

And thanks for all the help so far.

Ok :)
You may have to register asp.net with IIS again as you have done a resinstall. you want reg_iis.exe in the .netframework folder.(sorry i cant remember where exactly it is located) this should get it working

Sorry again, but ....How do i register asp.net with IIS???

Hi,

Well, i ran that command.. and that error is solved.Thanks.. but.. another error...

The Web Server reported the following error when attempting to create or open the Web Project located at the following URL :"http://localhost/WebApplication2". 'HTTP/1.1 500 Internal Server Error'

Will these series of errors ever end???? Plz help me out. I'm tiered.

Ok. Because you reinstalled XP it is most likely the ASP.NET account or similar got messed up too.
The easiest (but time consuming) was to fix it will be to do a repair on Visual Studio (start the setup and choose the repair option - i think it is reinstall the same components or something).
That should reregister the ASP.NET account (Which i think is the problem) run IIS, register the isapi dll and a few other things to get everything back in sync.

You could try them all one at a time, but (i dont mean to sound negative) you are not familiar with the inner workings of windows and networks, accounts, IIS, com dlls etc and would be too risky to talk you through it. A reinstall will fix it.

hai

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.