Solved

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

Posted on 2004-09-30
14
231 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

Accepted Solution

by:
praneetha earned 300 total points
ID: 12249287
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 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