DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 10 Aug 2007 12:09:32 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    slinky
          2    Göran Andersson
          3    Alexey Smirnov


Error message puzzle "da.Fill(ds, "Assets") "   
I'm getting a error when I open my . aspx in my browser... line 34:
da.Fill(ds, "Assets")
Here's the error and my entire code for this .aspx.vb is below
that ...
I need some clues as to what is causing the error... Thanks!!!

Server Error in '/' Application.
---------------------------------------------------------------------------­-----

Multiple-step OLE DB operation generated errors. Check each OLE DB
status value, if available. No work was done.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
informatio
Date:Fri, 10 Aug 2007 12:09:32 -0700   Author:  

Re: Error message puzzle "da.Fill(ds, "Assets") "   
Why another thread? You already had one about this...

slinky wrote:

> I'm getting a error when I open my . aspx in my browser... line 34:
> da.Fill(ds, "Assets")
> Here's the error and my entire code for this .aspx.vb is below
> that ...
> I need some clues as to what is causing the error... Thanks!!!
> 


8< snip


>             cmdSelect.CommandText = _
> "SELECT ([Asset Number], Description, [Serial Number], Mfg, AssetType,
> RDCnumber) FROM Assets"


"Description" is a reserved keyword in Access. Put brackets around it.

-- 
Gran Andersson
_____
http://www.guffa.com
Date:Fri, 10 Aug 2007 22:55:58 +0200   Author:  

Re: Error message puzzle "da.Fill(ds, "Assets") "   
On Aug 10, 9:09 pm, slinky  wrote:

> I'm getting a error when I open my . aspx in my browser... line 34:
> da.Fill(ds, "Assets")
> Here's the error and my entire code for this .aspx.vb is below
> that ...
> I need some clues as to what is causing the error... Thanks!!!
>
> Server Error in '/' Application.
> ---------------------------------------------------------------------------­­-----
>
> Multiple-step OLE DB operation generated errors. Check each OLE DB
> status value, if available. No work was done.
> 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: Multiple-step
> OLE
> DB operation generated errors. Check each OLE DB status value, if
> available. No work was done.
>
> Source Error:
>
> Line 32:             da.SelectCommand = cmdSelect
> Line 33:             da.InsertCommand = cmdInsert
> Line 34:             da.Fill(ds, "Assets")
> Line 35:         End If
> Line 36:     End Sub
>
> Source File: E:\kunden\homepages\26\d190091667\Default5.aspx.vb
> Line: 34
>
> Stack Trace:
>
> [OleDbException (0x80040e21): Multiple-step OLE DB operation
> generated
> errors. Check each OLE DB status value, if available. No work was
> done.]
>
> System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString
> constr, DataSourceW
Date:Fri, 10 Aug 2007 21:05:09 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us