473,419 Members | 1,647 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,419 software developers and data experts.

assembly reference problem

My project references Microsoft.MSHTML.Dll. It works perfectly fine on the
development machine, but on the release machines that are in production use
it says when you try to load a form that uses the reference

"System.IO.FileNotFoundException: 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. File name: 'Microsoft.mshtml,
Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' "

now, when i looked in my installer project there is no dependencies listed
as microsoft.mshtml or even mshtml, nor can I find a merge module that would
set up this reference. All deployed machines are showing this problem, but
all development machines are not..

they are running .net framework 2.0 and this is a .net 2.0 application
compiled for 2.0... any idea of what i should do? thanks!
Nov 23 '05 #1
4 14289
Dear Brian Henry,

When you installed your developing environment you also installed this
assembly. However, as you already said, your installer does not include the
assembly, therefore it will not be installed on your deployed machine and
you app will not be able to run correctly. You should add this assembly to
your installer and I bet the documentation of your installer perfectly
descibes how to do this. If not, for free to ask how, but then please tell a
bit more about what you are using for installer etc.

Kind regards,

Michel van den Berg

"Brian Henry" <no****@nospam.com> schreef in bericht
news:%2******************@TK2MSFTNGP09.phx.gbl...
My project references Microsoft.MSHTML.Dll. It works perfectly fine on the
development machine, but on the release machines that are in production
use it says when you try to load a form that uses the reference

"System.IO.FileNotFoundException: 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. File name: 'Microsoft.mshtml,
Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' "

now, when i looked in my installer project there is no dependencies listed
as microsoft.mshtml or even mshtml, nor can I find a merge module that
would set up this reference. All deployed machines are showing this
problem, but all development machines are not..

they are running .net framework 2.0 and this is a .net 2.0 application
compiled for 2.0... any idea of what i should do? thanks!

Nov 23 '05 #2
this "assembly" is actually part of the GAC in .NET, it's not something you
just install as part of an installer... infact it is installed on the
production systems if you go into the assembly folder in windows and look,
but when the apps run it crashes with that error message saying its not
there, when yet it is
"Michel van den Berg" <mv*@promontis.nl> wrote in message
news:uV**************@TK2MSFTNGP09.phx.gbl...
Dear Brian Henry,

When you installed your developing environment you also installed this
assembly. However, as you already said, your installer does not include
the assembly, therefore it will not be installed on your deployed machine
and you app will not be able to run correctly. You should add this
assembly to your installer and I bet the documentation of your installer
perfectly descibes how to do this. If not, for free to ask how, but then
please tell a bit more about what you are using for installer etc.

Kind regards,

Michel van den Berg

"Brian Henry" <no****@nospam.com> schreef in bericht
news:%2******************@TK2MSFTNGP09.phx.gbl...
My project references Microsoft.MSHTML.Dll. It works perfectly fine on
the development machine, but on the release machines that are in
production use it says when you try to load a form that uses the
reference

"System.IO.FileNotFoundException: 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. File name: 'Microsoft.mshtml,
Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' "

now, when i looked in my installer project there is no dependencies
listed as microsoft.mshtml or even mshtml, nor can I find a merge module
that would set up this reference. All deployed machines are showing this
problem, but all development machines are not..

they are running .net framework 2.0 and this is a .net 2.0 application
compiled for 2.0... any idea of what i should do? thanks!


Nov 23 '05 #3
Dear Brain Henry,

Try to install the redistributable of the primary interop assemblies on the
deployed machine. It is located at C:\Program files\Common Files\Merge
modules\vs_piaredist.exe
"Brian Henry" <no****@nospam.com> schreef in bericht
news:um**************@tk2msftngp13.phx.gbl...
this "assembly" is actually part of the GAC in .NET, it's not something
you just install as part of an installer... infact it is installed on the
production systems if you go into the assembly folder in windows and look,
but when the apps run it crashes with that error message saying its not
there, when yet it is
"Michel van den Berg" <mv*@promontis.nl> wrote in message
news:uV**************@TK2MSFTNGP09.phx.gbl...
Dear Brian Henry,

When you installed your developing environment you also installed this
assembly. However, as you already said, your installer does not include
the assembly, therefore it will not be installed on your deployed machine
and you app will not be able to run correctly. You should add this
assembly to your installer and I bet the documentation of your installer
perfectly descibes how to do this. If not, for free to ask how, but then
please tell a bit more about what you are using for installer etc.

Kind regards,

