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
513 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: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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is there a 64bit version of Adobe Acrobat XI? 2 53
Windows 7 Desktop very slow 13 37
Error in script 11 45
Disabling windows sounds in Windows 7 registry setting 5 33
OfficeMate Freezes on login or does not load after login credentials are input.
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

914 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

23 Experts available now in Live!

Get 1:1 Help Now