473,385 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 1570

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Erich Hofacker | last post by:
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now...
3
by: Zürcher See | last post by:
I've wrote an application that use internet explorer to download some html page, to get the document I use the Microsoft.mshtml library. mshtml.IHTMLDocument3...
10
by: Sunny | last post by:
Hi all, dev. env.: VS.Net2003/C# I have a windows form application with web browser control. I need to capture the onsubmit event of the forms in the document in order to get the values and log...
1
by: Sven Gnagi | last post by:
Hi, I referenced Microsoft.mshtml in one of my projects. (Visual studio .NET 2003) The application is running fine on the developing machine, but when I distribute it to other machines with...
10
by: Hans Merkl | last post by:
Hi, I have written an pap with .NET 2.0 and c# that uses MSHTML. It works fine on my development machine but on machines I deploy it to I get the following exception when ever I call MSHTML. ...
4
by: Lars-Erik Aabech | last post by:
Hi! I've been walking in extacy since reading the article about test automation with IE in the latest MSDN mag. (http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/default.aspx) After a...
11
by: Lucky | last post by:
hi guys, i need to parse html data that i've got from "Inet" object in vb6. now i want to prase the html data. here i got 2 options. one is MSXML and other is MSHTML. i tried both of them but i...
0
by: Laurent Lequenne | last post by:
Hello All, I'm currently developing a free windows Scrabble (in french :)) application that uses extensively the WebBrowser class of NET 2.0 for configuration, and data browsing. It works 100%...
6
by: cellocoder | last post by:
I have tried it in Vb2005, vb2008, and CS2008. The program just hangs up with an hour glass. I downloaded a program with that reference added and it didn't work. I can add it to vb6 with no...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.