Ask a Question related to ASP Database, Design and Development.
-
Ryan Smith #1
Access DB Error
Hey guys - I just copied my site from a box running IIS
5.0 to a new box running IIS 6.0. When I try to access
the DB via an ASP page is get the following error
message. The same exact site runs fine on the other
server but I really need to change it over to the new
server. Any thoughts? I have checked the SQL statement
and its fine as well as the connection string and the
actual database. The error message I am getting is shown
below.
SQL STATEMENT
SELECT * FROM User WHERE SSN='592444792'
ERROR MESSAGE
Microsoft JET Database Engine error '80040e14'
Syntax error in FROM clause.
/default.asp, line 17
Ryan Smith Guest
-
Error "creating file: 1008:5, -5000 Access Denied Error"
I'm unable to install Flash Player 9 in OS X (10.4.8). I followed the following tech note: http://www.adobe.com/go/4aa64290 * I uninstalled Flash... -
[microsoft][odbc microsoft access driver] syntax error (missing operator) in query expression error
I have a query I want to run using DBQwiksite siftware, which produces the syntax error (missing operator) in query expression error when... -
Web Service + Anon Access, but getting 401 Access Denied Error
I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous... -
Java Script error (error 3) when trying to access Commands
Hello folks: I have been a long time lurker/reader of this forum. As of yesterday, out of nowhere, when accessing 'Commands' from the top level... -
Error 711 and Error 5, Remote access connection manager service
I'm trying to set up a dial-up connection, but my computer will not start Remote Access Connection Manager or Remote Access Auto Connection... -
Brynn #2
Re: Access DB Error
Isn't User a Reserved Word ... maybe try
Select * From [User] Where SSN='592444792'
On Wed, 7 Jan 2004 22:40:04 -0800, "Ryan Smith" <jsmith3465@aol.com>
wrote:
>Hey guys - I just copied my site from a box running IIS
>5.0 to a new box running IIS 6.0. When I try to access
>the DB via an ASP page is get the following error
>message. The same exact site runs fine on the other
>server but I really need to change it over to the new
>server. Any thoughts? I have checked the SQL statement
>and its fine as well as the connection string and the
>actual database. The error message I am getting is shown
>below.
>
>SQL STATEMENT
>SELECT * FROM User WHERE SSN='592444792'
>
>ERROR MESSAGE
>Microsoft JET Database Engine error '80040e14'
>
>Syntax error in FROM clause.
>
>/default.asp, line 17
>Brynn Guest
-
Bob Barrows #3
Re: Access DB Error
Brynn wrote:
Better yet, change the name of the table so it isn't a reserved keyword.> Isn't User a Reserved Word ... maybe try
>
> Select * From [User] Where SSN='592444792'
>
Here is a list of the words you should avoid for table and column (field)
names:
[url]http://www.aspfaq.com/show.asp?id=2080[/url]
Of course, if you have no control over the design of the database, or can't
bring yourself to change the name of the table for some reason, then Brynn's
solution will work. Using the brackets tells the query parser to ignore the
contents of the brackets.
HTH,
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Bob Barrows Guest



Reply With Quote

