Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss 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
  #1 (permalink)  
Old August 14th, 2003, 06:13 PM
Registered User
 
Join Date: Aug 2003
Location: , , United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default trouble

I'm trying to drag the latest articles from a databass. I keep getting the error:

Microsoft JET Database Engine error '80004005'

'\\nas03\domains\h\hackersons.com\user\htdocs\db\n ews.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

/databass/site/index_test.asp, line 15


how do i check i've got the right info?
I've taken the files from another site and am fiddling with the code to get it working on my site.


  #2 (permalink)  
Old August 16th, 2003, 10:12 AM
Authorized User
 
Join Date: Jun 2003
Location: Federal Way, WA (USA)
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to vinyl-junkie
Default

I think what you need to do is list the path as the file extension below the domain name. In other words, like this:
user\htdocs\db\news.mdb

Let us know if that works. :)

Pat Wong
http://www.napathon.net/ - Music Around The World
For collecting tips, trade and want lists, album reviews and more.
  #3 (permalink)  
Old August 16th, 2003, 10:27 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Are you sure that the IIS account has access to this shared file?

Usually, IIS runs in the context of the IUSR_MachineName account which is a local account and therefore has no rights to access this share. Either change the rights for the current user, or use a different user to run the webserver. Alternatively, you can create a Virtual Directory, called Databases for example which points to your network share. You can run this VD under the context of a different user, thereby acquiring the right permissions to access the database.

HtH

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.


Similar Threads
Thread Thread Starter Forum Replies Last Post
If Else Trouble Cibressus Beginning PHP 0 May 1st, 2007 02:04 PM
Newbie having trouble. Please help!!!!! crittag ASP.NET 2.0 Basics 0 June 24th, 2006 05:00 PM
SQL Trouble mrideout BOOK: Beginning ASP.NET 1.0 1 September 30th, 2004 12:24 PM
Please i have had a Trouble hurted Wrox Book Feedback 1 June 28th, 2004 02:18 AM





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