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: 9/25/2005 10:05:13 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 112 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
"boxbuilder" <>
NewsGroup User
error BC30455 - Argument not specified for parameter 'password'9/25/2005 10:05:13 PM

0

Hi,
For the commerce starter kit, although I have added additional fields to the Register Page and Customer Table, I have not changed anything regarding the password, so I have no idea how I have received this error.

The password is encrypted as follows in the Register.aspx.vb file:
"ASPNET.StarterKit.Commerce.Security.Encrypt(Password.Text))"

But in the Public Function AddCustomer, password is simply a part of the definition of the string:
Public Function AddCustomer(fullName As String, address As String, suburb As String, postcode As String, state As String, country As String, telephone As String, fax As String, mobile As String, email As String, password As String) As String

Maybe I have not declared a variable somewhere, or have omitted an "Imports" statement ???!!!

Thanks for your help
paul m

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

Compiler Error Message: BC30455: Argument not specified for parameter 'password' of 'Public Function AddCustomer(fullName As String, address As String, suburb As String, postcode As String, state As String, country As String, telephone As String, fax As String, mobile As String, email As String, password As String) As String'.

Source Error:

Line 73:             ' Add New Customer to CustomerDB database
Line 74:             Dim accountSystem As ASPNET.StarterKit.Commerce.CustomersDB = New ASPNET.StarterKit.Commerce.CustomersDB()
Line 75:             Dim customerId As String = accountSystem.AddCustomer(Server.HtmlEncode(Name.Text), Email.Text, Address.Text, Postcode.Text, State.Text, Country.Text, Telephone.Text, Fax.Text, Mobile.Text, ASPNET.StarterKit.Commerce.Security.Encrypt(Password.Text))
Line 76:             If customerId <> "" Then
Line 77:
 

Source File: C:\Inetpub\wwwroot\MyWebApp\CommerceVBVS\Register.aspx.vb    Line: 75

 

Show Detailed Compiler Output:


Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

C:\Inetpub\wwwroot\MyWebApp\CommerceVBVS\Register.aspx.vb(75) : error BC30455: Argument not specified for parameter 'password' of 'Public Function AddCustomer(fullName As String, address As String, suburb As String, postcode As String, state As String, country As String, telephone As String, fax As String, mobile As String, email As String, password As String) As String'.

            Dim customerId As String = accountSystem.AddCustomer(Server.HtmlEncode(Name.Text), Email.Text, Address.Text, Postcode.Text, State.Text, Country.Text, Telephone.Text, Fax.Text, Mobile.Text, ASPNET.StarterKit.Commerce.Security.Encrypt(Password.Text))
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

 

Show Complete Compilation Source:


Line 1:    Imports System.Web.Security
Line 2:   
Line 3:    Public Class Register
Line 4:        Inherits System.Web.UI.Page
Line 5:        Protected WithEvents Name As System.Web.UI.WebControls.TextBox
Line 6:        Protected WithEvents RequiredFieldValidator1 As System.Web.UI.WebControls.RequiredFieldValidator
Line 7:        Protected WithEvents Email As System.Web.UI.WebControls.TextBox
Line 8:        Protected WithEvents RegularExpressionValidator1 As System.Web.UI.WebControls.RegularExpressionValidator
Line 9:        Protected WithEvents RequiredFieldValidator2 As System.Web.UI.WebControls.RequiredFieldValidator
Line 10:       Protected WithEvents Password As System.Web.UI.WebControls.TextBox
Line 11:       Protected WithEvents RequiredFieldValidator3 As System.Web.UI.WebControls.RequiredFieldValidator
Line 12:       Protected WithEvents ConfirmPassword As System.Web.UI.WebControls.TextBox
Line 13:       Protected WithEvents RequiredFieldValidator4 As System.Web.UI.WebControls.RequiredFieldValidator
Line 14:       Protected WithEvents CompareValidator1 As System.Web.UI.WebControls.CompareValidator
Line 15:       Protected WithEvents Address As System.Web.UI.WebControls.TextBox
Line 16:       Protected WithEvents RequiredFieldValidator5 As System.Web.UI.WebControls.RequiredFieldValidator
Line 17:       Protected WithEvents Suburb As System.Web.UI.WebControls.TextBox
Line 18:       Protected WithEvents RequiredFieldValidator11 As System.Web.UI.WebControls.RequiredFieldValidator
Line 19:       Protected WithEvents Postcode As System.Web.UI.WebControls.TextBox
Line 20:       Protected WithEvents RequiredFieldValidator12 As System.Web.UI.WebControls.RequiredFieldValidator
Line 21:       Protected WithEvents State As System.Web.UI.WebControls.TextBox
Line 22:       Protected WithEvents RequiredFieldValidator6 As System.Web.UI.WebControls.RequiredFieldValidator
Line 23:       Protected WithEvents Country As System.Web.UI.WebControls.TextBox
Line 24:       Protected WithEvents RequiredFieldValidator7 As System.Web.UI.WebControls.RequiredFieldValidator
Line 25:       Protected WithEvents Telephone As System.Web.UI.WebControls.TextBox
Line 26:       Protected WithEvents RequiredFieldValidator8 As System.Web.UI.WebControls.RequiredFieldValidator
Line 27:       Protected WithEvents Fax As System.Web.UI.WebControls.TextBox
Line 28:       Protected WithEvents RequiredFieldValidator9 As System.Web.UI.WebControls.RequiredFieldValidator
Line 29:       Protected WithEvents Mobile As System.Web.UI.WebControls.TextBox
Line 30:       Protected WithEvents RequiredFieldValidator10 As System.Web.UI.WebControls.RequiredFieldValidator
Line 31:       Protected WithEvents RegisterBtn As System.Web.UI.WebControls.ImageButton
Line 32:       Protected WithEvents MyError As System.Web.UI.WebControls.Label
Line 33:  
Line 34:  




