VS2003源代碼的編寫與撰寫
作者:佚名
今天將本地的一個asp.net項目通過VS2003添加到VS2003源代碼管理后,F(xiàn)ileExportHelper為自定義的一個類,已編譯成dll,且此項目中引用后編譯成功。
昨天到今天搞了一整天的VS2003源代碼,我都快崩潰了!編寫的代碼已經使我不能平息了,幾乎所有的Net安裝,調試問題都被我碰到了,還好,我一個個把他記錄下來了本地預覽aspx頁面出現(xiàn)以下錯誤說明: 在處理向該請求提供服務所需的配置文件時出錯。請檢查下面的特定錯誤詳細信息并適當?shù)匦薷呐渲梦募?
分析器錯誤信息: 訪問被拒絕:“FileExportHelper”。
源錯誤:
- 行 196:<add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>- 行 197:<add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>- 行 198:<add assembly="*"/>
- 行 199:< SPAN>assemblies>
- 行 200:compilation>
VS2003源代碼源文件: d:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config 行: 198
程序集加載跟蹤: 下列信息有助于確定程序集“FileExportHelper”無法加載的原因。
- Pre-bind state information ===
- LOG: DisplayName = FileExportHelper
- (Partial)
- LOG: Appbase = file:///D:/Inetpub/wwwroot/wz
- LOG: Initial PrivatePath = bin
- Calling assembly : (Unknown).
- LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).- LOG: Post-policy reference: FileExportHelper
- LOG: Attempting download of new URL
file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
ASP.NET Files/wz/9499bb6c/ba77df80/FileExportHelper.DLL.- LOG: Attempting download of new URL
file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/wz/9499bb6c/ba77df80/FileExportHelper/FileExportHelper.DLL.- LOG: Attempting download of new URL file:///D:/Inetpub/wwwroot/wz/bin/FileExportHelper.DLL.
版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300 #t#
VS2003源代碼***反應就是索引服務的問題,停止Indexing Service(類似問題過去有過),無效。刪除ASP.NET Files的文件不成功(不能刪除),重啟IIS,機器情況依舊。
同樣的項目由其他同事簽出預覽皆正常,我郁悶了。
無奈之下,將本地項目刪除,并由vss庫重新簽出項目***版本,正常。怪!
責任編輯:chenqingxiang
來源:
遠景