Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
528 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 30

Expert Comment

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


Ded9
0
 
LVL 44

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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Assume you have an outside contractor who comes in seasonally or once a week to do some work in your office, but you only want to give him access to the programs and files he needs and keep all other documents and programs private. Can you do this o…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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.
Suggested Courses

636 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