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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Parameter count does not match Parameter Value countParameter count does not match Parameter Value count
Previous
 
Next
New Post
8/23/2006 2:24 AM
 

Dear friends

A web portal developed in DNN 4.0.2.

I made some changes in my SQL Server 2005 database, like adding new tables, adding new columns to existing tables, changing the properties of table fields, etc. Now I need to update these changes in the DataProvider.vb, SQLDataProvider.vb and the respective "XXXXXXcontroller.vb" and "XXXXXXinfo" files.

I did these changes manually, and I am into error state now (given below). Is there any way that we can do this updations by building or something.???

Please reply with your valuable suggestions. Thanking you in advance.

Praveen

AssemblyVersion: 04.00.02
Method: Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Our website
UserID: 3
UserName: counter1
ActiveTabID: 36
ActiveTabName: Our website
AbsoluteURL: /OurWebsite/Default.aspx
AbsoluteURLReferrer: http://localhost/OurWebsite/OurWebsite/tabid/36/Default.aspx
ExceptionGUID: e8afd8e5-1975-4398-8cd4-c3b9b7f8f5f2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Parameter count does not match Parameter Value count.
Message: DotNetNuke.Services.Exceptions.PageLoadException: 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 OurWebsite.Modules.LTShare.SqlDataProvider.AddLTBookingTemp(Int32 tripID, String name, String contactNo, String address, Byte seatsPurchased, Double amountTransacted, String receiptNo, DateTime bookingDate, String destination, String paymentMode, String counterID) in c:\inetpub\wwwroot\OurWebsite\App_Code\LTShare\SqlDataProvider.vb:line 139 at OurWebsite.Modules.LTShare.LTBookingTempController.Add(LTBookingTempInfo objLTBookingTemp) in c:\inetpub\wwwroot\OurWebsite\App_Code\LTShare\LTBookingTempController.vb:line 98 at OurWebsite.Modules.LTBookingGUI.ViewLTBookingGUI.cmdFinish_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\OurWebsite\DesktopModules\LTBookingGUI\ViewLTBookingGUI.ascx.vb:line 552 at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: MyComputer

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Parameter count does not match Parameter Value countParameter 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