|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I'm setting up an ASP login screen using interdev, visual basic scripting, and an access database. I'm new to this and am struggling with the relative path issue. It works fine on my local machine, but when I move it to the proxy server, it can not find my database.
This path works... db_file = "c:\srci\srci_local\login\srci.mdb" Then on the proxy, I'm trying to point to... db_file = "//pvproxy/www.psgsrci.org/login/srci.mdb" I'm confused how to set my path so that the database can be found. Any help would sure be appreciated. Thanks, Joel |
|
#2
|
|||
|
|||
|
Here's some more information on my problem.
Now, I can get to the database by using the following... db_file = "\\pvproxy\e$\URL" However, it's only because I have administrator rights that I can do the e$ to access it. I'm just not sure how to tell the ASP that the database is in the login directory just below the active page. It keeps trying to search in "my documents" or something. Thanks again, Joel |
|
#3
|
|||
|
|||
|
the file:"www.psgsrci.org\login\srci.mdb" in the PVproxy(another pc)?
U should contract that PC's administrator to share the file with "guest" right!.. |
|
#4
|
|||
|
|||
|
If you don't want your database accessible to everyone, you'll need to create a common user account. IIS normally operates in the context of a local user account IUSR_computername, which won't be present on the db computer unless you add a clone account there.
In addition, if you have users authenticate to windows, after they are logged in IIS will impersonate their user account rather than the IUSR account. I remember seeing a paper from MS on setting up IIS to Access over UNC paths but I don't have the link. Google turned up this which may help http://support.microsoft.com/defaul...s/Q207/6/71.ASP |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Relative path problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|