Re: Frustrating problem with connection string

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 10/20/04


Date: Wed, 20 Oct 2004 12:30:05 GMT

On Tue, 19 Oct 2004 13:26:57 +0100, sjanie
<sjanie.1eeozr@news.webfrustration.com> wrote:

This is VBScript format:

>Set Conn = Server.CreateObject("ADODB.Connection")

This tells the page you don't use VBScript:

>%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%

JavaScript would generate the error you posted since the syntax is
incorrect. Set the language to VBScript if that's what you intend to
use, either in IIS as the default or specified in your code.

Jeff



Relevant Pages