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