Server undefined?

Results 1 to 2 of 2

Thread: Server undefined?

  1. #1
    Join Date
    Dec 1969

    Default Server undefined?

    I have the following code under a button on a form. Basically, I just want to be able to execute a query that copies a record from one table to another. When this code runs, I get a "Server undefined" error. How can the ASP server be undefined? (Other connections, on the same site/application are working)<BR><BR>var OBJdbConnection = Server.CreateObject("ADODB.Connection");<BR>OBJdbC onnection.Open("Operations");<BR>var SQLQuery = "INSERT INTO tblClients ( ClientID ) SELECT tblClientQueue.* FROM tblClientQueue WHERE (((tblClientQueue.ClientID)=ClientID=" tText()+"));";<BR>var RSCustomerList = OBJdbConnection.Execute(SQLQuery);<BR>

  2. #2 Guest

    Default RE: Server undefined?

    Have you set up a DSN, "Operations" for your server? If so you probably have not Named the server correctly.

Posting Permissions

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