문제

IIS 5.1에서 Visual Studio 2010을 사용하고 있지만 웹 사이트를 디버깅 할 수 없습니다. 오류는 다음과 같습니다.

웹 서버에서 디버깅을 시작할 수 없습니다.웹 서버가 올바르게 구성되지 않았습니다.공통 구성 오류에 대한 도움말을 참조하십시오.디버거 외부의 웹 페이지를 실행하면 추가 정보를 제공 할 수 있습니다.

나는 그것에 많은 시간을 보냈고, 훨씬 많은 것을 썼지 만 합당한 것을 발견하지 못한다. 제발 도와주세요.

도움이 되었습니까?

해결책

I suggest getting and using IIS Express instead of IIS 5.1.

It is supported on Windows XP.

다른 팁

Make sure that IIS is configured to use Integrated Windows Authentication. Look for the checkbox on the Authentication Method dialog launched from the Directory Security tab of the site properties.

Make sure that HTTP Keep Alives are enabled. You'll find that checkbox on the Web Site tab of the properties dialog, in the connections section.

This one is strange, but it seemed to do the trick for many out there, add http://localhost to the trusted sites in Internet Explorer. To tell the truth, this seems to be a fix for the symtoms, not actually fixing the problem itself, but if it works it works. BTW, you'll have to uncheck the “Require server verification (https:) for all sites in this zone“ checkbox to add it as a trusted site.

For more information:

http://msdn.microsoft.com/en-us/library/Aa290100

http://msdn.microsoft.com/en-us/library/0y3b8byc%28v=vs.80%29.aspx

http://geekswithblogs.net/TimH/archive/2006/05/29/80002.aspx

I sometimes have the same problem when using VS 2010 and IIS 7. It is most likely a permissions problem.

Are you using a custom application pool for your site? What's the user identity of the application pool?

Either the ASP.NET Worker Process user (IUSR_) or the application pool identity user (if they are not the same) will need to have Read & Execute and probably List Folder Contents permissions. You can set those through the Security tab on the Folder Properties dialog.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top