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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
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.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Announcements M...  Parameter count does not match error in 3.3.4 (in dNN 3.3.3 and 3.3.4)
Previous Previous
 
Next Next
New Post 10/5/2006 1:16 PM
User is offline Martin van Balkom
28 posts
10th Ranked


Re: Parameter count does not match error in 3.3.4 (in dNN 3.3.3 and 3.3.4) 
 ErikVB wrote

replace in all sqlDataProvider files this:
  {databaseOwner}sysObjects
into
  dbo.sysObjects

Hmm... something is wrong with this. There does not seem to be any  "{databaseOwner}sysObjects" in the SqlDataProvider files. But there are instances of dbo.sysObject. So it should be the other way around? I.e.

replace in all sqlDataProvider files this:
  dbo.sysObjects
into
  {databaseOwner}sysObjects

???

(Note: I did that, and am still getting errors during installation, saying that "user01.sysObjects" does not exist.)

 
New Post 10/6/2006 2:38 AM
User is offline ErikVB
3073 posts
www.apollo-software.nl
4th Ranked










Re: Parameter count does not match error in 3.3.4 (in dNN 3.3.3 and 3.3.4) 

the faulty {databaseOwner}sysObjects can be found in the following files:

  • 03.03.00.SqlDataProvider
  • 03.03.02.SqlDataProvider
  • 03.03.04.SqlDataProvider

The "Parameter count does not match Parameter Value count" error is caused by a change in the sprocs that is not applied if you db user does not have DBO rights. This seems to be a common practice in shared hosting environments

Maybe a quicker fix would be this (run all scripts from host>sql)

 drop procedure {databaseOwner}{objectQualifier}GetAnnouncements

next run this script:

CREATE procedure {databaseOwner}{objectQualifier}GetAnnouncements

@ModuleId int,
@StartDate datetime,
@EndDate datetime

as

select {objectQualifier}Announcements.ItemId,
       {objectQualifier}Announcements.ModuleId,
       {objectQualifier}Announcements.CreatedByUser,
       {objectQualifier}Announcements.CreatedDate,
       {objectQualifier}Announcements.Title,
       {objectQualifier}Announcements.URL,
       {objectQualifier}Announcements.Description,
       {objectQualifier}Announcements.ViewOrder,
       {objectQualifier}Announcements.PublishDate,
       {objectQualifier}UrlTracking.TrackClicks,
       {objectQualifier}UrlTracking.NewWindow
from   {objectQualifier}Announcements
left outer join {objectQualifier}UrlTracking on {objectQualifier}Announcements.URL = {objectQualifier}UrlTracking.Url and {objectQualifier}UrlTracking.ModuleId = @ModuleID
where  {objectQualifier}Announcements.ModuleId = @ModuleId
and    ( (({objectQualifier}Announcements.PublishDate >= @StartDate) or @StartDate is null) and (({objectQualifier}Announcements.PublishDate <= @EndDate) or @EndDate is null) )
order by {objectQualifier}Announcements.ViewOrder asc, {objectQualifier}Announcements.PublishDate desc

These two scripts will fix the GetAnnouncements sproc on your dnn instance.

The next version of announcements just entered the module release process, i hope it will be cleared for release soon.....

cheers,

Erik


Erik van Ballegoij,
a view from my attic, my personal blog

The personal blog of Erik van Ballegoij

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Announcements M...  Parameter count does not match error in 3.3.4 (in dNN 3.3.3 and 3.3.4)
 


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.

 


IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke / DNN Hosting
Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com

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