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 ForumsAnnouncementsAnnouncementsError in Announcements in DNN 4.3.4Error in Announcements in DNN 4.3.4
Previous
 
Next
New Post
9/4/2006 5:03 AM
 

I Just put up DNN 4.3.4 in a test directory hosted by 1and1.com.  After hours of frustration I finally go most of it working properly; however, the the Announcements module returns the following error

Error: Announcements is currently unavailable.
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.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Announcements.SqlDataProvider.GetAnnouncements(Int32 ModuleId, DateTime StartDate, DateTime EndDate) at DotNetNuke.Modules.Announcements.AnnouncementsController.GetAnnouncements(Int32 ModuleId, DateTime StartDate, DateTime EndDate) at DotNetNuke.Modules.Announcements.Announcements.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Does anyone have a fix for this?

The Links module returned a simular error and I found a fix in the Links Forum @

http://dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/45/threadid/46120/scope/posts/Default.aspx

This corrected an error created when MSSql server 2000 was hosted and dbo had to be changed in the web.config.  I'm thinking along these lines and am working to fix this problem any help would be appreciated.

 
New Post
9/4/2006 5:12 AM
 

I still haven't found the cause of this, right now my the info i have suggests that it is caused by an upgrade gone wrong. Did you upgrade from a previous version?

cheers,

Erik


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
9/4/2006 6:37 AM
 

No this was a fresh install using the source files extracted to the directory and a new MSSql 2000 database. 

After renaming release.config to web.config I made the following changes.

Commented out the Connection String for SQL Server 2005 Express in both the <Connection strings> and <appsettings> and uncommented the connection strings for Sql Server 2000 - 2005

<add name="SiteSqlServer" connectionString="Server=MSSqlServer;Database=DatabaseName;uid=UserID;pwd=Password;" providerName="System.Data.SqlClient" />

<add key="SiteSqlServer" value="Server=MSSqlServer;Database=DatabaseName;uid=UserID;pwd=Password;" providerName="System.Data.SqlClient" />

Enabled impersonation by Un-commenting

<identity impersonate="true"/>

Disable changes in maximum file size by commenting out The tag

<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192"/>

Changed the database owner In the section <data defaultProvider="SqlDataProvider">

databaseOwner="dbo -- TO -- databaseOwner="dbo123456789"

Then I entered the website using the /Install/Install.aspx and the installation was completed.

I have noticed several problems in the modules and am slowly trying to identify and repair them they seem to be more of the string in the wrong format than anything else.

Thanks Again

 
New Post
9/4/2006 10:36 AM
 

hmm.. only the change of the dbo name seems significant.. i will have a look at that.... Thanks for the info!

cheers,

Erik


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
9/7/2006 8:35 PM
 

Trying to fix errors in other modules I noticed everywhere there were errors I made the following changes.

In all the SqlDataProvider files

Change {databaseowner}sysobjects to dbo.sysobjects

My site is hosted and the MSSql server can only be accessed from the website using username and password and changeing the database owner to my user name as I am the {DatabaseOwner}.

I don't have time right now to completely test the module right now but it does at least work.

Also the naming of Database Tables and Procedures would be a whole lot easier to follow if they were like some of the other modules ie Announcements_GetAnnouncements then they would all be grouped together and identifiable as belonging to the Announcements Module.

Thank You

Bill

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsError in Announcements in DNN 4.3.4Error in Announcements in DNN 4.3.4


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