A
Andy Li
Hi,
I am trying to migrate an old asp/com application into asp.net on a windows
2003 server. after i registered the dll on sever, I got the following error.
The dll works fine on the win2k server. I used regsvr32 xxx.dll and it
indicated that com has been registered successfully. I tried to added the
aspcompat="true" to make the page single threaded. Still I got the same
error message.
Is there any other setting I need to do on Win2K3 to make the old dll work
on .Net framework? I heard that the Interop makes old COM objects work on
..net, but don't have to configure it if any. Any help is really appreciated.
Andy Li
Attached Error message:
----------------------------------------------------------------------------
----
Server Error in '/newton' Application.
----------------------------------------------------------------------------
----
COM object with CLSID {A2484F33-6B3A-4AFA-BF64-395990F533F9} 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 {A2484F33-6B3A-4AFA-BF64-395990F533F9} is either not valid or not
registered.
Source Error:
Line 25:
Line 26: 'On Error Resume Next
Line 27: V2 = Server.CreateObject("iPower")
Source File: E:\newton\web\SystemSelftest_orig.aspx Line: 27
Stack Trace:
[COMException (0x80040154): COM object with CLSID
{A2484F33-6B3A-4AFA-BF64-395990F533F9} is either not valid or not
registered.]
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.Web.HttpServerUtility.CreateObject(String progID) +163
ASP.SystemSelfTest_orig_aspx.__Render__control1(HtmlTextWriter __output,
Control parameterContainer) in E:\newton\web\SystemSelftest_orig.aspx:27
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1929
I am trying to migrate an old asp/com application into asp.net on a windows
2003 server. after i registered the dll on sever, I got the following error.
The dll works fine on the win2k server. I used regsvr32 xxx.dll and it
indicated that com has been registered successfully. I tried to added the
aspcompat="true" to make the page single threaded. Still I got the same
error message.
Is there any other setting I need to do on Win2K3 to make the old dll work
on .Net framework? I heard that the Interop makes old COM objects work on
..net, but don't have to configure it if any. Any help is really appreciated.
Andy Li
Attached Error message:
----------------------------------------------------------------------------
----
Server Error in '/newton' Application.
----------------------------------------------------------------------------
----
COM object with CLSID {A2484F33-6B3A-4AFA-BF64-395990F533F9} 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 {A2484F33-6B3A-4AFA-BF64-395990F533F9} is either not valid or not
registered.
Source Error:
Line 25:
Line 26: 'On Error Resume Next
Line 27: V2 = Server.CreateObject("iPower")
Source File: E:\newton\web\SystemSelftest_orig.aspx Line: 27
Stack Trace:
[COMException (0x80040154): COM object with CLSID
{A2484F33-6B3A-4AFA-BF64-395990F533F9} is either not valid or not
registered.]
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.Web.HttpServerUtility.CreateObject(String progID) +163
ASP.SystemSelfTest_orig_aspx.__Render__control1(HtmlTextWriter __output,
Control parameterContainer) in E:\newton\web\SystemSelftest_orig.aspx:27
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1929