Solved

Can't create ASP.NET app in C#.  IIS keeps stopping.

Posted on 2004-09-30
14
230 Views
Last Modified: 2010-04-15
I am using Visual Studio 2003 to try and create a new C# ASP.NET Web Application.   I get an error message saying "Visual Studio cannot create or open the application because the Web server on this computer is not running.  Start the Web server before proceeding".  My "Default web site", which was running before I tried this, is now flagged as "Stopped".  I am at work and don't have a firewall on my pc.  This was an NT machine that was upgraded to XP Pro.  Any help is appreciated.  Thank you.
0
Comment
Question by:tbriggs928
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
14 Comments
 
LVL 15

Expert Comment

by:praneetha
ID: 12190748
start the webserver and then you should be able to create an web application

go to "services" in administrative tools and start your webserver and try creating a web application
0
 
LVL 15

Expert Comment

by:praneetha
ID: 12190807
http://localhost

type this in IE and check if it works...then it means your webserver is running
0
 

Author Comment

by:tbriggs928
ID: 12190948
I goto Administrative Tools.. Services.  The "IIS Admin" item is already flagged as Started.  I right click and choose "Restart".  But I still get the error message in Visual Studio when I try to create an ASP.NET application.

I have noticed that if I goto Administrative Tools.. Internet Information Services, my "Default web site" if flagged as Started.  Then, I either try to create an ASP.NET application which fails, or type http://localhost which displays "The page cannot be displayed".  Then, I check and the "Default web site" is now flagged as Stopped.
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 15

Expert Comment

by:praneetha
ID: 12191010
is the world wide publishing services...started in the services list...

and do u have c:\inetpub\wwwroot folder in your computer...

or why don't u just reinstall iis on your comp see if it makes any difference
0
 

Author Comment

by:tbriggs928
ID: 12191071
yes, the world wide web publishing services is started, and I have the c:\inetpub\wwwroot folder.  I'll contact my IT dep't to have them reinstall IIS to see if that fixes the issue.
0
 
LVL 15

Expert Comment

by:praneetha
ID: 12191148
when u say new project in vs.net

can u see http://localhost/WebApplication1 this in the location box...

make sure the localhost shows up....

and after u reinstall you may need this

http://support.microsoft.com/default.aspx?scid=kb;en-us;306005&Product=aspnet
0
 
LVL 3

Expert Comment

by:stu_pb
ID: 12191885
You should make sure that ASP.NET is installed on the server.  You can run the tool aspnet_regiis.exe that should be in the folder c:\winnt\microsoft.net\framework\v1.1.4322 (or something close).  Run it from the command line with the -i option to register ASP.NET with IIS.

Good Luck!
0
 

Author Comment

by:tbriggs928
ID: 12249201
I reinstalled IIS and it didn't make a difference.

I did some research and found the following article.  I followed the steps to synchronize some passwords, and I can now browse in IE to localhost.com.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;297989

However, I still can not create a Visual Studio ASP.NET Web Application.  When I try to create a new application, I get an "HTTP/1.1 500 Server Error" message.  Event viewer displays the following message "The server failed to load application '/LM/W3SVC'.  The error was 'The specified metadata was not found."

Any help with this error is appreciated.  Thanks.
0
 
LVL 15

Expert Comment

by:praneetha
ID: 12249239
0
 
LVL 15

Expert Comment

by:praneetha
ID: 12249248
0
 
LVL 15

Accepted Solution

by:
praneetha earned 300 total points
ID: 12249287
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question