Michel van den Berg

"Brian Henry" <no****@nospam.com> schreef in bericht
news:%2******************@TK2MSFTNGP09.phx.gbl...
My project references Microsoft.MSHTML.Dll. It works perfectly fine on
the development machine, but on the release machines that are in
production use it says when you try to load a form that uses the
reference

"System.IO.FileNotFoundException: 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. File name: 'Microsoft.mshtml,
Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' "

now, when i looked in my installer project there is no dependencies
listed as microsoft.mshtml or even mshtml, nor can I find a merge module
that would set up this reference. All deployed machines are showing this
problem, but all development machines are not..

they are running .net framework 2.0 and this is a .net 2.0 application
compiled for 2.0... any idea of what i should do? thanks!



Nov 23 '05 #4
no luck

"Michel van den Berg" <mv*@promontis.nl> wrote in message
news:uS**************@TK2MSFTNGP12.phx.gbl...
Dear Brain Henry,

Try to install the redistributable of the primary interop assemblies on
the deployed machine. It is located at C:\Program files\Common Files\Merge
modules\vs_piaredist.exe
"Brian Henry" <no****@nospam.com> schreef in bericht
news:um**************@tk2msftngp13.phx.gbl...
this "assembly" is actually part of the GAC in .NET, it's not something
you just install as part of an installer... infact it is installed on the
production systems if you go into the assembly folder in windows and
look, but when the apps run it crashes with that error message saying its
not there, when yet it is
"Michel van den Berg" <mv*@promontis.nl> wrote in message
news:uV**************@TK2MSFTNGP09.phx.gbl...
Dear Brian Henry,

When you installed your developing environment you also installed this
assembly. However, as you already said, your installer does not include
the assembly, therefore it will not be installed on your deployed
machine and you app will not be able to run correctly. You should add
this assembly to your installer and I bet the documentation of your
installer perfectly descibes how to do this. If not, for free to ask
how, but then please tell a bit more about what you are using for
installer etc.

Kind regards,

Michel van den Berg

"Brian Henry" <no****@nospam.com> schreef in bericht
news:%2******************@TK2MSFTNGP09.phx.gbl...
My project references Microsoft.MSHTML.Dll. It works perfectly fine on
the development machine, but on the release machines that are in
production use it says when you try to load a form that uses the
reference

"System.IO.FileNotFoundException: 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. File name: 'Microsoft.mshtml,
Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' "

now, when i looked in my installer project there is no dependencies
listed as microsoft.mshtml or even mshtml, nor can I find a merge
module that would set up this reference. All deployed machines are
showing this problem, but all development machines are not..

they are running .net framework 2.0 and this is a .net 2.0 application
compiled for 2.0... any idea of what i should do? thanks!



Nov 23 '05 #5

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

Similar topics

1
by: Paul Klanderud | last post by:
I'm having a problem with being unable to remove a reference to an old, nonexistent version of a strongly- named assembly. I should mention that my issues arose at the same time I upgraded from...
3
by: Atul Godbole | last post by:
Suppose an assembly "Main" is using class "A" from another Assembly "Dep" as follows : A a = new A(); a.MethodOne(); At what time is the call to MethodOne linked to the actual MSIL (method...
1
by: Greg Patrick | last post by:
My problem: I load an some assemblies (strong named) from a byte array using Assembly.Load(byte). They load fine. But one one of them is actually accessed, it's referenced assemblies can't be...
19
by: Martin Oddman | last post by:
Hi, I have a compiling problem. Please take a look at the code below. I have an application that is built upon three tiers: one data tier (Foo.DataManager), one business tier (Foo.Kernel) and...
1
by: Cui | last post by:
Hello, I make an application in ASP.NET (using VB.NET and some web services). For my needs, I use also the SQL DMO library (with the SQL DMO.interop assembly) and the Microsoft Web UI controls...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
1
by: Tim F | last post by:
Problem: I'm receiving the error "File or assembly name XXXXX or one of its dependencies, was not found." when trying to execute code in an assmebly that has both a strong-name and has been...
14
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both...
3
by: ma79ash | last post by:
Language :: VS.NET/ C# The type 'frm_data.frm_data' is defined in an assembly that is not referenced. You must add a reference to assembly I have a Frm_sol solution, which consists on 2...
2
by: Febria | last post by:
Dear, all... I have some problem with my application. I used UltraWebGrid component in my web application. Unfortunately, when I tried to run the web, the error page displayed: The located...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.