Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Unable to access remote data files |
|
Author |
|
personsd
Joined: 27 Feb 2011 Posts: 2
|
Posted: Sun 27 Feb '11 23:58 Post subject: Unable to access remote data files |
|
|
I'm having problems accessing data files on a remote computer from my web application. My web server configuration is:
Windows XP Home with all current SP's and updates installed
XAMP with Apache 2.2
mod_aspdotnet installed and configured
VB.NET web application using ASP.NET 2.0
Database Is Dbase III (.dbf files) accessed using the Microsoft ODBC driver.
Remote computer is Windows XP Home with all SP's and updates installed
Directory with the .dbf files is shared read/write on the network.
I can map a drive from the web server to the remote share so I do have network access to the remote computer.
The web application runs perfectly when the data files reside on the web server.
When I change the connection string to point to the share with the .dbf files on the remote computer, the application fails with a file not found.
I've tried everything I can think of with no luck.
I don't know if this is an Apache problem or not, But I'm thinking there may be an Apache configuration setting that is blocking access to the remote share.
I'm not much more than a beginner with Apache.
Any help would be greatly appreciated. |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Mon 28 Feb '11 17:19 Post subject: |
|
|
if apache runs as service with the default service user apache can't connect to any networkshare. You have to run apache under a different user account. It is recommend to create a user only for that. |
|
Back to top |
|
personsd
Joined: 27 Feb 2011 Posts: 2
|
Posted: Mon 28 Feb '11 22:10 Post subject: |
|
|
That fixed my problem. Many Thanks. |
|
Back to top |
|
|
|
|
|
|