Line 68:  
Line 69:               ' Store off old temporary shopping cart ID
Line 70:               Dim shoppingCart As ASPNET.StarterKit.Commerce.ShoppingCartDB = New ASPNET.StarterKit.Commerce.ShoppingCartDB()
Line 71:               Dim tempCartId As String = shoppingCart.GetShoppingCartId()
Line 72:  
Line 73:               ' Add New Customer to CustomerDB database
Line 74:               Dim accountSystem As ASPNET.StarterKit.Commerce.CustomersDB = New ASPNET.StarterKit.Commerce.CustomersDB()
Line 75:               Dim customerId As String = accountSystem.AddCustomer(Server.HtmlEncode(Name.Text), Email.Text, Address.Text, Postcode.Text, State.Text, Country.Text, Telephone.Text, Fax.Text, Mobile.Text, ASPNET.StarterKit.Commerce.Security.Encrypt(Password.Text))
Line 76:               If customerId <> "" Then
Line 77:  


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

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


Free Download:













asp.net and dts

vwd 2005 gives errors - frameset dtd xhtml problem?

callback support

dlls and asp.net

cannot target webmatrix to default open .aspx files

text files: reading and writing

using windows 2003 remote desktop web client

check box and stored procedures.

try catch with sql insert

how to display week number in asp ( vb script )

getting appicationid

query!

how to create guid prog.

pure html in code-behind

calendar controls

how do i check if value is not null and not an empty string?

im starting to lose my mind

setting security permissions for folders

used rsacryptoserviceprovider in windows2003!

document classes

general advice on allowing large strings to post into table

how to remove the arrow of the menu .net component?

how to give my app a pair of p.f. flyers?

reporting solutions

efficient way to call method of classes in single transaction

set selected value of dropdown field

images

&quot;unable to start debugging on web server&quot;

exception page

an error has occurred. - error loading module

whidbey is faster ,yukon is not !!!

clone/copy object

how can i fill <asp:dropdownlist> dynamically with data from a db?

grabbing text value from a group of text boxes iteratively

rendering scripts at the end of the page/improving page-load times.

retrieving info from another website without web-service

nt authority\network service

displaying content that keeps changing (mimicing yahoo answers...)?

problem with class scope (i think)

extracting directory from url

image maniuplation: system.drawing / 3rd party?

what the difference bettween a literal control and a regular control

missed dll files

need help forming querystring / dynamic hyperlink ??

asp .net question..

help: persistent cookie is expiring - even after setting expiry date!!

determine selected item in dropdownlist from database

c# and vb files in app_code causes issues

datanavigateurlformatstring by a function

database and data retrieval

   
  Privacy | Contact Us
All Times Are GMT