• Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged .
    當IIS服務器的虛擬目錄不是應用程序的時候會出現這種錯誤。當啟動頁面的目錄層大于一層時,例如:
    http://localhost/CRNETSamples/cr10_csharp_web_ClientPrinting/WebForm1.aspx
    需要在IIS為第二層目錄創建應用程序。否則會出現上訴錯誤信息。
  • sqlserver數據庫登陸失敗:用戶 'CLEVER06\ASPNET' 登錄失敗

???????? 我用建立sqlDataAdaper的方法獲得連接字符串,第一次選擇連接的時候選擇信任連接
???????? 得到字符串如下。出現如上錯誤
???????? workstation id=CLEVER06;packet size=4096;user id=sa;password=sa;integrated security=SSPI;
???????? data??source=Clever06;persist security info=False;initial catalog=IPDataBase
???????? 第二次不使用信任連接
????????? workstation id=CLEVER06;packet size=4096;user id=sa;password=sa;data source=clever06;persist security
????????? info=False;initial catalog=IPDataBase
???????? 錯誤消失
?????? Visual Studio .NET cannot create the application <application>. The likeliest problem is?
?????? that??required components are not installed on the local Web server
???????原因一,asp.net framework沒有被注冊,使用aspnet_regiis /i 注冊即可。
???????? 原因二,沒有為應用程序建立虛擬目錄。

?????? 文件夾屬性沒有安全設置選項
?????? 公司有域環境,電腦沒有加入域,加入后即可