cnewsgrp
|
Posted: 08/22/2003, 4:59 PM |
|
Can anyone help? I have followed the instructions to set permissions on the
database Internet.mdb and folders. I did everything I could to get the
ASP.NET/C# project (Bookstore or whatever) to work but could not. Tech
Support said that this problem (read on please) is due to my computer
security settings. I am getting an error message that said:
Server Error in '/BookstoreDOTNET' Application.
----------------------------------------------------------------------------
----
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:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[OleDbException (0x80004005): Operation must use an updateable query.]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) +41
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS
dbParams, Object& executeResult) +174
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +92
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior,
Object& executeResult) +65
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior
behavior, String method) +112
System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +66
BookstoreDOTNET.Data.OleDbDao.ExecuteNonQueryImpl(String sql) +91
BookstoreDOTNET.Data.DataAccessObject.ExecuteNonQuery(String sql) +4
BookstoreDOTNET.Header.HeaderPage.Page_Load(Object sender, EventArgs e)
+1148
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +731
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
2. Messages.
Generating "Products"
Generating Common Files
Generating "Header"
Generating "Footer"
Running:
C:\DOCUME~1\ONNFOH~1\LOCALS~1\Temp\~BookstoreDOTNET\MakeAll.bat C:
C:\DOCUME~1\ONNFOH~1\LOCALS~1\Temp\~BookstoreDOTNET\
=======================================
C:\Program Files\Common Files\System\MAPI\1033\nt>REM _MakeAll @1-5F0E2647
C:\DOCUME~1\ONNFOH~1\LOCALS~1\Temp\~BookstoreDOTNET>c:\Windows\Microsoft.NET
\Framework\v1.1.4322\csc /w:2 /t:library /out:bin\BookstoreDOTNET.dll
/r:System.Data.OracleClient.dll
/r:System.dll;System.Web.dll;System.Xml.dll;System.Data.dll /recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
C:\DOCUME~1\ONNFOH~1\LOCALS~1\Temp\~BookstoreDOTNET>REM _End MakeAll
Output
C:\Program Files\Common Files\System\MAPI\1033\nt>REM _MakeAll @1-5F0E2647
C:\DOCUME~1\ONNFOH~1\LOCALS~1\Temp\~BookstoreDOTNET>c:\Windows\Microsoft.NET
\Framework\v1.1.4322\csc /w:2 /t:library /out:bin\BookstoreDOTNET.dll
/r:System.Data.OracleClient.dll
/r:System.dll;System.Web.dll;System.Xml.dll;System.Data.dll /recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
C:\DOCUME~1\ONNFOH~1\LOCALS~1\Temp\~BookstoreDOTNET>REM _End MakeAll
|
|
|
|