Solved

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

Posted on 2011-03-01
8
514 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:RCM01
8 Comments
 
LVL 30

Expert Comment

by:ded9
ID: 35014804
Check with the mods to add you question to programming zone.


Ded9
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 35016785
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.
0
 
LVL 30

Expert Comment

by:Marc Z
ID: 35026032
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?
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 2

Accepted Solution

by:
RCM01 earned 0 total points
ID: 35029713
@ded9  - appreciate the thought but this isn't a programming issue
@Davis - This is all on  the same Windows 7 Home Edition x64 machine. The program is being denied access to a shared folder on the same machine
@mtz - Home Group sharing is off. I found a workaround by putting the share on another machine entirely and having all workstations point to the share on the other machine. I'll try and see if your suggestion is also a workaround. Is there something about the Users path that can't be shared?
0
 
LVL 30

Expert Comment

by:Marc Z
ID: 35029891
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
0
 
LVL 30

Expert Comment

by:Marc Z
ID: 35029897
hope it helps.
0
 
LVL 2

Author Comment

by:RCM01
ID: 35200079
I'm not sure why I'm being asked to comment on my own comment
0
 
LVL 2

Author Closing Comment

by:RCM01
ID: 35230072
I wasn't able to test the last suggestion and the work around solved the problem even if not well
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
OfficeMate Freezes on login or does not load after login credentials are input.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question