|
-
Jun 20th, 2001, 05:48 PM
#1
Thread Starter
Junior Member
Active X DLL & ASp access problem?
Hi
i have just started using ASP and would like to connect my web to a VB Active X DLL. I have written a class to pass a string to the page (just as a test) but i get an error when my server tries to acces the page.
The error is
Error Type:
Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
/Default.asp, line 6
the ASP code is:
<html>
<body>
<p>This is the text in the text file:</p>
<%
Set textout = Server.CreateObject("DBdata.output")
document.Write "text is " & textout.datatext()
Set textout = Nothing
%>
</body>
</html>
the error seems to be on the createobject line. I have looked at the support page for the error
http://support.microsoft.com/support.../Q286/1/98.ASP
but it still doesn't work?
does anyone have any ideas?
the dll is called DBdata.DLL the class is output and the one and only property is
Public Property Get datatext() As String
datatext = "red"
End Property
I hope someone can help, thanks in advance
Norm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|