我不能使用IIS7爲asp網絡運行visual studio 2012 debug。visual studio 2012 debug for asp.net not working using IIS7
我已經嘗試以下
ASP NET在IIS中設置
.NET編譯:更改的默認語言爲C#
IIS設置
ASP:
- 更改腳本語言爲C#(手動)
- 啓用客戶端調試:真
- 啓用服務器端調試:真
腳本 - 語言:C#
而且我使用Asp Net v4.0應用程序池
是否有任何其他設置可以更改以嘗試使其工作?
編輯:
我的用戶是Debbuger用戶
的一部分的錯誤是:
無法啓動debbuging在Web服務器上。 Web服務器配置不正確。查看常見配置錯誤的幫助。
編輯2:
這是日誌
Software: Microsoft Internet Information Services 7.5
Version: 1.0
Date: 2012-12-18 11:29:55
Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2012-12-18 11:29:55 ::1 DEBUG /tgpwebged/debugattach.aspx - 443 - ::1 - 403 7 5 43
EDIT 3:
我已經手動配置web.config中的編譯元素。這是實際配置:
<compilation batch="true" debug="true" defaultLanguage="C#" explicit="false"
maxBatchGeneratedFileSize="10000" maxBatchSize="10000"
numRecompilesBeforeAppRestart="100" strict="false"
tempDirectory="C:\Windows\Temp" urlLinePragmas="false"> </compilation>
此外,僅用於測試目的已更改用戶ASP NET V4應用程序池運行到我的帳戶下。不是系統..我的個人帳戶。沒有成功。
實際問題是什麼? – ChrisBint
只需編輯我的帖子。 –
嘗試重建解決方案。有時候會發生在我身上,重建會修復它。 – hmqcnoesy