1

Possible Duplicate:
VS2010 error: Unable to start debugging on the web server

I wrote an ASP.NET MVC3 project with Visual Studio 2010. I want to deploy it on IIS7 web server in my local network. I instlled IIS7 successfully. In Visual Studio, project menu, Properties... , choose Use Local IIS Web server but I can't run project and this window appears:

enter image description here

Can anybody tell me whats wrong? Thanks

Community
  • 1
  • 1
starrr
  • 1,013
  • 1
  • 17
  • 48

1 Answers1

2

Simply start Visual Studio as Administrator!

metadings
  • 3,798
  • 2
  • 28
  • 37
  • I started it as administrator, but doesn't work – starrr Aug 11 '12 at 11:52
  • You may be required to change web.config manually. Set and compile the project in Debug mode. – metadings Aug 11 '12 at 13:31
  • compilation debug was true in default. When I run project in Debug mode I see described window but when I run it without debugging browser shows root directory of project. – starrr Aug 11 '12 at 14:05
  • Can't help you further, without more detailed information. Try Google! There are really many websites about the problem and also very similar questions with comprehensive answers on stackoverflow: [1](http://stackoverflow.com/questions/2878136/vs2010-error-unable-to-start-debugging-on-the-web-server). – metadings Aug 11 '12 at 15:35