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Ū http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|