2010-12-18 83 views
0

當我託管我的Web應用程序(這是PowerBuilder V12.0 .Net Web應用程序由PB V12開發)時,我遇到了一些問題。 0 Classic或從舊的PB版本遷移爲項目文件轉換爲ASP.Net * .aspx文件)在Windows Server 2003上的IIS V6.0和安裝.Net Framework版本4.0以匹配需要.Net Framework的Web應用程序2.0+錯誤消息:無法加載文件或程序集'Microsoft.Expression.Encoder.Api2.dll'

錯誤消息我得到的是如下: - 當前Web的執行過程中發生

Could not load file or assembly 'Microsoft.Expression.Encoder.Api2.dll' or one of its dependencies. The specified module could not be found. 

Description: 

未處理的異常請求。請查看堆棧跟蹤以獲取有關該錯誤的更多信息以及源代碼的位置。

Exception Details: 

System.IO.FileNotFoundException:未能加載文件或程序集「Microsoft.Expression.Encoder.Api2.dll」或它的一個依賴。指定的模塊無法找到。

Source Error: 

執行當前Web請求期間生成未處理的異常。關於異常的來源和位置的信息可以使用下面的異常堆棧跟蹤來標識。

Stack Trace: 

[FileNotFoundException異常:未能加載文件或程序集 'Microsoft.Expression.Encoder.Api2.dll' 或它的一個依賴。指定的模塊找不到。] System.Reflection.RuntimeAssembly._nLoad(的AssemblyName文件名,字符串的代碼庫,證據assemblySecurity,RuntimeAssembly locationHint,StackCrawlMark & stackMark,布爾throwOnFileNotFound,布爾forIntrospection,布爾suppressSecurityChecks)0 的System.Reflection。 RuntimeAssembly.nLoad(的AssemblyName文件名,字符串的代碼庫,證據assemblySecurity,RuntimeAssembly locationHint,StackCrawlMark & stackMark,布爾throwOnFileNotFound,布爾forIntrospection,布爾suppressSecurityChecks)39 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(的AssemblyName assemblyRef,證據assemblySecurity,StackCrawlMark & stackMark,布爾值forIntrospection,布爾suppressSecurityChecks)+132 System.Reflection。 RuntimeAssembly.InternalLoad(字符串assemblyString,證據assemblySecurity,StackCrawlMark & stackMark,布爾forIntrospection)144 System.Reflection.Assembly.Load(字符串assemblyString)28 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(字符串的AssemblyName,布爾starDirective) +46 .....

我需要這一問題,由於一個快速的解決方案提前...

回答

0

把所需要的DLL只和刪除其他不必要的DLL文件的文件時它解決。這是一個干擾和損壞的DLL文件的問題。

+1

可以請你分享你刪除的DLL,使其工作,因爲我也得到同樣的問題 – Microtechie 2013-10-21 07:10:02

+1

這個答案並不真正幫助任何人。你是如何刪除DLL的?你怎麼認爲他們沒有必要? – Dagrooms 2016-07-15 15:21:54

相關問題