Solved

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

Posted on 2004-09-30
14
226 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
  • 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
 
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

707 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now