Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Parameter count does not match Parameter Value count
Previous Previous
 
Next Next
New Post 8/23/2006 12:24 AM
User is offline Praveen B
47 posts
10th Ranked


Parameter count does not match Parameter Value count 

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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Parameter count does not match Parameter Value count
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com
Code Endeavors, LLC
Do you Endeavor to Enhance your DotNetNuke designs by utilizing AJAX technologies to more efficient interactive web experiences
www.codeendeavors.com
T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP