Classic ASP DatabasesDiscuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I am using an Access database behind some Intranet pages and I have an ASP script that updates one of the tables in the database.....straight forward enough !!
Unfortunately the update script works when run on 2 out of 3 Windows 2000 machines and fails with a datatype mismatch on the 3rd !! All machines are running the same code against identical copies of the database.
I already have <%@Language=vbscript LCID=2057%> specified at the top of the script which has stopped previous date problems from occurring. Does this have an affect on the SQL dates?
Yes, I have tried the #'s. I have had problems with this machine before as it assumes American date format. Maybe this is causing the problem when writing to the DB.
Try looking for differences between the three windows-installations - are they set to the same locale? Do they have the same level of patches? If you're using ODBC to connect to the DB check the ODBC-versions on the machines aso.