473,399 Members | 3,888 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,399 software developers and data experts.

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 3793
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
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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
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...

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.