close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

SQL connection not working

Thread began 1/21/2010 10:03 pm by victor367017 | Last modified 1/22/2010 11:09 am by Jason Byrnes | 912 views | 1 replies |

victor367017

SQL connection not working

I have got to be doing something wrong. I have and ODBC connection defined on my local machine and on my web server that are the sme - pointing to my SQL database on the server. When I create a page with DW to access the data I can do it if I use NATIVE DW record set. I create a page am I see a single record.

I what to see more that one recored so I turn to DataAssist. I go through the process of creating the "result page" and on my local machine I see all the fields. I go to publish it to the web (using the same connection string that worked in native DW mode) and I get the error that

The Website cannot display the page
Most likely cause :
Website is under maintenace
Website has a programming error


When I look at the record set that data assist generated I see an ERROR Incorrect Syntax Near the keyword "Order" which is the first field in the view that I am connecting to?

What am I doing wrong????

Sign in to reply to this post

Jason ByrnesWebAssist

Order is a reserved word in MySQL and should be avoided as a column name.


For a full list of reserved words see the following:
reserved-words.html

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...