473,486 Members | 2,424 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with manifest, the specified module could not be found

Hello all,

I'm having some problems understanding how the runtime locates
assemblies, and I hope you can help me shed some light on it.

I'm deploying a web service, which uses some 3rd party dll
(FelibFilterLib.dll). The problem is as follows:

1) The webservice is xcopied to the server, and the dll in question
(FelibFilterLib) is located in the bin directory of the web service
(ie. KPIS/bin)

2) When the webservice is requested, an error occurs saying 'The
specified module could not be found (Exception from HRESULT:
0x8007007E)', so I use Fuslogvw to see what dll is missing, and it
gives me the following log:
--------------- fuslogvw log ---------------------
LOG: Attempting download of new URL file:///C:/Program Files/KPIS/
Webservice/bin/FeLibFilterLib.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:
\Program Files\KPIS\Webservice\bin\FeLibFilterLib.dll
LOG: Entering download cache setup phase.
ERR: Error extracting manifest import from file (hr = 0x80131018).
ERR: Setup failed with hr = 0x80131018.
ERR: Failed to complete setup of assembly (hr = 0x80131018). Probing
terminated.
--------------- fuslogvw log ---------------------

So actually the error is not so much that the file cannot be found,
but more that the manifest cannot be read.

3) So I put the FelibFilterLib.dll into the System32 folder. NOW THE
SERVICE WORKS! But verifying with fuslogvw, I still get the error that
the manifest cannot be read. Futhermore if I use filemon, it seems
that it is actually the system32 dll that is found.

4) Now, if I try to delete the dll from system32, I get an error
saying that the file is in use. It seems that IIS is locking the dll,
because if I reset IIS I am able to delete the file.

5) When the file is deleted, the WEBSERVICE STILL WORKS. And from the
fuslogvw log I can see that it still cannot read the manifest. The
service also works after the system is rebooted. It is only when I
delete the dll from the webservice bin directory that the webservice
breaks again.

Can anyone help me explain this behaviour?

Best regards,
Bjarne

BTW: Microsoft; How hard would it be to actually state which assembly
cannot be loaded in the above error message - as I see it, you have
the assembly name right there in the parameter fileName.
Jun 27 '08 #1
0 2300

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

Similar topics

1
8663
by: Santhu | last post by:
What is the difference between METADATA and MANIFEST and where do they get stored? Thank you
2
4524
by: Xah Lee | last post by:
Python Doc Problem Example: os.system Xah Lee, 2005-09 today i'm trying to use Python to call shell commands. e.g. in Perl something like output=qx(ls) in Python i quickly located the...
1
1834
by: Mateusz [PEYN] Adamus | last post by:
Hi everyone Lately I implemented Updater Block v.2.0 into my app but today I found out that it's not working on Win98. I searched the web and found the HttpDownloader made by Kent Boogaart. I...
4
3609
by: Kunle Odutola | last post by:
I'm trying to understand where the information in the META.INF directory including MANIFEST.MF etc is to be found for .NET assemblies. Also some projects such as Eclipse's OSGi kernel stores...
14
5892
by: _iycrd | last post by:
After several frustrating attempts to wrap a native DLL w a C++/CLI DLL, I finally got an assembly to compile, only to find a *runtime* error. The app comes up fine. Test dialog displays. ...
2
13823
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
2
7232
by: =?Utf-8?B?cGh5cw==?= | last post by:
I need to write a C# application that uses unmanaged C++ code. I created a C++/CLI wrapper to C++ code and encountered the following problem. Any time I try to instantiate a wrapper in C#...
3
3760
by: erajaysharma | last post by:
This issue is in Vista. I used XML files(one for DLLs, other for EXEs) ane embeded them in my EXEs and all DLLs ....actually i want to spawn a third party setup from found new hardware...but an...
4
23493
by: yogarajan | last post by:
The specified module could not be found. (Exception from HRESULT: 0x8007007E) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack...
0
7100
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
6964
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
7175
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...
0
5434
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4865
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...
0
3070
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...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
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...

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.