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
Solved

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

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

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

809 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