Therefore we now redistribute a copy of the Microsoft.mshtml-DLL with our installation routine (just copy it into the application directory).Now the application works on most machines, but on a couple of machines I get a BadImageFormatException (details below).
LOG: Using machine configuration file from C:WINDOWSMicrosoft.NETFrameworkv1.1.4322confi gmachine.config. Install Microsoft.Mshtml Assembly Download Of NewLOG: Post-policy reference: Microsoft.mshtml, Version7.0.3300.0, Cultureneutral, PublicKeyTokenb03f5f7f11d50a3a LOG: Attempting download of new URL file:C:MyAppMicrosoft.mshtml.DLL. From your description, I understand that when you have copy the Microsoft.mshtml with you app. However, a BadImageFormatException was thrown sometimes. ![]() As far as I know, the MSHTML.DLL file is distributed with many products. For example,.NET framework 1.1, Internet Explorer 6.0 and so on. So I assume that the the problem might occur because of the Primary Interop Assembly Microsoft.mshtml is not installed properly. Since copying the Microsoft.mshtml with your app doesnt work, I suggest you try to install the PIA into the GAC using gacutil.exe. ![]() If that still fails, you can try to use the Assembly Binding Log Viewer to check for the binding failures. Install Microsoft.Mshtml Assembly .Dll In SetupSimilar topics BadImageFormatException was unhandled BadImageFormatException from mixed-mode multi-file assembly Microsoft.mshtml.dll in Setup project Field token out of range (System.BadImageFormatException) Clarification about Microsoft.mshtml component within.NET 2 frame Microsoft.mshtml reference missing Installutil System.BadImageFormatException Deploying Microsoft.mshtml AxSHDocVw.AxWebBrowser Microsoft.mshtml BadImageFormatException with Microsoft.mshtml Browse more.NET Framework Questions on Bytes Question stats viewed: 4793 replies: 2 date asked: Jul 21 05 Follow this discussion.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |