473,575 Members | 3,347 Online
Bytes | Software Development & Data Engineering Community
+ 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\Webs ervice\bin\FeLi bFilterLib.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
--------------- 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,

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 2308

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

Similar topics

by: Santhu | last post by:
What is the difference between METADATA and MANIFEST and where do they get stored? Thank you
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 the function due to its
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 have my app compiled and it worked fine with the BITS (on WinXP). I put the HttpDownloader.dll into my apps directory, modified the app.config and...
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 additional info in the MANIFEST.MF file. What would be the .NET equivalent where such info can be stored? Kunle --
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. Clicking on the button that creates the wrapper class causes an exception, not in the button's event handler, but in Application.Run() within Main(). The...
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
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# application the program crashes with an error "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll, Additional...
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 error message is shown "illegel value: requestedrunlevel" and setup failed to spawn... Someone please tell me how to elevate the setup files so that...
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 trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: The specified...
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...
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...
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. ...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
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...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
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...

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.