473,396 Members | 1,894 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,396 software developers and data experts.

Error in My asp.net web application

129 100+
Hai guys

my asp.net web application found an error while using inserting/Updating/Deleting data to a Ms Access database from my localhost

error shown this type

" exception found use an updatable query"

any one can help me?
Jan 31 '08 #1
10 1199
r035198x
13,262 8TB
Hai guys

my asp.net web application found an error while using inserting/Updating/Deleting data to a Ms Access database from my localhost

error shown this type

" exception found use an updatable query"

any one can help me?
Which code gave this error?
Jan 31 '08 #2
radcaesar
759 Expert 512MB
Since you are using MS Access, the folder where the mdb resides doesn't have enough permission for the user who is running the application. Typically its ASPNET_XXXXX. Try to use another username with full rights using impersonation or grant access to the current user.
Jan 31 '08 #3
kunal pawar
297 100+
Please post code which cozs errror
Feb 1 '08 #4
dwadish
129 100+
While using

oledbcommand.executenonequery() metghod
Feb 8 '08 #5
dwadish
129 100+
Since you are using MS Access, the folder where the mdb resides doesn't have enough permission for the user who is running the application. Typically its ASPNET_XXXXX. Try to use another username with full rights using impersonation or grant access to the current user.
[HTML]How i can give this permission to my web application[/HTML]
Feb 8 '08 #6
dwadish
129 100+
Please post code which cozs errror

[HTML]While using the oledbcommand.executenonequery method [/HTML]
Feb 8 '08 #7
piercy
77
[HTML]How i can give this permission to my web application[/HTML]
i think you can just right click and go to properties the security and set the correct user the needed permissions.. I may be wrong though..

Also, Maybe post 5 lines of code or something to give us a little more of and insight into what your doing.

oledbcommand.executenonequery

Just tells me your trying to execute some sort of query. Without a bit more information i dont really know what your doing.. However, im used to dealing with SqlCommand rather than oledb... maybe its jsut me who thinks we need more information.
Feb 8 '08 #8
kunal pawar
297 100+
can u post ur query here, may problem in ur query. or u can test ur query at ur end.
Feb 8 '08 #9
dwadish
129 100+
can u post ur query here, may problem in ur query. or u can test ur query at ur end.
Expand|Select|Wrap|Line Numbers
  1.  dim cmd as new oledbcommand
  2. cmd.commandtext="insert into table1 values('SAMLE','Male')"
  3.  
  4. cmd.connection=con
  5. cmd.executenonequery()
  6.  
  7.    Actually it is working normal with VWD but it isn't after hosting in my localhost
  8.  
  9.  
Feb 10 '08 #10
kunal pawar
297 100+
IS your table content only 2 fields or other fields are autonumber
Feb 15 '08 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: NG | last post by:
Hi, We are having DB2-V7.2 DB on AIX 5.2 machine. Recently we upgraded our system to fixpack 13 and activated activate AIX asynchronous IO function. Our DB is going to crash recovery with...
3
by: windandwaves | last post by:
Hi Gurus Does anyone know how I set the error trapping to option 2 in visual basic. I know that you can go to tools, options and then choose on unhandled errors only, but is there a VB command...
10
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
6
by: Javier Cortés Cortés | last post by:
i am getting this error when i am trying to access any file(with the ext. aspx) from my remote server. the error is : Server Error in '/' Application....
3
by: Damian | last post by:
Hi everyone I'm having an issue with one of our applications. I'm getting the following error when attempting to log in to the site: Server Error in 'xxxxxxxxxxxxxxxx' Application....
4
by: tommy | last post by:
hello everbody, i write a little asp-application with forms-authentication. i copy my aspx-files with web.config to my webspace and i get the error above... i tried to set the...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
12
by: Brett Robichaud | last post by:
Is anyone familiar with this error? I have this running just fine on my local machine but when I pushed it out to our development server I get this error. I have no idea what it is saying. Any...
0
by: Adam Getchell | last post by:
I'm attempting to write a custom Authentication module using http://www.15seconds.com/Issue/020417.htm I looked at http://support.microsoft.com/default.aspx?scid=kb;EN-US;307996, but it doesn't...
8
by: jcrouse | last post by:
I am using the following code to trap errors in a sub routine: Try Executable code Catch ex As Exception Dim strInputE As String = Application.StartupPath & "\Error.txt" Dim srE As...
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
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?
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
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
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
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,...

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.