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 ForumsForumForumForum Module Error in DNN 4.4.1Forum Module Error in DNN 4.4.1
Previous
 
Next
New Post
2/5/2007 10:48 AM
 
I upgraded to DNN 4.4.1 over the weekend, and since the upgrade, the Forum Module is not working. I get the following error on all pages with the forum module on it:

A critical error has occurred.
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

and in the log viewer, I get the following error:

AssemblyVersion: 04.04.01
PortalID: 0
PortalName: [Portal name] modified by bishopaa
UserID: 5
UserName: [username] modified by bishopaa
ActiveTabID: 88
ActiveTabName: Information Technology
RawURL: /portal/Staff/InformationTechnology/tabid/88/Default.aspx
AbsoluteURL: /portal/Default.aspx
AbsoluteURLReferrer: [website URL] - modified by bishopaa
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d9aa3cd4-7b29-4339-ad74-b3a2009cd12b
InnerException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.ProviderBase.DbConnectionPool.GetConnection
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) ---> System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Forum.SqlDataProvider.GroupGetAll(Int32 ModuleID) at DotNetNuke.Modules.Forum.GroupController.GroupGetAll(Int32 ModuleId) at DotNetNuke.Modules.Forum.GroupController.GroupGetAllAuthorized(Int32 ModuleId) at DotNetNuke.Modules.Forum.Groups.CreateChildControls() at DotNetNuke.Modules.Forum.DNNForum.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.Modules.Forum.ForumBaseControl.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: [ServerName] Modified by bishopaa

As I said earlier, I am running DNN 4.4.1 and Forum version 3.20.08. The problem did not occur until after an upgrade from DNN 4.3.4. The site runs on Windows 2003 Server with IIS 6 and SQL 2000. I also run with Active Directory Integration and Windows Authentication. No other modules are having this error that I have found. Thanks in advance for the assistance.

Aaron
 
New Post
2/5/2007 2:29 PM
 
I feel like such an idiot. I forgot to uncomment the backwards compatible connection string. It was still reading the default SQL Express connection string.
 
New Post
2/6/2007 11:42 AM
 

Hi!

I have exactly the same problem, only with the Forum Project but I have web.config correctly. I do not undertand which could be the problem. And I have to say that the problem is not allways!

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.04.01
PortalID: 1
PortalName: PORTALCOMUNIDAD.CL - Condominio Mare Nostrum
UserID: 4
UserName: dpto101
ActiveTabID: 73
ActiveTabName: Foros
RawURL: /marenostrum/Foros/tabid/73/forumid/2/scope/threads/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.portalcomunidad.cl/marenostrum/Foros/tabid/73/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: afb44529-5456-49f7-93b9-bc6d41bac012
InnerException: Error no manejado al agregar el módulo a ContentPane
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Forum.Container.Page_Init
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Error no manejado al agregar el módulo a ContentPane ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.Container.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
Source:
Nombre del Servidor: SOSSERVER

Help is appreciate because I have a portal runnung and I have real problems!!

Thanks

Daniel

 
New Post
2/6/2007 10:51 PM
 

This doesn't even seem to be a forum problem, you may have an issue w/ not having both connection strings set properly, not sure. What I do know is it is not even loading the forum module where it is showing the error.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumForum Module Error in DNN 4.4.1Forum Module Error in DNN 4.4.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