p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 3.5 AJAX ISBN: 9780470392171
This is the forum to discuss the Wrox book Professional ASP.NET 3.5 AJAX by Bill Evjen, Matt Gibbs, Dan Wahlin ; ISBN: 9780470392171
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 3.5 AJAX ISBN: 9780470392171 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 2nd, 2009, 08:24 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default vague parameter count mismatch error

team,

I'm on chapter 11, "building custom controls" and am getting a "Microsoft JScript runtime error: Sys.ParameterCountException: Parameter count mismatch." error during debugging session on the following line:

Code:
Wrox.ASPAJAX.Samples.Song.initializeBase(this);
I've tried going into the initializeBase method in hopes of finding something through debugging but can't make out the nest of javascript code that is the MS AJAX library. :)

Any ideas as to what may be causing this error?


thanks,
goose
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old October 2nd, 2009, 10:08 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The error is really just that -- you didn't pass the right number of parameters. Does the constructor in the base class take any parameters? If so, you need to pass them into initializeBase: initializeBase(this, [arg1, arg2, etc]). If it is control or behavior it at least takes an 'element' parameter.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parameter Count Exception prateekcool007 C# 0 July 26th, 2007 12:05 PM
System.Reflection Error. Parameter count mismatch macupryk VB.NET 0 April 8th, 2005 08:18 PM
Checkboxes and count parameter srotondo ASP Forms 5 November 12th, 2004 11:24 AM
Checkboxes and the Count Parameter srotondo Javascript How-To 1 November 10th, 2004 05:38 AM
Vague Error Message When Creating MDE SerranoG Access 4 October 17th, 2003 08:49 AM



All times are GMT -4. The time now is 08:07 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Wiley Publishing, Inc