debugging activex dll's from asp
Hi,
I am trying to debug an Activexdll from an ASP page.
Here's my code on the ASP page:
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<%
dim obj
set obj=Server.CreateObject("SecurityPC.ControllerPO")
obj.executetask()
set obj=nothing
%>
<P> </P>
</BODY>
<html>
Everything runs fine . however when i go into debug mode i get an error:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
--------------------------------------------------------------------------------
Please try the following:
Click the Refresh button, or try again later.
Open the test home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object
/Project2/Login.asp, line 11
I receive this error when i run the activexdll project and then bring up the login.aspx. basically i want to debug the activexdll project from teh asp page. without debugging everything runs fine.
What am i doing wrong? Looks like it does not like an instance of activex dll running in the backround while the page calls the dll.
Please help!!
-CS
|