2009-12-28 21 views
0

我試圖運行在主機上的Asp.net MVC 1級的應用程序,不支持MVC每this職位,但不支持.NET 2,3,3.5如何在沒有啓用它的主機上獲得融合綁定日誌?

但是錯誤消息,我回去沒有按」不要告訴我很多:

Server Error in '/assetmanagement' 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: Could not load file or assembly 'TryHTTPHandler' or one of its dependencies. The system cannot find the file specified. 

Source Error: 

[No relevant source lines] 


Source File: D:\Hosting\4582955\html\web.config Line: 65 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'TryHTTPHandler' 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]. 


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.4049 

谷歌搜索或堆棧溢出搜索TryHTTPHandler似乎變成了幾乎沒有。

web.config線65如下:

<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, 
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/> 

我打開副本當地的的System.Web,System.Web.Mvc,System.Web.Routing和System.Web.Abstractions 。我不確定如何確定我的主機是否具有.net 3.5或.net 3.5 SP1。

如何獲取綁定日誌或任何其他想法我的配置有什麼問題?由於付費託管,我在主機上的功能相當有限。

回答

0

如果您仔細閱讀錯誤消息,它會告訴您如何啓用融合日誌:由於您無法訪問主機註冊表,因此您必須嘗試在您控制的計算機上重現問題

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]. 
+0

這麼短的配置機器或虛擬機的已知參數,並希望它不是未知的配置參數之一,任何想法我可能會嘗試什麼? – Maslow 2009-12-28 22:58:45