Current location: Hot Scripts Forums » Programming Languages » ASP.NET » asp help needed for dsn less connection


asp help needed for dsn less connection

Reply
  #1 (permalink)  
Old 07-02-04, 11:08 AM
nysimpex nysimpex is offline
New Member
 
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
asp help needed for dsn less connection

user reg form works proper but

when user tries to login

this prob comes :

dsnless connection

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'Username= Password='.

db/login.asp, line 16

what is the most likely prob ? any one help me plz

Last edited by nysimpex; 07-02-04 at 11:10 AM.
Reply With Quote
  #2 (permalink)  
Old 07-02-04, 01:22 PM
Mikeirv Mikeirv is offline
Newbie Coder
 
Join Date: May 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
looks like you are not passign the values to your sql statement. SHould be something like "... WHERE username = 'bobby' and password = 'mypass'"
Reply With Quote
  #3 (permalink)  
Old 07-02-04, 11:46 PM
nysimpex nysimpex is offline
New Member
 
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow exactly ,

looks like you are not passign the values to your sql statement. SHould be something like "... WHERE username = 'bobby' and password = 'mypass'"

ya u r right but where is not is caps should be ?
Reply With Quote
  #4 (permalink)  
Old 07-03-04, 05:34 AM
nysimpex nysimpex is offline
New Member
 
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow i ve done like this

this is the line



strSQL = "SELECT * FROM webtable where Username="& request("user")&" Password="& request("pass")
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Programmer Needed in Broward, Florida george@asff.com ASP.NET 0 07-01-04 04:12 PM
Can ASP check registry janice_2k ASP 0 05-31-04 03:28 AM
PHP integrated with ASP Mikeirv PHP 7 05-25-04 05:00 AM
Reliable Windows 2003 Hosting amzhost General Advertisements 0 04-12-04 09:32 PM
Closing a MySQL connection surebetdmg PHP 5 08-15-03 08:37 AM


All times are GMT -5. The time now is 12:54 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.