473,563 Members | 2,504 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 6318
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
14012
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...
1
6685
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
2069
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...
2
2303
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...
2
1526
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...
1
5043
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....
2
8368
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...
3
9071
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
11000
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...
0
7658
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...
0
7877
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. ...
0
8101
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...
1
7631
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...
1
5479
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...
0
3631
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...
1
2077
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
1
1194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
912
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...

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.