๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #92706

ASP.NET blad przy UPDATE bazy danych

#92706
From: m
Date: Tue, 08 Nov 2005 09:29
26 lines
1808 bytes
Witam,

aplikacja w ASP.NET, baza MS Access. Wszystkie operacje SELECT dzialaja ok, 
ale jak probuje zrobic INSERT albo UPDATE mam taki blad:
System.Data.OleDb.OleDbException: Operation must use an updateable query. at 
System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) at 
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS 
dbParams, Object& executeResult) at 
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at 
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, 
Object& executeResult) at 
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior 
behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() 
at DataControl.ExecuteNonQuery(String SQL)

Po zainstalowaniu MDAC v2.7 zaczelo mi dzialac pod WebMatrixem, ale pod IIS 
dalej mam ten sam blad.
System Windows XP SP2.
Czy ktos moze mi pomoc?

z gory dziekuje



-- 
Wysล‚ano z serwisu Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Technical Details
Message-ID: <dkpr61$l1m$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: " m" <michalek2005@gazeta.SKASUJ-TO.pl>
Newsgroups: pl.comp.lang.vbasic
Subject: ASP.NET blad przy UPDATE bazy danych
Date: Tue, 8 Nov 2005 09:29:37 +0000 (UTC)
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 26
Message-ID: <dkpr61$l1m$1@inews.gazeta.pl>
NNTP-Posting-Host: host-ip187-135.crowley.pl
X-Trace: inews.gazeta.pl 1131442177 21558 172.20.26.233 (8 Nov 2005 09:29:37 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Tue, 8 Nov 2005 09:29:37 +0000 (UTC)
X-User: michalek2005
X-Forwarded-For: 172.20.6.164
X-Remote-IP: host-ip187-135.crowley.pl
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit