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
517 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Upgrading Windows 7 2 32
Cannot kill Excel from taskmgr after Excel Export in VB 2014 6 39
Delete Temp on all PCs 7 52
"Format" missing from context menu on all UDF drives 21 28
One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
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.
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.

726 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