Wrox Programmer Forums
|
ASP E-commerce As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP E-commerce section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 7th, 2003, 02:12 AM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning E-Commerce-Chapter 3

Book by Matthew Reynolds--stuck in Chapter 3 page 82, Item 3--did not get "Wait for Components to be created" and went on to #4-View in Browser--got the following error on browser page:

Technical Information (for support personnel)
• Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'Version'
/JoCoffee_Local/WroxCommerceTest2.asp, line 19
• Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
• Page:
GET /JoCoffee_Local/WroxCommerceTest2.asp

MY VB level is beginner and no ASP experience--can someone walk me through this error and get going onto the remainder of the chapter perhaps to finish the book? Getting frustrated---thanks!
 
Old June 12th, 2003, 11:37 PM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It looks like your Visit object is being substantiated properly, but you have an error in the Version property that you created in step 1. Check for typo's in the VB code.

On a further note, you will get frustrated many times through the course of the book, but stick with it and you will learn alot. I know I did...
 
Old October 27th, 2003, 03:29 PM
Registered User
 
Join Date: Oct 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to suvi65
Default

Hi
 Please check the Visit class Property Version. Check if the method is contructed as this:

Public Property Get Version() As String

  Version=App.Major & "." & App.Minor & "." & App.Revision

End Property

If your method is constructed like this:

Private Property Get Version() As String

  Version=App.Major & "." & App.Minor & "." & App.Revision

End Property, you will get the error, property not supported as private methods cannot be accessed in ASP




 
Old November 2nd, 2003, 08:08 PM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by jaco
 It looks like your Visit object is being substantiated properly, but you have an error in the Version property that you created in step 1. Check for typo's in the VB code.

On a further note, you will get frustrated many times through the course of the book, but stick with it and you will learn alot. I know I did...
Thanks for the help--sorry, but just got these posts???
 
Old November 2nd, 2003, 08:10 PM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by suvi65
 Hi
Please check the Visit class Property Version. Check if the method is contructed as this:

Public Property Get Version() As String

Version=App.Major & "." & App.Minor & "." & App.Revision

End Property

If your method is constructed like this:

Private Property Get Version() As String

Version=App.Major & "." & App.Minor & "." & App.Revision

End Property, you will get the error, property not supported as private methods cannot be accessed in ASP
Thanks--just got this post--I have put the book on the shelf for a later time as I start night school and have to devote my time to studies--thanks again





Similar Threads
Thread Thread Starter Forum Replies Last Post
beginning E-Commerce Mayell All Other Wrox Books 0 July 15th, 2007 02:13 AM
Beginning E-Commerce RavenKnight All Other Wrox Books 1 April 8th, 2005 07:11 AM
beginning e-commerce -Dman100- All Other Wrox Books 0 June 21st, 2004 06:43 PM
Beginning E-Commerce mfunk All Other Wrox Books 0 June 26th, 2003 02:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.