Mitchsnitchel
Active Member
- Joined
- Jul 14, 2009
- Messages
- 32
- Reaction score
- 0
Yo all!
Never used this part of the forums, but always reading up on the topics and seems like I can get some help here.
Building a website that requires inserting data into and query'ing databases. Iv done all the vb coding to complete these tasks and im pretty sure it will work. Buuuuuut it seems my connection to the database is all messed up.
At first I just added the database to the project, placing it in a new folder, but I figured there had to be more to establish a connection between my site and the database. I found in server explorer the option to add a database, and so I did. I also tested the connection in this dialog box and the connection succeeded.
The problem arises when I run the site, and try to enter the specific data i want to see in the database to observe my masterpiece at work. the operation fails however and the page explains that the connection could not initialize. Code stops at:
dbConnection.open()
obviously I am not adding the database to the site properly. Is their known problems with creating database connections to access2007 database's?
What am I missing, all Id like to know is how to add the database to my website properly.
Hope all can kinda understand my problem, and that I'l get at least 300 responses :erm:
Have a good day
Never used this part of the forums, but always reading up on the topics and seems like I can get some help here.
Building a website that requires inserting data into and query'ing databases. Iv done all the vb coding to complete these tasks and im pretty sure it will work. Buuuuuut it seems my connection to the database is all messed up.
At first I just added the database to the project, placing it in a new folder, but I figured there had to be more to establish a connection between my site and the database. I found in server explorer the option to add a database, and so I did. I also tested the connection in this dialog box and the connection succeeded.
The problem arises when I run the site, and try to enter the specific data i want to see in the database to observe my masterpiece at work. the operation fails however and the page explains that the connection could not initialize. Code stops at:
dbConnection.open()
obviously I am not adding the database to the site properly. Is their known problems with creating database connections to access2007 database's?
What am I missing, all Id like to know is how to add the database to my website properly.
Hope all can kinda understand my problem, and that I'l get at least 300 responses :erm:
Have a good day