473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problems with data updating following changing machine

Hi all

I'm using .NET 1.1 and connecting to an Access database.

I've recently got a new pc and am having terrible problems getting my web
applications to work properly on my localhost. Although I can run my
application and connect to my datasource for reading, any time I try and
edit/add a record I get the OLEDB error that the operation must use an
updateable query.

I've googled and this seems to be a permissions problem. I believe I have
set everything up as on my old machine. I've given my machine ASPNET account
rights to my localhost directory and checked the IIS settings, but it just
won't work.

Is there anything else I need to do in Visual Studio or anywhere else for
that matter?

Thanks

Julia
Jan 21 '08 #1
2 954
This is the exception you'll get when the ASPNET account (or whatever account
your apps are running under) cannot write to the folder where the MDB file
resides.
Right - click the folder, choose the Security Tab from Properties, and grant
ASPNET "Full" rights.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"Julia B" wrote:
Hi all

I'm using .NET 1.1 and connecting to an Access database.

I've recently got a new pc and am having terrible problems getting my web
applications to work properly on my localhost. Although I can run my
application and connect to my datasource for reading, any time I try and
edit/add a record I get the OLEDB error that the operation must use an
updateable query.

I've googled and this seems to be a permissions problem. I believe I have
set everything up as on my old machine. I've given my machine ASPNET account
rights to my localhost directory and checked the IIS settings, but it just
won't work.

Is there anything else I need to do in Visual Studio or anywhere else for
that matter?

Thanks

Julia
Jan 21 '08 #2
Thanks Peter

I've now done that and all is OK.

Julia

"Peter Bromberg [C# MVP]" wrote:
This is the exception you'll get when the ASPNET account (or whatever account
your apps are running under) cannot write to the folder where the MDB file
resides.
Right - click the folder, choose the Security Tab from Properties, and grant
ASPNET "Full" rights.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"Julia B" wrote:
Hi all

I'm using .NET 1.1 and connecting to an Access database.

I've recently got a new pc and am having terrible problems getting my web
applications to work properly on my localhost. Although I can run my
application and connect to my datasource for reading, any time I try and
edit/add a record I get the OLEDB error that the operation must use an
updateable query.

I've googled and this seems to be a permissions problem. I believe I have
set everything up as on my old machine. I've given my machine ASPNET account
rights to my localhost directory and checked the IIS settings, but it just
won't work.

Is there anything else I need to do in Visual Studio or anywhere else for
that matter?

Thanks

Julia
Jan 23 '08 #3

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

Similar topics

3
by: Lloyd Sheen | last post by:
I am having trouble with an app that does the following: 1. Query SQL Server and return one row 2. Bind the columns to text boxes 3. User updates info 4. User clicks update button ...
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...
0
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.