unable to start debugging on the web server. An authentication error occurred while communicating wi...

Issue Description:


I created a simple website project following the steps below:
 1. Open Visual Studio Team System 2008.
 2. Choos File->New->Website...->ASP.NET Web Site
 3. Location: HTTP
 4. Click Browse.. button, Click Local IIS tab, and click the Create New Web Application button on the top right and input the name, just like follows:

 5. The default.aspx page was open and I simply input a line: Response.Write("Hello"); and set a breakpoint on this line.
 6. Press the green arrow button (F5) and try to debug, what happened, you guess..., I got the error:


Strategies:


1. I looked at many suggestion on ASP.NET forum, like:
http://forums.asp.net/t/1186170.aspx
http://forums.asp.net/t/1094463.aspx

2. Referred to some Feedbacks or KB articles:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=283957&wa=wsignin1.0

But all those are seem not related to my issue.

Solution:


I finally got the solution when I open the IIS Manager->right click Default Web Site->Properties->ASP.NET tab->Edit Configuration...->Application tab-> check the option "Enalbe debugging".
(I did this in IIS6.0, sorry if you have installed other edition.)

After that option has been checked, my Visual Studio Debugger works happily!

转载于:https://www.cnblogs.com/RoahnLuo/archive/2009/05/13/1456129.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值