Register   Login
     
  Latest Posts  
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/09/2009 11:53 AM
Reduce the text size of the description in RSS feeds
by schotman on 1/09/2009 10:49 AM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/09/2009 9:49 AM
RE: Embed the coolest google local search map control
by aviavia on 1/09/2009 8:06 AM
RE: Embed the coolest google local search map control
by odove on 1/09/2009 6:43 AM
RE: Ligtbox effect does not working in DNN 5
by David Eccles on 1/09/2009 6:11 AM
Changing The Home Directory.
by rtnovak on 1/09/2009 1:03 AM
RE: Updating Simple Gallery
by rtnovak on 1/09/2009 12:54 AM
RE: Select Image Button does not work.
by rtnovak on 1/09/2009 12:53 AM
Updating Simple Gallery
by rtnovak on 1/08/2009 9:59 PM
  Forums  
Subject: Unhandled error loading module.
Prev Next
You are not authorized to post a reply.

Author Messages
Vasilis TerzopoulosUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:15

12/08/2006 3:09 AM  
I'm trying to install NewsArticles locally on a fresh DNN 4.3.7 and although the installation goes without problems when I put the module on a page I get the error below.

I am on WinXP Pro and I use SQL Server 2005 Express Edition and IIS 5.1

DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> 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.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) 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 DnnForge.NewsArticles.SqlDataProvider.GetArticleListBySearchCriteria(Int32 moduleID, Int32[] categoryID, Int32 maxCount, Int32 maxAge, Boolean isApproved, DateTime startDate, String keywords, Boolean showHiddenAndExpired, Int32 authorID, Boolean showFeaturedOnly, String sortBy, Int32 month, Int32 year) at DnnForge.NewsArticles.ArticleController.GetArticleList(Int32 moduleID, Int32[] categoryID, Int32 maxCount, Int32 maxAge, Boolean isApproved, DateTime startDate, String keywords, Boolean showHiddenAndExpired, Int32 authorID, Boolean showFeaturedOnly, String sortBy, Int32 month, Int32 year) at DnnForge.NewsArticles.ucListing.BindListing() at DnnForge.NewsArticles.ucNewsListing.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.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DnnForge.NewsArticles.NewsArticles.LoadControlType() at DnnForge.NewsArticles.NewsArticles.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 ---

DotNetNuke Skins and Resources
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12820


12/08/2006 3:12 AM  
Do you have the connection string in appSettings set?

This is different to the connection string in the new config area for connection strings in asp.net 2.0

The reason you have to set it in appSettings it that the module is written in ASP.NET 1.1 so it runs on both DNN 3 and 4.

Scott McCulloch
Site Administrator
Vasilis TerzopoulosUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:15

12/08/2006 3:29 AM  
Thanks Scott!

My daughter was just born (2 weeks) and my mind is flying...

DotNetNuke Skins and Resources
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12820


12/08/2006 3:34 AM  
Congratulations! It must be hard to work at a time like that.. !

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > General > Bugs & Problems > Unhandled error loading module.



ActiveForums 3.7