473,466 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

access database permission problem

Hope someone can help

Working Visual Web Developer 2005 using Access databases

It all works fine using the WebDevelopers webserver but when I use IIS I get
these errors

The Microsoft Jet database engine cannot open the file
'C:\CallidusWorld\App_Data\oakleafAccounts.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.

I know it's to do with permissions but so far I've tried...
Setting IUSR_Server01 to have read/write to the folder C:\callidusWorld
Setting EVERYONE to have read/write tothis folder
I've even tried setting these 2 accounts to have full access to the entire
drive but all to no avail

I know this is basic stuff but I'm really stuck with this so any help will
be much appreciated

All the best
Phil
Jan 19 '06 #1
6 3072
http://www.xlinesoft.com/asprunner/d...0(unknown).htm
--
Milosz Skalecki
MCP, MCAD
"news.microsoft.com" wrote:
Hope someone can help

Working Visual Web Developer 2005 using Access databases

It all works fine using the WebDevelopers webserver but when I use IIS I get
these errors

The Microsoft Jet database engine cannot open the file
'C:\CallidusWorld\App_Data\oakleafAccounts.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.

I know it's to do with permissions but so far I've tried...
Setting IUSR_Server01 to have read/write to the folder C:\callidusWorld
Setting EVERYONE to have read/write tothis folder
I've even tried setting these 2 accounts to have full access to the entire
drive but all to no avail

I know this is basic stuff but I'm really stuck with this so any help will
be much appreciated

All the best
Phil

Jan 19 '06 #2
I've set the permissions for "Everyone" for this folder so they can
read/write/delete everything but running though IIS still gives the error

Visual Web Developer still runs fine

Thanks for the help but I am still stuck here
Thanks
Phil
"Milosz Skalecki" <mi*****@REMOVEITwp.pl> wrote in message
news:D6**********************************@microsof t.com...
http://www.xlinesoft.com/asprunner/d...0(unknown).htm
--
Milosz Skalecki
MCP, MCAD
"news.microsoft.com" wrote:
Hope someone can help

Working Visual Web Developer 2005 using Access databases

It all works fine using the WebDevelopers webserver but when I use IIS I
get
these errors

The Microsoft Jet database engine cannot open the file
'C:\CallidusWorld\App_Data\oakleafAccounts.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.

I know it's to do with permissions but so far I've tried...
Setting IUSR_Server01 to have read/write to the folder C:\callidusWorld
Setting EVERYONE to have read/write tothis folder
I've even tried setting these 2 accounts to have full access to the
entire
drive but all to no avail

I know this is basic stuff but I'm really stuck with this so any help
will
be much appreciated

All the best
Phil

Jan 19 '06 #3
thanks - I think I've found the solution

it works now that I've set the options on the MDB files rather just the
parent folder. Not sure if this is right but it works

Thanks
Phil

"news.microsoft.com" <phil@NOS_oakleafsoftware.co.uk> wrote in message
news:uy*************@TK2MSFTNGP12.phx.gbl...
I've set the permissions for "Everyone" for this folder so they can
read/write/delete everything but running though IIS still gives the error

Visual Web Developer still runs fine

Thanks for the help but I am still stuck here
Thanks
Phil
"Milosz Skalecki" <mi*****@REMOVEITwp.pl> wrote in message
news:D6**********************************@microsof t.com...
http://www.xlinesoft.com/asprunner/d...0(unknown).htm
--
Milosz Skalecki
MCP, MCAD
"news.microsoft.com" wrote:
Hope someone can help

Working Visual Web Developer 2005 using Access databases

It all works fine using the WebDevelopers webserver but when I use IIS I
get
these errors

The Microsoft Jet database engine cannot open the file
'C:\CallidusWorld\App_Data\oakleafAccounts.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.

I know it's to do with permissions but so far I've tried...
Setting IUSR_Server01 to have read/write to the folder C:\callidusWorld
Setting EVERYONE to have read/write tothis folder
I've even tried setting these 2 accounts to have full access to the
entire
drive but all to no avail

I know this is basic stuff but I'm really stuck with this so any help
will
be much appreciated

All the best
Phil


Jan 19 '06 #4
I thought I had it working but....

Everythin works with Visual Web Developer but the trouble starts when
viewing through IIS

I have read about setting the permissions for the folder and files. I do
this and it fixes the problem.

However, as soon as I open and close the database using Access, it seems as
if the permission is reset and viewing the site via IIS fails again.

Does anyone know why this should be happening.

All help is very much appreciated

"Milosz Skalecki" <mi*****@REMOVEITwp.pl> wrote in message
news:D6**********************************@microsof t.com...
http://www.xlinesoft.com/asprunner/d...0(unknown).htm
--
Milosz Skalecki
MCP, MCAD
"news.microsoft.com" wrote:
Hope someone can help

Working Visual Web Developer 2005 using Access databases

It all works fine using the WebDevelopers webserver but when I use IIS I
get
these errors

The Microsoft Jet database engine cannot open the file
'C:\CallidusWorld\App_Data\oakleafAccounts.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.

I know it's to do with permissions but so far I've tried...
Setting IUSR_Server01 to have read/write to the folder C:\callidusWorld
Setting EVERYONE to have read/write tothis folder
I've even tried setting these 2 accounts to have full access to the
entire
drive but all to no avail

