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 4 6328
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
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
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
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! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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.
|
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.
|
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.
|
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.
| |
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
|
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.
|
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?
|
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....
|
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...
|
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...
| |
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |