473,503 Members | 1,650 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MS Access Error

I'm getting an error from my .NET application that
says "Operation must use an updatable query" when I am
trying to write data to an Access table.

Any Ideas?

If I cut and paste the SQL from the application into an
access query, it works.

Thanks.
Jul 21 '05 #1
3 3794
So how are you executing the query from your .NET app? Nobody's going
to be able to help unless you post the code.

-- Mary
MCW Technologies
http://www.mcwtech.com

On Fri, 10 Oct 2003 14:09:32 -0700, "Richard" <re******@broward.org>
wrote:
I'm getting an error from my .NET application that
says "Operation must use an updatable query" when I am
trying to write data to an Access table.

Any Ideas?

If I cut and paste the SQL from the application into an
access query, it works.

Thanks.


Jul 21 '05 #2
So how are you executing the query from your .NET app? Nobody's going
to be able to help unless you post the code.

-- Mary
MCW Technologies
http://www.mcwtech.com

On Fri, 10 Oct 2003 14:09:32 -0700, "Richard" <re******@broward.org>
wrote:
I'm getting an error from my .NET application that
says "Operation must use an updatable query" when I am
trying to write data to an Access table.

Any Ideas?

If I cut and paste the SQL from the application into an
access query, it works.

Thanks.


Jul 21 '05 #3
Hello Richard,

Thanks for your post. As I understand, you create a .NET application which
fails to update an Access table with the error "Operation must use an
updatable query". Please correct me if there is any misunderstanding. Now
I'd like to share the following information with you:

1. Please make sure that you have enough rights to access the .MDB file:

1) Right click on the directory that contains the .MDB file.

2) Goto Security tab.

3) Click the Add button.

4) Give FULL CONTROL to EVERYONE.

5) Check whether or not the problem still exists.

2. Does your query contain any ODBC link tables to a SQL table without
unique index? If so, based on my experience, this will cause such error.
You will have to add a unique index to the linked SQL table.

3. In addition, I suggest you to update to Microsoft Jet 4.0 Service Pack 7.
ACC2002: The Updated Version of Microsoft Jet 4.0 Is Available in the
Download Center
http://support.microsoft.com/?KBID=282010

4. If the problem persists, would you please tell me what's the type of
your application, ASP .NET, Windows Form or Console? Is it possible for you
to post some code snippet which causes the error?

I look forward to your response.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #4

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

Similar topics

3
23846
by: Nicola | last post by:
Hi Everyone, I am new to programming and would like to know how to open an access Report from within vb 6. I am trying to write a program to organise cross stitch threads. I have found out how...
4
3883
by: Fabian von Romberg | last post by:
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a report using the webbrowser, I get the following...
1
8028
by: annie | last post by:
Hi all, I have recently ported my Access 2000 app to SQL Server, keeping the Access client as the front end using linked tables. I am also using triggers on my SQL tables to trap orphan...
6
4712
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
49
14282
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
9
2511
by: Fish Womper | last post by:
I am at best a part time developer of Access databases. I use Access 2.0, as this is all my employer has on its computers. Even so, to use this ancient version requires a fairly convoluted...
0
12002
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
8
9608
by: Greg Strong | last post by:
Hello All, The short questions are 1 Do you know how to make DSN connection close in Access to Oracle 10g Express Edition? &/or 2 Do you know how to make a DSN-less pass-through query...
0
2726
by: Sebastian | last post by:
Hello I develop my applications in Access 2002. My development system is running Windows XP SP2 and I have Microsoft Office XP Developer. Microsoft Office XP is at SP3. I used Inno Setup (great...
2
19396
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7084
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...
1
6991
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
7458
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
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,...
1
5013
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4672
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
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
380
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.