p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Server.CreateObject failed


Message #1 by "Sandra Lau" <slau@p...> on Wed, 6 Jun 2001 16:04:25
Try restarting the server

-----Original Message-----
From: Sandra Lau [mailto:slau@p...]
Sent: 06 June 2001 17:04
To: Code Clinic
Subject: [proasp_codeclinic] Server.CreateObject failed


Hi,

I was running a script yesterday that worked perfectly fine - it picked 
up
the right names from the list and let me in according to my login flag. 


However, this morning I powered up VisualInterDev and attempted to run 
the
same page, and got this error back:

-----------------------------------------
Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed
------------------------------------------

The database and the page itself are on a networked drive. Is this a
fixable error, or is it due to server / network drive problems? This is 

the code I'm running:

------------------------------------------
<% Dim objConn, objRS
   Set objConn =3D Server.CreateObject("ADODB.Connection")   
   Set objRS =3D Server.CreateObject ("ADODB.RecordSet")

   objConn.Open Application("Connection1_ConnectionString"),"",""       
  
   objRS.Open "select LAN_ID, PermLevel from LevelAccess", objConn
   ...
   
   objRS.Close
   objConn.Close
   Set objRS =3D Nothing
   Set objConn =3D Nothing %>
------------------------------------------

HELP ASAP please...

Thanks in advance,
Sandra


  Return to Index