Wrox Programmer Forums
|
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 June 5th, 2003, 10:42 AM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shivanisaini Send a message via MSN to shivanisaini Send a message via Yahoo to shivanisaini
Default Error

Hey guys..I am kinda new to this ASP Stuff, and can't figure out the solution to an error that I am getting..Here's the error:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/shivani/cosmicswap/Clssfd.asp, line 6


And here's the code that I have on line 6 on this clssfd.asp page:

Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open"DRIVER= {Microsoft Access Driver(*.mdb)};DBQ=URL=fpdb/CosmicSwap.mdb"


Could anyone help me :(
Email me or post your answer here.

shivani
 
Old June 5th, 2003, 10:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
Default

;DBQ=" & Server.Mappath("/fpdb/CosmicSwap.mdb")

Cheers
Ken

www.adOpenStatic.com
 
Old June 6th, 2003, 04:02 PM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shivanisaini Send a message via MSN to shivanisaini Send a message via Yahoo to shivanisaini
Default

Thanks Ken
I figured it out as well..


shivani





Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert Query Error & Run-Time Error 3022 DavidWE Access 1 July 31st, 2008 11:17 AM
Ch 4: Parse error: syntax error, unexpected T_SL hanizar77 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 June 23rd, 2008 09:17 PM
[Resolved] Error calling a sp - parameter error snufse .NET Framework 2.0 2 February 12th, 2008 04:46 PM
Parse error: syntax error, unexpected T_STRING ginost7 Beginning PHP 1 November 9th, 2007 02:51 AM
Phile Page error, visual studio error reps BOOK: ASP.NET Website Programming Problem-Design-Solution 0 September 27th, 2003 10:11 AM





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