473,508 Members | 2,425 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Insufficient permissions to use back-end mdb object

Here's the scenario:

1) MyApp has workgroup security
2) In the startup routine I first relink to the backend file.
2) After relinking, I am trying to asynchronously create a local copy
of the backend file using the LaunchCopy procedure. This is done by
creating a batch file and when the batch file runs it uses Copy %1 %2
type commands. After the file is created it is launched via the Shell
command.

3) Startup continues after the Shell command for the batch file is
executed.

When I logon as a user who is not the owner of MyApp, I am getting the
following error:

"You do not have the necessary permissions to user the '.......
\Backend.mdb' object. ....."

When I logon as the owner, I never get this error.

The error seems to be caused by my startup routine trying to access
table data from the back-end file while it is being copied. I've
moved the LaunchCopy procedure to a later point in the startup
routine. I still get the error, but it doesn't seem to affect
anything. When logged on as a regular user (not the Owner), if I wait
awhile after startup before trying to access any data, I don't get the
error.

I wanted to launch the backend copy routine asynchronously, because I
didn't want to significantly increase the amount of time MyApp takes
to startup.

My main question is (assuming I understand what is happening): Why am
I NOT getting this error when I logon as the Owner. If the problem is
that the back-end file is being copied by the .bat routine and MyApp
is trying to access data from it (via the front-end links) during
startup, wouldn't I get this error regardless of who is logged on
(Owner or otherwise). Like I said, the Owner of MyApp has never
gotten this error.

Please, let's not get into why I want to create a copy of the back-end
file. I'm curious about why the Owner user wouldn't get this error.

Thanks.

Feb 26 '07 #1
0 1540

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2308
by: lawrence | last post by:
I'm probably missing something obvious, but I'm unable to write a file with this function. I've used my FTP software to set permissions to 777 on all the files in question. I've tried r, r+, w, and...
15
6828
by: lkrubner | last post by:
I want to give users the power to edit files from an easy interface, so I create a form and a PHP script called "fileUpdate". It does a reasonable about of error checking and prints out some...
3
1653
by: Bert | last post by:
I am sertainly no SQL expert so I am looking for a bit of help (actually quite desperate). The extra CPU and 1GB of RAM to be added to a server (Compaq DL380 G2: 1.4 GHz PIII with a Gig of RAM)...
2
4336
by: Jozef | last post by:
Hello, Is there a way to change table permissions in VB Code? I can't seem to find much that's concise in the help file. Here's the situation; I have a table in the "data" portion of a split...
2
1281
by: Mark MacRae | last post by:
I've been trying to implement an online payment component into a web application. Instructions are to put the DLL into the web application's bin folder and everything is supposed to work. Well...
2
14382
by: Chris Fink | last post by:
I am using the System.IO.File class to determine if a file exists on a network share. The File.Exists method keeps returning false, even though the file does exist. The MSDN documentation...
11
1600
by: Dave Schwimmer | last post by:
I am relatively new to PHP. One of the things that seems glaring obvious to me (coming from a C/C++ background) is how 'open' everything seems - (AFAIK). For instance, URLs typically have the name...
2
4607
by: SammyBar | last post by:
Hi all, I'm trying to send a message from ASP.NET to another PC by using MSMQ. I created my ASP.NET project by using Visual Studio 2005 but I initially set the project to be located on the File...
3
5291
by: Simon Watkins | last post by:
Our server administrators recently changed the permissions of most of our servers (you know how it is, the developers had, shock horror, got to know the domain administrator password, and some...
7
1870
RobH
by: RobH | last post by:
When trying to View the Backup Log through the Server Management interface when logged in as Administrator, the screen reports the following error. "You do not have the correct permissions to view...
0
7118
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1550
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.