I know this is basic stuff but I'm really stuck with this so any help
will
be much appreciated

All the best
Phil

Jan 20 '06 #5
just to follow on with this I have looked at the permissions on my MDB file

I set them to allow IUSR_SERVER01 full access
Everything works fine
I open and close the database in Access and the permission for IUSR_SERVER01
has been removed!

Why does opening and closing an access MDB file change the permissions that
I give it?

This is the cause of my problem but I have no idea as to the solution

Hope this gives enough information
Phil

"phil cunningham" <phil@NOS_oakleafsoftware.co.uk> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I thought I had it working but....

Everythin works with Visual Web Developer but the trouble starts when
viewing through IIS

I have read about setting the permissions for the folder and files. I do
this and it fixes the problem.

However, as soon as I open and close the database using Access, it seems
as if the permission is reset and viewing the site via IIS fails again.

Does anyone know why this should be happening.

All help is very much appreciated

"Milosz Skalecki" <mi*****@REMOVEITwp.pl> wrote in message
news:D6**********************************@microsof t.com...
http://www.xlinesoft.com/asprunner/d...0(unknown).htm
--
Milosz Skalecki
MCP, MCAD
"news.microsoft.com" wrote:
Hope someone can help

Working Visual Web Developer 2005 using Access databases

It all works fine using the WebDevelopers webserver but when I use IIS I
get
these errors

The Microsoft Jet database engine cannot open the file
'C:\CallidusWorld\App_Data\oakleafAccounts.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.

I know it's to do with permissions but so far I've tried...
Setting IUSR_Server01 to have read/write to the folder C:\callidusWorld
Setting EVERYONE to have read/write tothis folder
I've even tried setting these 2 accounts to have full access to the
entire
drive but all to no avail

I know this is basic stuff but I'm really stuck with this so any help
will
be much appreciated

All the best
Phil


Jan 20 '06 #6
Moving forward

Within Access I had the option Compact on Close turned on
I turned this off and the permissions stayed fixed - this may be the
solution.

Anyone had any experience with this?

Phil

"phil cunningham" <phil@NOS_oakleafsoftware.co.uk> wrote in message
news:Oi**************@TK2MSFTNGP12.phx.gbl...
just to follow on with this I have looked at the permissions on my MDB
file

I set them to allow IUSR_SERVER01 full access
Everything works fine
I open and close the database in Access and the permission for
IUSR_SERVER01 has been removed!

Why does opening and closing an access MDB file change the permissions
that I give it?

This is the cause of my problem but I have no idea as to the solution

Hope this gives enough information
Phil

"phil cunningham" <phil@NOS_oakleafsoftware.co.uk> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I thought I had it working but....

Everythin works with Visual Web Developer but the trouble starts when
viewing through IIS

I have read about setting the permissions for the folder and files. I do
this and it fixes the problem.

However, as soon as I open and close the database using Access, it seems
as if the permission is reset and viewing the site via IIS fails again.

Does anyone know why this should be happening.

All help is very much appreciated

"Milosz Skalecki" <mi*****@REMOVEITwp.pl> wrote in message
news:D6**********************************@microsof t.com...
http://www.xlinesoft.com/asprunner/d...0(unknown).htm
--
Milosz Skalecki
MCP, MCAD
"news.microsoft.com" wrote:

Hope someone can help

Working Visual Web Developer 2005 using Access databases

It all works fine using the WebDevelopers webserver but when I use IIS
I get
these errors

The Microsoft Jet database engine cannot open the file
'C:\CallidusWorld\App_Data\oakleafAccounts.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.

I know it's to do with permissions but so far I've tried...
Setting IUSR_Server01 to have read/write to the folder C:\callidusWorld
Setting EVERYONE to have read/write tothis folder
I've even tried setting these 2 accounts to have full access to the
entire
drive but all to no avail

I know this is basic stuff but I'm really stuck with this so any help
will
be much appreciated

All the best
Phil



Jan 20 '06 #7

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

Similar topics

2
by: Jay Moore | last post by:
Greetings, all! I have a project for work, and I'm not sure how to efficiently do what I need to do. I'm hoping someone out there can help. Project is this: I'm creating a web-based...
5
by: lappy | last post by:
Hello, I have written a small programme to compact an access 97 database. Dim je As New JRO.JetEngine ' Compacts database Data.Mdb to Data2.mdb. je.CompactDatabase...
1
by: Ruy Castelli | last post by:
I created a ASP.NET page using C# and I'm using two components to access a MS-Access database, which are: - oleDbConnection - oleDataAdapter The MS-Access database is in the correct directory...
3
by: MW de Jager | last post by:
I'm having endless problems with gaining access to an Access Database that sits on a different server. My ASP.NET app cannot gain control. The errror message I get is: The Microsoft Jet...
16
by: JonnyD | last post by:
I am working on a project to build a reporting web app from an exsiting database that is controled by a local application. The application that has control over the database creates a lock file to...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
17
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a...
2
by: Enska | last post by:
I have problems connecting my access database I get information .. I cant use my database and I'm administrator on my computer so permission shutnot bee problem, but I dont know Where is the...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.