Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Probably a very simple problem

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,29577
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Probably a very simple problem
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Probably a very simple problem - 1/6/2006 8:00:04 PM   
  kerepuki

 

Posts: 1
Score: 0
Joined: 1/6/2006
Status: offline
 
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/skf/Connections/SKF_Data_Connection.asp, line 9
MM_SKF_Data_Connection_STRING = Provider=SLXOLEDB.1;Password="password";Persist Security Info=True;User ID=Admin;Initial Catalog=SKF_Shell;Data Source=Vaio



I am getting this error when trying to connect to an ASP page using Dreamweaver connection.

The connection seems to work fine inside dreamweaver as I can get to the database and the tables but not when trying to view it live.

Please help.

Thanks
Kere
 
 
Post #: 1
 
 RE: Probably a very simple problem - 1/10/2006 3:13:04 AM   
  Country73


Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
Is that the full error message? Did it not give you a character number?

Is this the full line you are getting the error on?
MM_SKF_Data_Connection_STRING = Provider=SLXOLEDB.1;Password="password";Persist Security Info=True;User ID=Admin;Initial Catalog=SKF_Shell;Data Source=Vaio

From what I have to go on, it may be that you need an ampersand (&) instead of the semicolon (;) to join all of that information on one line.


(in reply to kerepuki)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Probably a very simple problem Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts