Microsoft.mshtml Error


  • 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.

    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 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    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=, 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

All replies

  • Hi Ankouny,

    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
    Wednesday, June 24, 2009 5:04 AM
  • 你好 你可以检查下你的C:\WINDOWS\assembly (Xp的系统)中的Microsoft.MsHtml版本是否是7.0.3300.0我的sp3的系统式8.0的,你可以把这里改成对应的版本 或者直接去下载7.0.3300.0这个版本的 放到你的程序中
    Denn ich gehor nur dir!坚持不懈!http://hi.baidu.com/1987raymond
    Wednesday, June 24, 2009 5:15 AM