views:

1030

answers:

2

Hi,

I am getting an error when I want to create a web site on IIS server. I am using Windows 7 and Visual Studio 2010.

Do I have to register or configure asp.net 4.0 for the IIS ?

+1  A: 

Tried running vs2010 as administrator?

Also try 1. Open IIS. Click “Default Web Sites”.

  1. Check if “Anonymous Authentication” is enabled.

  2. Enable “Windows Authentication” as well.

MattC
they are both enabled.The error I am getting is this :"Unable to start debugging on the server. See help for common configuration errors. Running the web page outside of the debugger may provide further information.Make sure the server is operating correctly. Verify these are no syntax errors in web.config by doing a Debug.Start.Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation."
Kubi
Could be something in the web.config that's a bit messed up? Bad xml will cause that error if I'm not mistaken. Di yo utry running the webapp outside of VS2010?
MattC
Hey,I've installed vs2008 and tried to run the same application on it and it didn't debug either but I've created a new web app on iis in vs2008 and there were no problem with the server.Still have no idea about it. checked every properties of IIS Manager
Kubi
So it wont wont in VS2008 either. Post up the web.config and let's have a look see.
MattC
i'm getting the same error too. i can successfully nav to the web service via svc url so i don't think it's a config thing. can't figure it out.
towps
A: 

Thanks, that solved my problem. I spent almost a day searching for the solutions and trying different things but this was the solutuon.

Hoodwink