473,804 Members | 3,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

assembly reference problem

My project references Microsoft.MSHTM L.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.File NotFoundExcepti on: Could not load file or assembly
'Microsoft.msht ml, Version=7.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a' or one of its dependencies. The system
cannot find the file specified. File name: 'Microsoft.msht ml,
Version=7.0.330 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a' "

now, when i looked in my installer project there is no dependencies listed
as microsoft.mshtm l 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 14314
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******** **********@TK2M SFTNGP09.phx.gb l...
My project references Microsoft.MSHTM L.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.File NotFoundExcepti on: Could not load file or assembly
'Microsoft.msht ml, Version=7.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a' or one of its dependencies. The system
cannot find the file specified. File name: 'Microsoft.msht ml,
Version=7.0.330 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a' "

now, when i looked in my installer project there is no dependencies listed
as microsoft.mshtm l 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******** ******@TK2MSFTN GP09.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******** **********@TK2M SFTNGP09.phx.gb l...
My project references Microsoft.MSHTM L.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.File NotFoundExcepti on: Could not load file or assembly
'Microsoft.msht ml, Version=7.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a' or one of its dependencies. The system
cannot find the file specified. File name: 'Microsoft.msht ml,
Version=7.0.330 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a' "

now, when i looked in my installer project there is no dependencies
listed as microsoft.mshtm l 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_piar edist.exe
"Brian Henry" <no****@nospam. com> schreef in bericht
news:um******** ******@tk2msftn gp13.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******** ******@TK2MSFTN GP09.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******** **********@TK2M SFTNGP09.phx.gb l...
My project references Microsoft.MSHTM L.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.File NotFoundExcepti on: Could not load file or assembly
'Microsoft.msht ml, Version=7.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a' or one of its dependencies. The system
cannot find the file specified. File name: 'Microsoft.msht ml,
Version=7.0.330 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a' "

now, when i looked in my installer project there is no dependencies
listed as microsoft.mshtm l 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******** ******@TK2MSFTN GP12.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_piar edist.exe
"Brian Henry" <no****@nospam. com> schreef in bericht
news:um******** ******@tk2msftn gp13.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******** ******@TK2MSFTN GP09.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******** **********@TK2M SFTNGP09.phx.gb l...
My project references Microsoft.MSHTM L.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.File NotFoundExcepti on: Could not load file or assembly
'Microsoft.msht ml, Version=7.0.330 0.0, Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a' or one of its dependencies. The system
cannot find the file specified. File name: 'Microsoft.msht ml,
Version=7.0.330 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a' "

now, when i looked in my installer project there is no dependencies
listed as microsoft.mshtm l 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
3103
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 v 1.0.3705 to v 1.1.4322 of the framework (and to the 2003 IDE); I've been recompiling old 1.0 components. I had created the assembly and installed in the GAC with a
3
2579
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 body) of the method? Does this occur when "Main" is build or does it happen when main is loaded and Jitted? Also is the linking achieved by the full method name( this is what is seen in the IL generated by ILDASM : e.g : call
1
15961
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 found on disk and I get a TargetInvocationExeption. For example, let's say I have a C# win forms application called Prog. Prog.exe uses Assembly.Load(byte) to load two C# class library assemblies,
19
3583
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 one web presentation tier (Foo.WebFiles). The data tier shall only be accessible thru the business tier so I do NOT want a reference to the data tier in the presentation tier. In the business tier I have a class with the name CategoryItem that...
1
1946
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 (in order to have the tree view, multi bar controls). When I make the compilation and the execution, I obtain then the next error: "
3
4415
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 really understand how this could be an issue. The assemblies that the system is complaining about are ones that we build here and we're not changing version numbers on anything. The errors come and go with no apparent rhyme or reason. We do not...
1
2370
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 installed into the GAC. We originally had this assembly without a strong-name and we were successfully using it by referencing it when it was NOT in the GAC. The assembly was built using the 1.0 framework and we were able to call it from both 1.0...
14
2672
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 reference the same BLL in a separate assembly, and I have all three projects in a single solution file for development, with the two UI's each having a project reference to the BLL assembly. I created a Setup and Deployment package for the winform app...
3
7600
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 projects FRM_Business and frm_Data.
2
5146
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 assembly's manifest definition with name 'Infragistics.WebUI.UltraWebGrid.v3' does not match the assembly reference. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for...
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10575
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7616
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6851
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4297
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.