Permission Denied "CreateObject"

Results 1 to 2 of 2

Thread: Permission Denied "CreateObject"

  1. #1
    WBR Guest

    Default Permission Denied "CreateObject"

    I am using a DLL to retreive information from the database. But when I try to create the object it gives me Permission Denied error. I realize this is probably just my permissions but I&#039ve tried everything and it still does not work. Can someone give me some ideas as to where to look?

  2. #2
    CycloneBoy Guest

    Default RE: Permission Denied

    I use the following in my .asp pages to retrieve data from a .dll that does database extractions.<BR><BR>&#060;%<BR>dim varReturn<BR>dim myObj <BR><BR>Set myObj = server.createobject("dllName.dllClass")<BR><BR>Hop e this helps...<BR>varReturn = objNCR.lngSearch(var1,var2)<BR>%&#062;<BR><BR>My VB dll has a class module set up like.<BR><BR>Public Function dllClass(rvar1 as Variant, rvar2 as Variant) as Variant<BR><BR>from there I get class collections and class properties.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts