Using Server.CreateObject

Results 1 to 2 of 2

Thread: Using Server.CreateObject

  1. #1
    Diwakar Guest

    Default Using Server.CreateObject

    &nbsp;<BR>I have made an ActiveX dll in which I am using ADO to access the Oracle database. I create an instance of this COM object in my ASP file (using Server.CreateObject) and try invoke a method of this COM object. It gives me the following message: <BR><BR>Class does not support Automation or does not support expected interface<BR><BR>This method basically uses ADO to access the database and returns a string which is the value of one of the datbase fields<BR><BR>If I don&#039t use any ADO in this method of the ActiveX dll, the results are fine.<BR><BR>Can somebody help?<BR>email

  2. #2
    Gary Van Sluis Guest

    Default RE: Using Server.CreateObject

    My guess on this is that you copied the .dll to the server and tried your .asp page. Usually this happens because the proper run time library or some dependent .dlls are not on the web server. You need to use Packing and Deployment Wizard to make sure all everything is installed.<BR><BR>Hope that helps.<BR>Gary

Posting Permissions

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