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 ForumsForumForumdifferent portal, different forum getting errordifferent portal, different forum getting error
Previous
 
Next
New Post
5/11/2006 1:34 PM
 

I have 2 portals on my DNN setup, the main forum on the main portal works jsut fine.  The 2nd portal with a forum module attached gets this error when trying to load the page.  It used to work.  Looks like an order by or something is messing up.  Whats happeneing?

 

InnerException: Incorrect syntax near the keyword 'BY'.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Incorrect syntax near the keyword 'BY'. ---> System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'BY'. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Forum.SqlDataProvider.WhatsNewGetAll(Int32 ModuleID, Int32 NumberOfThread, Int32 UserID, DateTime FromDate, DateTime ToDate, String Filter) at DotNetNuke.Modules.Forum.WhatsNewController.WhatsNewGetAll(Int32 ModuleID, Int32 NumberOfThread, Int32 UserID, DateTime FromDate, DateTime ToDate, String Filter) at DotNetNuke.Modules.Forum.WhatsNewCollection.PopulateCollection() at DotNetNuke.Modules.Forum.WhatsNewCollection..ctor(Int32 ModuleID, Int32 TrackedDuration, ForumUser User) at DotNetNuke.Modules.Forum.WhatsNewCollection.GetCollection(Int32 ModuleID, Int32 TrackedDuration, ForumUser User) at DotNetNuke.Modules.Forum.Groups.RenderWhatsNew(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Groups.RenderInfoContent(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Groups.Render(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.ForumBaseControl.Render(HtmlTextWriter wr) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at _ASP.Forum_Container_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at DotNetNuke.Entities.Modules.PortalModuleBase.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.Default_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:


http://www.jiltedcitizen.com
 
New Post
5/15/2006 7:51 PM
 
    Any reason for this?  Why would 1 instance work and not another? 

http://www.jiltedcitizen.com
 
New Post
5/15/2006 10:00 PM
 

It has something to do with the What's New. I am guessing there is a module setting not present, not sure.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
5/16/2006 3:32 PM
 
Do you think there is a way to fix it?  It did work before.  I have not tried just deleteing the module and adding a new one.  There are a total of like 3 posts so no biggie there.  As long as you know of the potential problem.  If I ever get traffic there I just want to know how to fix it.  I'll look into it more.  Thanks.

http://www.jiltedcitizen.com
 
New Post
5/16/2006 7:06 PM
 

Nick,

I haven't tested the forums much in the multi-portal enviroment to be honest. Not certain of the error, do you happen to be accessing it with host when this happens? Does it happen to every single user?

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumdifferent portal, different forum getting errordifferent portal, different forum getting error


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