Dear, when trying to publish a web service to the server the following error occurs, knowing that it is running normal on the local machine. Please help.
Server Error in '/IVRLAF' Application.
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 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Line 29: <assemblies> Line 30: Line 31: <add assembly="Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> Line 32: <add assembly="System.Management, Version=18.104.22.168, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation> Line 33: <pages>
Source File: D:\IVRLAF\web.config Line: 31
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 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].
There are two ways to fix the problem. First, you can copy Microsoft.mshtml.dll into the application directory. Alternatively, you can run vs_piaredist.exe, which is in \program files\common files\merge modules on machines with vs 2005 installed.
since 2007 .. :p每天都有進步的人值得敬重
Proposed as answer by昭仁Tuesday, July 28, 2009 2:28 PM