473,396 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

System.IO.FileNotFoundException: The specified module could not be found

Ram
Hey,
I have a Com+ application (Inherits ServicedComponent).
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.FileNotFoundException: The specified module
could not be found."

What this exception means???
Thanks ahead

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

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

"Ram" <ni***@bezeqint.net> wrote in message
news:O7**************@TK2MSFTNGP12.phx.gbl...
Hey,
I have a Com+ application (Inherits ServicedComponent).
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.FileNotFoundException: 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 DirectoryServices 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.com> wrote in
message news:ew**************@TK2MSFTNGP12.phx.gbl...
Ram,

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

"Ram" <ni***@bezeqint.net> wrote in message
news:O7**************@TK2MSFTNGP12.phx.gbl...
Hey,
I have a Com+ application (Inherits ServicedComponent).
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.FileNotFoundException: 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.com

"Ram" <ni***@bezeqint.net> wrote in message
news:O$**************@TK2MSFTNGP09.phx.gbl...
Hey Nicholas,
Because I'm using ADsSecurity, that has no replacement (that I know of...)
in the DirectoryServices 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.com> wrote in message news:ew**************@TK2MSFTNGP12.phx.gbl...
Ram,

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

"Ram" <ni***@bezeqint.net> wrote in message
news:O7**************@TK2MSFTNGP12.phx.gbl...
Hey,
I have a Com+ application (Inherits ServicedComponent).
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.FileNotFoundException: 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.FileNotFoundException

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
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...
1
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...
3
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...
2
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...
2
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...
1
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...
2
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...
3
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
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...
0
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,...

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.