473,320 Members | 2,097 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,320 software developers and data experts.

Vb6 DLL in ASP.NET Web Application

Hi

I'm trying to use a VB6 DLL in an "ASP.NET Web Application" on VB.NET. But
there is something wrongL. I have the next error:
"
Retrieving the COM class factory for component with CLSID
{2A97D270-98F2-4012-80DA-CD2FDAF41784} failed due to the following error:
8007007e.

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.

Exception Details: System.IO.FileNotFoundException: Retrieving the COM class
factory for component with CLSID {2A97D270-98F2-4012-80DA-CD2FDAF41784}
failed due to the following error: 8007007e.

Source Error:

.....
Line 72: g = New AlgoReseau.ClsGraphe

"

When I use the DLL in a "Windows Application" it works well.

If you have any idea or a document to solve my problem, please let me know.

Thanks.

AA
Nov 30 '05 #1
4 6540
AA:

I don't know all of your specifics, so I will start with the fundamentals.
Has the COM dll been registered on the machine where the ASP.NET application
is running?

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"C.A. Amaya" <cj****@hotmail.com> wrote in message
news:em**************@TK2MSFTNGP09.phx.gbl...
Hi

I'm trying to use a VB6 DLL in an "ASP.NET Web Application" on VB.NET. But
there is something wrongL. I have the next error:
"
Retrieving the COM class factory for component with CLSID
{2A97D270-98F2-4012-80DA-CD2FDAF41784} failed due to the following error:
8007007e.

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.

Exception Details: System.IO.FileNotFoundException: Retrieving the COM class
factory for component with CLSID {2A97D270-98F2-4012-80DA-CD2FDAF41784}
failed due to the following error: 8007007e.

Source Error:

.....
Line 72: g = New AlgoReseau.ClsGraphe

"

When I use the DLL in a "Windows Application" it works well.

If you have any idea or a document to solve my problem, please let me know.

Thanks.

AA

Nov 30 '05 #2
Thanks David,

Yes, the DLL is registered (regsvr32 "....\...MyDll.dll"). I am testing in
a local server (ie localhost:8080). I have implemented some "Enum
statements" and I am able to use it in the ASP.NET Web Application. I can
use without problems the DLL in a normal Windows Net Application.

Any idea?

Thanks in advance
AA.

"David Lloyd" <Da***@NoSpamPlease.com> wrote in message
news:u%*******************@bignews6.bellsouth.net. ..
AA:

I don't know all of your specifics, so I will start with the fundamentals.
Has the COM dll been registered on the machine where the ASP.NET
application
is running?

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or
warranties.
"C.A. Amaya" <cj****@hotmail.com> wrote in message
news:em**************@TK2MSFTNGP09.phx.gbl...
Hi

I'm trying to use a VB6 DLL in an "ASP.NET Web Application" on VB.NET. But
there is something wrongL. I have the next error:
"
Retrieving the COM class factory for component with CLSID
{2A97D270-98F2-4012-80DA-CD2FDAF41784} failed due to the following error:
8007007e.

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.

Exception Details: System.IO.FileNotFoundException: Retrieving the COM
class
factory for component with CLSID {2A97D270-98F2-4012-80DA-CD2FDAF41784}
failed due to the following error: 8007007e.

Source Error:

....
Line 72: g = New AlgoReseau.ClsGraphe

"

When I use the DLL in a "Windows Application" it works well.

If you have any idea or a document to solve my problem, please let me
know.

Thanks.

AA

Nov 30 '05 #3
AA:

If you have not seen this, the following newsgroup post deals with an issue
similar to yours. While it does not give a solution, the user found a
workaround.

http://groups.google.com/group/micro...60ce8ce1fe5fed

I would be curious to know more specifics regarding your setup. For
example:

What O/S are you running?
What version of IIS are you running?
Where is the COM dll located (what directory)?
What version of the .NET Framework?
Have you tried re-registering the COM dll?

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"C.A. Amaya" <cj****@hotmail.com> wrote in message
news:uy*************@TK2MSFTNGP10.phx.gbl...
Thanks David,

