So I solved this one: it started working once I copied the
relevant DLL
in the bin subdirectory of the deployment directory, and
modified the
registry to reflect the new location.
I also noticed that you get this error message as well if
one of the DLL
on which the first DLL depends is not found.
A
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailto OTNET-WE
B DISCUSS.DEVELOP.COM] On Behalf Of Ryan Reid
Sent: Friday, April 14, 2006 4:07 PM
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WEB] Activator.CreateInstance throws
error 8007007e
-- "Specified module could not be found"
I assume the CLSID in question is installed on your machine.
(HKCR\CLSID\\Inproc
Server32).
If so, then can you create an instance of this component
using another
language or program?
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailto OTNET-WE
B DISCUSS.DEVELOP.COM] On Behalf Of Alain Leblanc
Sent: Friday, April 14, 2006 11:36 AM
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] Activator.CreateInstance throws error
8007007e --
"Specified module could not be found"
Hi,
I apologize if this is a trivial question, but I could not
find any
documentation about this.
I have an web application where I need to load a COM
component. I use
System.Type type =
System.Type.GetTypeFromProgID("comName");
System.Object obj = Activator.CreateInstance(type);
and it works fine when running in C# from the command line
or when
debugging as an ASP page (with C# code-behind) from
VisualStudio
2005. However after I deploy the application to my PC I get
a message
that says:
Retrieving the COM class factory for component with CLSID
failed due to the
following
error: 8007007e.
The error code 8007007e stands for "the specified
module could not be
found". Anyone knows what I need to do to correct
this? I tought either
the
path has to be specified differently or permissions have to
be adjusted,
but
I couldn't find anything in the documentation.
Thanks,
Alain
===================================
This list is hosted by DevelopMentorR http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentor(r) http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|