471,350 Members | 1,704 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

MSHTML reference does not work on release machines..

Hi All,

In my c# project, i use Microsoft.MSHTML.Dll as reference. It works
perfectly fine on the development machine, but on the release machines that
are in production use we gets error when user try to load a windows form
that uses this reference.

the error message is:
******************
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---System.IO.FileLoadException: Could not
load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0,
Culture=neutral, PublicKeyToken=b03f
******************

The reference details in my VS2008 environment:
Identitiy: Microsoft.mshtml
Path: C:\Program Files\Microsoft Visual Studio 9.0\Visual Studio
Tools for Office\PIA\Office11\Microsoft.mshtml.dll
Runtime version : v1.0.3705
Version: 7.0.3300.0

But in my installer project there is a Microsoft.mshtml.dll and on the
release machines there is a Microsoft.mshtml.dll file in the same folder
with exe file.

I dont know if this is really important but the OS of development machine is
windows XP pro and release machines use Vista.

Thanks in advance for any help...
Jun 27 '08 #1
0 1495

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Erich Hofacker | last post: by
3 posts views Thread by Zürcher See | last post: by
10 posts views Thread by Sunny | last post: by
1 post views Thread by Sven Gnagi | last post: by
10 posts views Thread by Hans Merkl | last post: by
11 posts views Thread by Lucky | last post: by
reply views Thread by Laurent Lequenne | last post: by
6 posts views Thread by cellocoder | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.