Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access ASP
|
Access ASP Using ASP with Microsoft Access databases. For Access questions not specific to ASP, please use the Access forum. For more ASP forums, please see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access ASP 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
 
Old March 26th, 2004, 05:53 PM
Authorized User
 
Join Date: Oct 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with the connection string??

Ok, I enter info in my database and then try to navigate to a different page that displays the contents of the database and I get an 'Unexpected Error'. However, if I wait 10-25 seconds and refresh, it works fine.

Why is this happening?

 
Old March 27th, 2004, 11:13 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Is it an ASP error, HTML error, etc? May be a locking issue?
 
Old March 29th, 2004, 07:12 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to acdsky
Default

Hi

I have expereinced similar issues when using ODBC. I usually now use ADO which I have not had such problems with. e.g

strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath("diary.mdb")
set objCon= Server.CreateObject("ADODB.Connection")
objCon.Open strCon
set rs = Server.CreateObject("ADODB.Recordset")
strSQL = "Select * from table1"
rsDrop.Open strSQL, objCon

I know this is not a solution for your problem but more a work around...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with SQL SERVER Connection String Non Linear BOOK: Beginning ASP 3.0 3 October 20th, 2005 12:35 AM
Problem with connection string Adam H-W Classic ASP Databases 3 August 12th, 2005 11:51 AM
Connection string problem neo_jakey Beginning VB 6 1 October 10th, 2004 12:24 AM
connection string aadz5 ASP.NET 1.0 and 1.1 Basics 4 October 20th, 2003 08:43 AM
connection string problem mateenmohd SQL Server 2000 2 September 3rd, 2003 01:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.