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 ForumsForumForumCritical error: Incorrect syntax near Critical error: Incorrect syntax near '1'
Previous
 
Next
New Post
3/11/2007 6:36 PM
 
Hi, this is my problem:
I am getting this error using the portal admin login. It started after updating the user settings in forum administration. I had added so new parameters to the user settings. Below is the stack trace taken from the log viewer for this error.
AssemblyVersion: 04.04.00
PortalID: 0
PortalName: Informatori Scientifici Farmaco
UserID: 2
UserName: admin
ActiveTabID: 54
ActiveTabName: Forum
RawURL: /Forum/tabid/54/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.informatori.info/Archivio_Orari_Medici_Medicina_Generale/tabid/153/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Avant Browser; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 1381e6b8-bdf7-418e-98ec-1f83ece09a08
InnerException: Incorrect syntax near '1'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.OnError
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Incorrect syntax near '1'. ---> System.Data.SqlClient.SqlException: Incorrect syntax near '1'. in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) in System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) in System.Data.SqlClient.SqlDataReader.SetMetaData(_SqlMetaDataSet metaData, Boolean moreInfo) in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) in System.Data.SqlClient.SqlDataReader.ConsumeMetaData() in System.Data.SqlClient.SqlDataReader.get_MetaData() in System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) in System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) in System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) in System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) in System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) in System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) in Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) in Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) in DotNetNuke.Modules.Forum.SqlDataProvider.WhatsNewGetAll(Int32 ModuleID, Int32 NumberOfThread, Int32 UserID, DateTime FromDate, DateTime ToDate, String Filter) in DotNetNuke.Modules.Forum.WhatsNewController.WhatsNewGetAll(Int32 ModuleID, Int32 NumberOfThread, Int32 UserID, DateTime FromDate, DateTime ToDate, String Filter) in DotNetNuke.Modules.Forum.WhatsNewCollection.PopulateCollection() in DotNetNuke.Modules.Forum.WhatsNewCollection..ctor(Int32 ModuleID, Int32 TrackedDuration, ForumUser User) in DotNetNuke.Modules.Forum.WhatsNewCollection.GetCollection(Int32 ModuleID, Int32 TrackedDuration, ForumUser User) in DotNetNuke.Modules.Forum.Groups.RenderWhatsNew(HtmlTextWriter wr) in DotNetNuke.Modules.Forum.Groups.RenderInfoContent(HtmlTextWriter wr) in DotNetNuke.Modules.Forum.Groups.Render(HtmlTextWriter wr) in DotNetNuke.Modules.Forum.ForumBaseControl.Render(HtmlTextWriter wr) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in ASP.desktopmodules_forum_forum_container_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.Control.Render(HtmlTextWriter writer) in DotNetNuke.Entities.Modules.PortalModuleBase.Render(HtmlTextWriter output) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) in System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.Control.Render(HtmlTextWriter writer) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) in System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in ASP.portals__default_skins_speerio_z_default_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.Control.Render(HtmlTextWriter writer) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.Control.Render(HtmlTextWriter writer) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) in System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) in System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) in System.Web.UI.Page.Render(HtmlTextWriter writer) in DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) in System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) in System.Web.UI.Control.RenderControl(HtmlTextWriter writer) in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- Fine dell'analisi dello stack dell'eccezione interna ---
Source:
we can help me?
 
New Post
3/13/2007 2:16 AM
 

I am not exactly sure what is causing this, you can turn off the What's New and it should go away. The What's New has been removed from the upcomming version of the module.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
3/13/2007 6:03 PM
 
Crispy wrote

I am not exactly sure what is causing this, you can turn off the What's New and it should go away. The What's New has been removed from the upcomming version of the module.

Thanks,

I turn off the option "ENABLE FOOTER" in Forum settings and the forum (in Admin & Host) work again!

And now?  I Can't use the what's new of the forum...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumCritical error: Incorrect syntax near Critical error: Incorrect syntax near '1'


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