不是什麼技術都可以隨便亂用的

來源:互聯網
上載者:User

今天收到一個江湖告急

Server Error in '/hqjjc_cs' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: File or assembly name URLRewriter, or one of its dependencies, was not found.

Source Error:

Line 47:   
Line 48:   <httpModules>
Line 49:    <add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter" />
Line 50:   </httpModules>
Line 51:   
 Source File: E:\www\web.config    Line: 49

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

=== Pre-bind state information ===
LOG: DisplayName = URLRewriter
 (Partial)
LOG: Appbase = file:///E:/hqjjc_cs
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: URLRewriter
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/hqjjc_cs/da6bbee5/37b14d61/URLRewriter.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/hqjjc_cs/da6bbee5/37b14d61/URLRewriter/URLRewriter.DLL.
LOG: Attempting download of new URL file:///E:/hqjjc_cs/bin/URLRewriter.DLL.
LOG: Attempting download of new URL file:///E:/hqjjc_cs/bin/URLRewriter/URLRewriter.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/hqjjc_cs/da6bbee5/37b14d61/URLRewriter.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/hqjjc_cs/da6bbee5/37b14d61/URLRewriter/URLRewriter.EXE.
LOG: Attempting download of new URL file:///E:/hqjjc_cs/bin/URLRewriter.EXE.
LOG: Attempting download of new URL file:///E:/hqjjc_cs/bin/URLRewriter/URLRewriter.EXE.

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 

 

分析了一下,很明顯可以猜出IIS的預設網站是放在E:\www下面,用了URLRewriter
網管在此網站下建立了一個虛擬目錄,放在E:/hqjjc_cs ,結果導致URL被重寫,網頁不能訪問。
讓網管建立了一個網站,就不受影響了

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.