2014-07-10 137 views
1

我卡住了。 我將我在Visual Studio 2012上開發的umbraco 7.1網站上傳到我的服務器。 我創建了一個與.NET Framework 4.0.30319一起工作的應用程序池。在IIS上發佈umbraco網站

我開始在IIS網站,並試圖檢查它在瀏覽器中,我得到這個錯誤:

Could not load file or assembly 'UrlRewritingNet.UrlRewriter' or one of its dependencies. The system cannot find the file specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'UrlRewritingNet.UrlRewriter' or one of its dependencies. The system cannot find the file specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'UrlRewritingNet.UrlRewriter' could not be loaded.

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

請幫我明白我應該怎麼做。 謝謝, 伊多。

回答

2

好像你的Visual Studio沒有從BIN目錄上傳所有的DLL。 我會嘗試使用FTP客戶端檢查是否所有DLL(在bin文件夾中)都已上傳。

+1

謝謝,我在昨晚夢見了它:)當我到辦公室時,我只包括了所有的BIN文件夾,並同時閱讀你的答案:)))這是一個偉大的思想!謝謝老大! – Idoshhh