Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListUDT failure: Parameter count does not match Parameter Value count.UDT failure: Parameter count does not match Parameter Value count.
Previous
 
Next
New Post
2/13/2009 12:37 PM
 

    After I upgrade from DNN 4.0.3 to 4.0.9, it works fine until I try to add the "user defined table".

    This is the first table, so it has the expected warning message, then I click the "manage user defined table" icon, and the error message pop up.

    Here it is the event viewer message.

ModuleId: 374
ModuleDefId: 123
FriendlyName: Manage User Defined Table
ModuleControlSource: DesktopModules/UserDefinedTable/ManageUserDefinedTable.ascx
AssemblyVersion: 04.09.01
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 36
ActiveTabName: Home
RawURL: /DotNetNuke/Home/tabid/36/ctl/Manage/mid/374/Default.aspx
AbsoluteURL: /DotNetNuke/Default.aspx
AbsoluteURLReferrer: http://localhost/DotNetNuke/Home/tabid/36/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e9019b33-a518-4896-93a8-be1f02f7e253
InnerException: Parameter count does not match Parameter Value count.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.UserDefinedTable.SqlDataProvider.AddField(Int32 ModuleId, String FieldTitle, Int32 BeforePos, String HelpText, Boolean Required, String FieldType, String Default, Boolean Visible, Boolean ShowOnEdit, Boolean Searchable, String InputSettings, String OutputSettings, Boolean NormalizeFlag, String validationRule, String validationMessage) at DotNetNuke.Modules.UserDefinedTable.UserDefinedTableController.AddField(Int32 ModuleID, String FieldTitle, Int32 before, String HelpText, Boolean Required, String FieldType, String Default, Boolean Visible, Boolean ShowOnEdit, Boolean Searchable, String InputSettings, String OutputSettings, Boolean NormalizeFlag, String validationRule, String validationMessage) at DotNetNuke.Modules.UserDefinedTable.UserDefinedTableController.GetFieldsTable(Int32 ModuleId, Boolean AddNewColumn, Boolean AddTrackColumns) at DotNetNuke.Modules.UserDefinedTable.ManageUserDefinedTable.BindData(Boolean blnInsertField) at DotNetNuke.Modules.UserDefinedTable.ManageUserDefinedTable.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

    Not sure what is going on, and really like to find the solution for it.

    Thanks.

 

    

 
New Post
2/13/2009 5:46 PM
 

which version of UserDefinedTable are you using - now and before the upgrade?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/14/2009 4:55 PM
 

   It used to be 3.0.3 (or 3.3, which is default for dnn 4.0.3), now it is 3.5.1,.

 

 
New Post
2/14/2009 6:50 PM
 

 if you don't have a risk of loosing existing data in a UDT instance, remove the module in Host :: Module Definitions and re-install.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/18/2009 1:09 PM
 

    After uninstall, and reinstall, it works now, great thanks.

    Just like to know a little bit beyond the UDT, is there anyway that I can set up a role to control its own UDT table and content.

    For example:

     In our church, I like to set up different groups, and inside the group, they can build the UDT based contents, such as contact information, each group will has its own group admin, who should able to add new UDT based contents, such as new group member information, I am not very sure how to work this out.

     Thanks.

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListUDT failure: Parameter count does not match Parameter Value count.UDT failure: Parameter count does not match Parameter Value count.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out