Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 5th, 2006, 07:44 PM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to hawkfb63
Default Problem with IIS webserver

I built a page to interact with an access database. When I run the page with the web server built into VWD express. I have no problems and I can add/update/view data from database with no problems. When I add all the files from the folder with that web page to the folder my xp pro IIS webserver uses. The page displays normally. But when I attempt to add anything to the database, I get the following error:

Operation must use an updateable query.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: Operation must use an updateable query.

Source Error:


Line 98:
Line 99: conAdd.Open()
Line 100: cmdAdd.ExecuteNonQuery()
Line 101: conAdd.Close()
Line 102:

If anyone knows why this error is comming, I would like some feedback. Thank You.
Luke

 
Old March 6th, 2006, 12:53 AM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

http://p2p.wrox.com/topic.asp?TOPIC_ID=4180





Similar Threads
Thread Thread Starter Forum Replies Last Post
webserver umeshtheone Struts 3 August 13th, 2008 12:35 AM
problem with publishing to a webserver JRMotz BOOK: ASP.NET Website Programming Problem-Design-Solution 0 April 17th, 2006 09:58 PM
Microsoft IIS webserver config problems taraj ASP.NET 1.0 and 1.1 Basics 3 September 20th, 2004 03:42 AM
Problem with connection to db at webserver hoeknu SQL Server 2000 3 May 24th, 2004 07:59 AM
getting images from another webserver? schaar Classic ASP Basics 0 December 24th, 2003 01:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.