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













creating colection for object

image dimensions

can you run old asp and .net in tandem?

combining web.config files

problems with reading ansi text file...

ssl page issues

sqlcommand error

syndicationfeed and gmail feed atom 3.0 problem

pet shop microsoft

sending email to various users when date is due (auto)

ppc engine?

menu building from file system

how to use a custom class?

getting server's local time

how to save profile properties in cookie?

recording voice in asp.net 2.0 application

lf advice to write an app that displays data changed weekly

making a tag using &

panel height (pls read on)

saving an email copy when sending mail using mailmessage

could not load the assembly 'app_web_dqk773cr'. make sure that it is compiled before accessing the page.

how to check for identical values in a column and join them?

using a wildcard mapping for integrating asp.net security with classic asp…

help c# snippet. causing a global error.

simple script to login

capture date and time

selectsinglenode with namespacemanager

zipping file with asp.net c#

registration with email confirmation page problem

setting up a .net web server

slideshow in asp.net web matrix starter kit

updating database

unique filtered data by logged on user

asp.net to html

i am not allowed to change the names of my server controls!! :(

help getting started

problems with ascx file not displaying its info

is possible to use menu bar written in javascript in asp.net?

simple input form

datagrid hyperlinkcolumn

need help with .net remoting

anyone have an idea....

financial.net

html and javascript inside the c# function

accessing a sub with parameters from an imagebutton

added upload button dynamically

system.unauthorizedaccessexception: access is denied

google adsense code is not working in .aspx

c# with asp.net

if textbox1.text = "" then

   
  Privacy | Contact Us
All Times Are GMT