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
510 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 42

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:mtz1of4
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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 30

Expert Comment

by:mtz1of4
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:mtz1of4
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

I hope this helps those who have been battling the SanDisk / U3 problem for a while. For anyone that is running Windows 7 64bit and is receiving and searching the internet for the “Windows Error: Windows has allocated a drive letter to the U3 dri…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now