Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disconnect from a datasource

Status
Not open for further replies.

8ginga8

Programmer
Dec 14, 2004
54
CA
Does any one know if there is a possible way to disconnet from an access database in coldfusion MX. I am uploading a database to our server which is to overwrite an existing database. When the new database is uploaded I want to read from it but all I get is the data from the old one. If I put in a bogus query to cause an error then try again it works fine until I upload a new one. Can anyone help

Thanks in advance...
 
I have now tried a bogus query and used a cftry and cfcatach and this did not seem to fix the problem. the only way to get it to work seems to try to upload the database to a location that does not exist and then fix the error and refresh the page and the new data is there
 
From my knowledge you should be able to overwrite the old database without having to re-create a datasource.

If you are displaying old data in a query then it sounds as if the results are cached server-side or client-side.

Try clearing the cache.

Rob
 
I haven't had this problem but, make sure that "Maintain Connections" is not checked in CF Admin data source. This has caused a lot of problems with Access connections for me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top