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

COM object with CLSID {5D92885E-7D11-4160-BB23-818831ADDD43} is ei

Hi,

I am trying to use a ActiveX Com component in a aspx web page.

First I have made a reference to the .dll.
I have also used aspCompat="true" in the page.
Then I use the code below...

Dim ObjDir As Mydll.Directory
Dim ComFile As Mydll.File

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
ObjDir = New Mydll.Directory
End Sub

But when I start the page I get the error below.
Do anybody have any suggestions?
The .dll is registrated.
Is there any security settings that must be changed?

Server Error in '/' Application
--------------------------------------------------------------------------------

COM object with CLSID {5D92885E-7D11-4160-BB23-818831ADDD43} is either not
valid or not registered.
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.Runtime.InteropServices.COMException: COM object
with CLSID {5D92885E-7D11-4160-BB23-818831ADDD43} is either not valid or not
registered.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:
[COMException (0x80040154): COM object with CLSID
{5D92885E-7D11-4160-BB23-818831ADDD43} is either not valid or not registered.]
Web_ftp.WebForm1.Page_Load(Object sender, EventArgs e) +13
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
Nov 19 '05 #1
2 1474
Without generate a .NET wrapper class first, you can only do late
binding. The recommanded way to use COM component in ASP.NET is to
generate a .NET wrapper class first by using tlbimp.exe utility. You
can find more detail by searching "COM component compatibility" in
the ".NET framework SDK document".

JSL

On Thu, 2 Jun 2005 07:22:10 -0700, "Thomas Andersson"
<Th*************@discussions.microsoft.com> wrote:
Hi,

I am trying to use a ActiveX Com component in a aspx web page.

First I have made a reference to the .dll.
I have also used aspCompat="true" in the page.
Then I use the code below...

Dim ObjDir As Mydll.Directory
Dim ComFile As Mydll.File

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
ObjDir = New Mydll.Directory
End Sub

But when I start the page I get the error below.
Do anybody have any suggestions?
The .dll is registrated.
Is there any security settings that must be changed?

Server Error in '/' Application.
--------------------------------------------------------------------------------

COM object with CLSID {5D92885E-7D11-4160-BB23-818831ADDD43} is either not
valid or not registered.
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.Runtime.InteropServices.COMException: COM object
with CLSID {5D92885E-7D11-4160-BB23-818831ADDD43} is either not valid or not
registered.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:
[COMException (0x80040154): COM object with CLSID
{5D92885E-7D11-4160-BB23-818831ADDD43} is either not valid or not registered.]
Web_ftp.WebForm1.Page_Load(Object sender, EventArgs e) +13
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032


Nov 19 '05 #2
Hi,

Thank you for your suggestion.
Unfortunately this doesen´t solve my problem, I still get the same error...
Do anyone have any other suggestions?

/Thomas

"Jinsong Liu" wrote:
Without generate a .NET wrapper class first, you can only do late
binding. The recommanded way to use COM component in ASP.NET is to
generate a .NET wrapper class first by using tlbimp.exe utility. You
can find more detail by searching "COM component compatibility" in
the ".NET framework SDK document".

JSL

On Thu, 2 Jun 2005 07:22:10 -0700, "Thomas Andersson"
<Th*************@discussions.microsoft.com> wrote:
Hi,

I am trying to use a ActiveX Com component in a aspx web page.

First I have made a reference to the .dll.
I have also used aspCompat="true" in the page.
Then I use the code below...

Dim ObjDir As Mydll.Directory
Dim ComFile As Mydll.File

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
ObjDir = New Mydll.Directory
End Sub

But when I start the page I get the error below.
Do anybody have any suggestions?
The .dll is registrated.
Is there any security settings that must be changed?

Server Error in '/' Application.
--------------------------------------------------------------------------------

COM object with CLSID {5D92885E-7D11-4160-BB23-818831ADDD43} is either not
valid or not registered.
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.Runtime.InteropServices.COMException: COM object
with CLSID {5D92885E-7D11-4160-BB23-818831ADDD43} is either not valid or not
registered.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:
[COMException (0x80040154): COM object with CLSID
{5D92885E-7D11-4160-BB23-818831ADDD43} is either not valid or not registered.]
Web_ftp.WebForm1.Page_Load(Object sender, EventArgs e) +13
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032


Nov 19 '05 #3

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

Similar topics

9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
4
by: Ahmed | last post by:
i have tried running the csharpsite in my Microsoft Visual C#.net and after i hit the run button i keep getting the same error which is : Server Error in '/csharpsite' Application COM object with...
4
by: murrayatuptowngallery | last post by:
I have looked at some mouseover/ sound object scripts and can't get them to work. Most were more complex than needed and introduced several new parameters for me. I found a simple pair of html...
1
by: Cristina Malavasi | last post by:
Hi a have a COM dll made in C++ (I don't have the source code) I used tlbimp to create a managed .NET assembly dll... I reference this dll and import it with "using myDll" then I make an object...
0
by: Dominator.Legend | last post by:
Hallow every one, i have a problem using .net user control with the <OBJECT> tag, I made a normal user control in C#, then i use the regasm to register it, also i use the option regfile to...
0
by: fniles | last post by:
I created a CAB file for a 3rd party control (StockChartX) it using CABARC.exe that comes from Microsoft SDK. In the CAB file I included the StockChartX.ocx and StockChartX.INF. Then, I signed the...
13
by: brianbasquille | last post by:
Hello all, Am trying to modify / update the existing open-source OpenHTPC. I've renamed most of the namespaces and some forms (as well as added my own with modifications) and everything works...
4
by: Technics | last post by:
Ok I will be as clearer as I can (sorry for english/technical mistakes) I would like to write an audio application that supports ASIO drivers. I downloaded the ASIO sdk from Stainberg and I read...
9
by: DKn | last post by:
Hi , I am having a .Net Activex control. I have done coding for COMRegistering and Unregistereing in C#.Net. The code is follows.. static void ComRegister(Type t) { ...
0
by: DKn | last post by:
Hi , I am having a .Net Activex control. I have done coding for COMRegistering and Unregistereing in C#.Net. The code is follows.. static void ComRegister(Type t) { ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
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...
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,...
0
isladogs
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...

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.