Yes, the DLL is registered (regsvr32 "....\...MyDll.dll"). I am testing in
a local server (ie localhost:8080). I have implemented some "Enum
statements" and I am able to use it in the ASP.NET Web Application. I can
use without problems the DLL in a normal Windows Net Application.

Any idea?

Thanks in advance
AA.

"David Lloyd" <Da***@NoSpamPlease.com> wrote in message
news:u%*******************@bignews6.bellsouth.net. ..
AA:

I don't know all of your specifics, so I will start with the fundamentals.
Has the COM dll been registered on the machine where the ASP.NET
application
is running?

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or
warranties.
"C.A. Amaya" <cj****@hotmail.com> wrote in message
news:em**************@TK2MSFTNGP09.phx.gbl...
Hi

I'm trying to use a VB6 DLL in an "ASP.NET Web Application" on VB.NET. But
there is something wrongL. I have the next error:
"
Retrieving the COM class factory for component with CLSID
{2A97D270-98F2-4012-80DA-CD2FDAF41784} failed due to the following error:
8007007e.

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.

Exception Details: System.IO.FileNotFoundException: Retrieving the COM
class
factory for component with CLSID {2A97D270-98F2-4012-80DA-CD2FDAF41784}
failed due to the following error: 8007007e.

Source Error:

....
Line 72: g = New AlgoReseau.ClsGraphe

"

When I use the DLL in a "Windows Application" it works well.

If you have any idea or a document to solve my problem, please let me
know.

Thanks.

AA


Dec 1 '05 #4
Hi,

I found the problem

I'm using a virtual disk using "subst" command. I was compiling and
generating output files over that disk. When I changed to a real directory I
can use without problems the COM DLL.

Thanks for your Help

Ps

I 'am using XP, and IIS 5.

"David Lloyd" <Da***@NoSpamPlease.com> wrote in message
news:u%*******************@bignews6.bellsouth.net. ..
AA:

I don't know all of your specifics, so I will start with the fundamentals.
Has the COM dll been registered on the machine where the ASP.NET
application
is running?

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or
warranties.
"C.A. Amaya" <cj****@hotmail.com> wrote in message
news:em**************@TK2MSFTNGP09.phx.gbl...
Hi

I'm trying to use a VB6 DLL in an "ASP.NET Web Application" on VB.NET. But
there is something wrongL. I have the next error:
"
Retrieving the COM class factory for component with CLSID
{2A97D270-98F2-4012-80DA-CD2FDAF41784} failed due to the following error:
8007007e.

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.

Exception Details: System.IO.FileNotFoundException: Retrieving the COM
class
factory for component with CLSID {2A97D270-98F2-4012-80DA-CD2FDAF41784}
failed due to the following error: 8007007e.

Source Error:

....
Line 72: g = New AlgoReseau.ClsGraphe

"

When I use the DLL in a "Windows Application" it works well.

If you have any idea or a document to solve my problem, please let me
know.

Thanks.

AA

Dec 5 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: J. Baute | last post by:
I'm caching data in the Application object to speed up certain pages on a website The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
3
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
6
by: Josef Brunner | last post by:
Hi, I published my application (VS 2005) and am now trying to install it when I get this error message. It worked before...even on a different machine. Here is the detailed description: ...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
3
by: asadikhan | last post by:
Hi, I have written a windows application with a GUI (let's call it MENU). I own the code for this application and have access to it. We have another application that is a third-part windows...
2
by: Michael Kalika | last post by:
Hi, We have developed a VSTO 2005 Excel application and we would like to leverage ClickOnce deployment mechanism for distribution of this application. How can we do that? I was digging in MSDN...
0
by: Tifer | last post by:
Hello, I am building my first .Net Application. The first couple of Publish and Installs I did went fine. But after a couple of builds, I get a modal dialogue box error every time upon trying...
4
by: Dave | last post by:
I have a global.asax file with Application_Start defined and create some static data there and in another module used in the asp.net application and I realize that static data is shared amongst...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.