when trying to publish a web service to the server the following error occurs, knowing that it is running normal on the local machine.
Server Error in '/IVRLAF' Application.
Configuration ErrorDescription: 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 31: <add assembly="Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 32: <add assembly="System.Management, Version=188.8.131.52, 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].Thursday, July 19, 2007 7:21 AM
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
Wednesday, June 24, 2009 5:04 AM
- Proposed as answer by 昭仁 Tuesday, July 28, 2009 2:28 PM