473,714 Members | 2,562 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.IO.FileN otFoundExceptio n: The specified module could not be found

Ram
Hey,
I have a Com+ application (Inherits ServicedCompone nt).
In this application, I needed to use one of the ADSI's COM Object, \
So I used the - TlbImp.exe.
After I created the Tlb dll, I gave it a StrongName, and installed it in the
GAC.
In my Com+ Application, I added a reference to the Tlb dll.
The proble is, that when I try to instatiate an object of this type, I keep
getting this weird Exception saying:
"System.IO.File NotFoundExcepti on: The specified module
could not be found."

What this exception means???
Thanks ahead

--Ram
Nov 16 '05 #1
4 6334
Ram,

If you are accessing ADSI, why are you not using the classes in the
System.Director yServices namespace?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ram" <ni***@bezeqint .net> wrote in message
news:O7******** ******@TK2MSFTN GP12.phx.gbl...
Hey,
I have a Com+ application (Inherits ServicedCompone nt).
In this application, I needed to use one of the ADSI's COM Object, \
So I used the - TlbImp.exe.
After I created the Tlb dll, I gave it a StrongName, and installed it in the GAC.
In my Com+ Application, I added a reference to the Tlb dll.
The proble is, that when I try to instatiate an object of this type, I keep getting this weird Exception saying:
"System.IO.File NotFoundExcepti on: The specified module
could not be found."

What this exception means???
Thanks ahead

--Ram

Nov 16 '05 #2
Ram
Hey Nicholas,
Because I'm using ADsSecurity, that has no replacement (that I know of...)
in the DirectoryServic es namespace...
Do you know why I get this Error or what does it means?
Thanks ahead

--Ram
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:ew******** ******@TK2MSFTN GP12.phx.gbl...
Ram,

If you are accessing ADSI, why are you not using the classes in the
System.Director yServices namespace?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ram" <ni***@bezeqint .net> wrote in message
news:O7******** ******@TK2MSFTN GP12.phx.gbl...
Hey,
I have a Com+ application (Inherits ServicedCompone nt).
In this application, I needed to use one of the ADSI's COM Object, \
So I used the - TlbImp.exe.
After I created the Tlb dll, I gave it a StrongName, and installed it in

the
GAC.
In my Com+ Application, I added a reference to the Tlb dll.
The proble is, that when I try to instatiate an object of this type, I

keep
getting this weird Exception saying:
"System.IO.File NotFoundExcepti on: The specified module
could not be found."

What this exception means???
Thanks ahead

--Ram


Nov 16 '05 #3
Ram,

It would seem that fusion is having a problem locating the COM dll that
it is providing a wrapper to. Can you provide the stack trace that comes
with the exception?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ram" <ni***@bezeqint .net> wrote in message
news:O$******** ******@TK2MSFTN GP09.phx.gbl...
Hey Nicholas,
Because I'm using ADsSecurity, that has no replacement (that I know of...)
in the DirectoryServic es namespace...
Do you know why I get this Error or what does it means?
Thanks ahead

--Ram
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:ew******** ******@TK2MSFTN GP12.phx.gbl...
Ram,

If you are accessing ADSI, why are you not using the classes in the
System.Director yServices namespace?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ram" <ni***@bezeqint .net> wrote in message
news:O7******** ******@TK2MSFTN GP12.phx.gbl...
Hey,
I have a Com+ application (Inherits ServicedCompone nt).
In this application, I needed to use one of the ADSI's COM Object, \
So I used the - TlbImp.exe.
After I created the Tlb dll, I gave it a StrongName, and installed it
in the
GAC.
In my Com+ Application, I added a reference to the Tlb dll.
The proble is, that when I try to instatiate an object of this type, I

keep
getting this weird Exception saying:
"System.IO.File NotFoundExcepti on: The specified module
could not be found."

What this exception means???
Thanks ahead

--Ram



Nov 16 '05 #4
StackTrace:
ComPlusProject. MyClass.TestSub (string path,string[] secondparam)

Type Of Exception:
System.IO.FileN otFoundExceptio n

Description:
The Specified Module Could Not Be Found

--Ram

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #5

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

Similar topics

2
14043
by: Paul Gronka | last post by:
I've got a VB.NET windows application (written in VS .NET 2003) that makes a call to WMI for retrieving the MAC Address from the client's PC. It works on 4 out of the 5 PC's tested so far. All the workstations are DELLs running XP SP1a with the 1.1 .NET Framework. The following line of code generates an exception on the one PC: Dim oMac As New System.Management.ManagementClass("Win32_NetworkAdapterConfiguration") The error it...
1
6700
by: ulf | last post by:
Hello, After I got a FileNotFoundException in my real life CSharp code, I nailed it down to the following line: System.EnterpriseServices.ResourcePool rp = new System.EnterpriseServices.ResourcePool(null); The exception I get for this line is System.IO.FileNotFoundException: The specified module could not be found.
3
2075
by: Karl Hungus | last post by:
A cs file I compiled into an assembly dll is in my bin directory. In the cs file I have a using statement for System.Xml I compiled it using this command: csc /out:XmlContent.dll /t:library XmlContent.cs When I run my aspx page, which has a codebehind that instantiates the object from in my assembly, I get the following error, anyone know why? File or assembly name System.Xml, or one of its dependencies, was not found.
2
2313
by: aallee83 | last post by:
i'm new in asp.net after develop my solution i copied it on the server where I want it to run but something cares... WHAT?!?! thank you in advance File or assembly name System, or one of its dependencies, was not found. 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.
2
1529
by: Dave Johnston | last post by:
Hey, I'm trying to get SmtpMail to work. Problem is, each time I call SmtpMail.Send(msg) it throws this exception: The specified module could not be found. 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.
1
5056
by: Olav Tollefsen | last post by:
I get the included error message when trying to run my ASP.NET application under Windows Server 2003 (with all updates installed). How can I troubleshoot this? Olav File or assembly name System.Xml, or one of its dependencies, was not found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information
2
8374
by: GeorgeB | last post by:
I have built a solution in vb.net with 2 projects the project with the class libraries and the project which consumes them. The class library project references some other libraries(Different Class projects). The solution compiles without a problem. I cannot run the solution in debug mode within the IDE, despite that ALL the projects are for debugging. The app run correctly when I invoke it outside the IDE from the bin directory.
3
9081
by: James | last post by:
Hi guys Do you ever get the exception in Managed C++? How can I know which file or dll is missed?
2
11017
by: =?Utf-8?B?c2FtMDFt?= | last post by:
I have a remoting application that was developed on a Windows XP SP2 machine with VS2005 SP1. I finally got everything deployed using Wix 3.0, and it works great. Problem is, when I install the msi on a W23 server SP2, I get the following error: System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation....
0
8796
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
8704
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
9307
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...
0
9170
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9009
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 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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7946
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5943
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
4715
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3155
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

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.