Unable to use builtin functions to select records from MySQL Server (ASP)
I am currently using Dreamweaver CS4, and am trying to use the built in functions to create record sets to my MySQL database. I have a full web application built but I have had to build it manually.
I want to use some of the built in features of dw to save time. However this is the error I recieve:
Provider error '80040e3d'
Type is invalid.
/NotifySys/login.asp, line 29
Line 29 is the sql execute command created by dw. I can't seem to find anything online that points to a dw bug. Any Thoughts?
When I make all the sql statements myself, everything works fine, and all of the 'test' functions when creating these record sets and insert commands show that all is well!
I have built a test page as to narrow down the problem. One of the issues that I have narrowed down is I have a form with One text feild for 'ID', and one record in the table it is accessing with ID and FirstName populated. On form submit it goes to the test2.asp page, created a record set using the Request.Form('ID') method. This was created fully using the dw gui features. NOW, if I modify the recordset properties to add a AND FirstName = paraFirstName (*variable created using gui and uses the Request.Form("FirstName") Method*) and of coarse add that field to the form, I get the above error.
I have searched and searched to no avail! This is the contents of the MySQL querylog, you can see the first successful query, and then the absense of the query statement after the changes.
3 Query SELECT database()
3 Query SELECT database()
3 Query SELECT * FROM contacts WHERE ID = 34 AND FirstName = 'Adam'
091216 1:13:40 3 Quit
091216 1:15:22 4 Connect root@localhost on NotifySys
4 Query SET NAMES utf8
4 Query SELECT database()
4 Query SELECT database()
My table is using the default charset latin1, I thought maybe thats the problem?
Again, I am not trying to 'FIX' this form, I am trying to find out why this error occurs when using ANY of the builtin database featuers in DW. This is a method to isolate the problem.
OH, i am programming in ASP VB, on an IIS 6 server w/MySQL server v5 using a system dsn on the 'testing' server.
ANY, ANY, ANY help would be awesome!
[Subject line edited my moderator to indicate server-side technology used]