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: 30 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:













problem with vague 404 errors

code behind

problem with detailsview control

my first web services

rdlc report writer limitation, cannot format individual cell colors based on formula

urgent: sessions are not working in iis but cookies are working...

problem gridview modfification

upgrading a vba macro to vs 2005 express

getting intergrated security user id

must declare the scalar variable "@original_id". why ?

vs 2003 to vwd express

help with an error

i need help for crystal report xi

using the express ides to deploy asp.net on shared hosting

best method to copy/clone a vwd project and package up for sharing with others

vista home and visual web developer 2005 express

need help with media player in vwd

problem inserting data in sqlexpress from a dataset

problems with guided tour

how can i generate a guid string in vs 2005 editor?

asp 2 quick questions

for "fredrik n" please...

vwd

visual web developer: why so slow?

linking stylesheets

odbc connection closes the vwd

web server and mail server for express edition

visual web designer and framesets.

asp.net2.0 global.asax methods

vwd will not install

grid layout panel in vwd 2005 express

hotkey for "build page"

compiling

web form background image

web site administration tool error

where do i put my user defined functions

c# newbie

data not showing

creating a centralized dll and migrating to visual studio 2005 from visual web developer express edition

dual folders with .sln and .suo

login help plz

what does "domain unloaded" mean?

registering web developer

vwd to use netscape / other browser for test / how ?

help, vwd and browser difference

wcf service plug-in?

help vwd setup failiure!

help (unable to add data connection)

visual developer

connecting to the internet/data sources

   
  Privacy | Contact Us
All Times Are GMT