views:

41

answers:

1

All of a sudden I am unable to run any web application in Visual Studio 2010. I get an error message (shown in the image below. I get the same message when I try to run or issue the View in browser or Browse With command.

The project compiles properly and then I get this error message.

I am able to run WinForms applications normally.

I have uninstalled all the extensions from visual studio 2010 still I am getting this error.

An invalid argument was supplied

Please advice how can I find out what is causing this problem.

Update 1:
I get the same error in Visual Studio 2008 also. I tried logging using the devenv /Log switch, but it doesn't show any errors or warnings.

A: 

I found the problem, but did not find a way to fix it.

The problem was Visual Studio was unable to launch the Default Web Server. My system is under a domain. The firewall settings are maintained by the group policy. Somehow it got reset to default. After which I was not able to download files using Internet Download Manager or launch the Visual Studio webserver.

I did a system restore and everything started working.

Please close this thread.

Zuhaib
Simply accept your own answer to close this question.
Patrick
When I try to accept my own answer. It says "You can accept your own answer in <time> hours".But the answer never gets accepted :(
Zuhaib