Link to home
Start Free TrialLog in
Avatar of RCM01
RCM01

asked on

Mapped a Drive to a folder and get File Access Denied from a program trying to access it

I'm using Windows 7 Home Premium. I mapped the drive G: to a c:\users\public where there exists a folder called \locks

Windows 7 gives me a File Access Denied error when I try to set g:\locks as the value for Borland's BDEAdmin.exe Paradox NET DIR parameter.

I've tried running BDEAdmin.exe under the administrator context. I've changed the User Access Control settings. Also, it can't be mapped to c:\users\public\locks for other reasons.

Any thoughts on what I need to change to that I can set this Parameter
Avatar of ded9
ded9
Flag of India image

Check with the mods to add you question to programming zone.


Ded9
Avatar of Davis McCarn
What O/S is running on the system with the shared folder and are you using AD?
You are having a permissions problem on the host which we need to fix.
Try creating a different folder not in the Users path and sharing that. You may also need to confirm your Network and sharing control panel - is Home Group sharing on or off?
ASKER CERTIFIED SOLUTION
Avatar of RCM01
RCM01

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry,
I'm not familiar with Borland's BDEAdmin.exe Paradox NET DIR parameters, however i found this here.
http://tek-tips.com/viewthread.cfm?qid=1447703&page=9
Feedback from user....

My suspicions were correct and that is that C: drive cannot be written to and therefore the file cannot be generated at run time.
 
Allan was also correct with his hypothesis Forward this email and pass on my best regards.
 
Tell him for his other clients that he needs to to the following as HE INSTRUCTED:
 
1. On VISTA navigate to C:\Program Files\Common Files\Borland Shared\BDE and start up BDEAdmin.exe
 
2. Navigate to Configuration/Drivers/Native Tab
 
3. Highlight PARADOX and then change NET Dir from C:\ to C:\Users\<user>\Documents where user is the administrator user of the machine
 
4. The PDOXUSRS.NET file will be generated at run time in C:\Users\<user>\Documents and Pro.exe will open without error.

Kind of the same info here:
http://www.digitalenginesoftware.com/blog/categories/2-Microsoft-Access
hope it helps.
Avatar of RCM01
RCM01

ASKER

I'm not sure why I'm being asked to comment on my own comment
Avatar of RCM01

ASKER

I wasn't able to test the last suggestion and the work around solved the problem even if not well