CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.commerce_starter_kit Tags:
Item Type: Date Entered: 10/9/2003 3:14:32 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 36 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"bluesjazz" <>
NewsGroup User
OrdersDetail error on commerce starter kit code10/9/2003 3:14:32 AM

0

Hi,

I have no problem for the rest of the pages when i reused the sorce code of commerce starter kit but i got the following errors when everytime I Clicked order details on Order List page. Please advise.


Server Error in '/MusicStore' Application.

Procedure or function OrdersDetail has too many arguments specified.
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.SqlClient.SqlException: Procedure or function OrdersDetail has too many arguments specified.

Source Error:

Line 121: ' Create and Fill the DataSet
Line 122: Dim myDataSet As New DataSet()
Line 123: myCommand.Fill(myDataSet, "OrderItems")
Line 124:
Line 125: ' ship date is null if order doesn't exist, or belongs to a different user

Source File: C:\Inetpub\wwwroot\MusicStore\Components\OrdersDB.vb Line: 123

Stack Trace:

[SqlException: Procedure or function OrdersDetail has too many arguments specified.] System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +629 System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +9 System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +118 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +102 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36 MusicStore.MusicStore.OrdersDB.GetOrderDetails(Int32 orderID, String customerID) in C:\Inetpub\wwwroot\MusicStore\Components\OrdersDB.vb:123 MusicStore.OrderDetailsPage.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\MusicStore\OrderDetails.aspx.vb:44 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +73 System.Web.UI.Page.ProcessRequestMain() +394
"Paul H" <>
NewsGroup User
Re: OrdersDetail error on commerce starter kit code10/12/2003 10:05:20 PM

0

Hi there,
Firstly I'm a novice (at this 3 months) so this could be total BS but I'm sure
some one will correct me if I'm wrong.
Check the output parameters in your stored procedure against the ones required
for the dataset, one could be missing.

Hope this is of some help.

Paul
"bluesjazz" <>
NewsGroup User
Re: OrdersDetail error on commerce starter kit code10/14/2003 1:55:23 AM

0

Hi,

Thanks a lot of your information. It's solved my problem.

lINN
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:













saving toolbar configuration

error: name 'lblsubtitle' is not declared

page_load

base page class and objectdatasource

helper methods from aspx - why 'protected'??

setting the default browser for debugging in vs 2005 (beta 2)

frame sets

testing error page - set to not debug?

references & team foundation

missing controls

dll's in project. i would like to get them into source safe.

cs0007: unexpected common language runtime initialization error

how do i add a .net framework data provider?

create new website

weird parameter returned in watchlist

how to add code snipet to toolbox?

will vs.net 2005 team system make vss obsolete?

web form designer

toolbox controls update feature

what makes more sense codebehind or codewith?

question about converting from 2003 to 2005

incorrect date-time while checkin visual sourcesafe

keyboard shortcut key to minimize all sub procedure or function

web parts(user control) clear automaticaly when page is binded in page load

the vs.net program needs too much memory.

which edition i want to use.

copy web site vs. setup project

visual basic compiler has encountered a problem and needs to close

soursesafe 2005 beta 2

vs2005 is xhtml compliant

the best code documentation generator for .vs 2005?

using serverdocument class

want to kill myself, who can help?

system.configuration.configurationsettings.appsettings is obsolete

unc share - winxp

asp.net licensing issue

reference issues/app_code

vs 2005 broken xml editor

error caused by a virtual directory not being configured as an application in iis

where is visual source safe 2005?

how do i get rid of the asp.net development server?

vs checking datasource methods

server explorer problem

asp.net web control

how to turn on debugging in vs 2005

unable to create new tables or editi exsiting ones

references in vs 2005

publishform appearing multiple times on taskbar

question about data grid...

re: query about solution

   
  Privacy | Contact Us
All Times Are GMT