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 connection string?forum connection string?
Previous
 
Next
New Post
9/8/2006 3:19 PM
 

I am currently trying to set a site up with discountasp

 

I have a basic portal and and additional portal set up

Unfortunately I get an error when trying to add the forum module to a page

A critical error has occurred.
Login failed for user 'SQLdnn_user'
 
the module is added and can be moved about the page
but then when trying to access the module settings to edit it I see this error
Error: Module is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) at DotNetNuke.Modules.Forum.ModuleSettings.LoadSettings() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
 
This seems to indicate the databse hasnt been updated properly when adding the module but I cant work out why - the connect string must be OK as I have access to the site - I can add other modules OK so far (HTML/Text tried so far)
 
a different connection string was suggested and tried (it had extra about server id and security)
 
I tried a bit more testing and then got
 

html/text module is ok but the FAQs module generates the following when it is added

Error: FAQs is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Login failed for user 'SQLdnn_user'. ---> System.Data.SqlClient.SqlException: Login failed for user 'SQLdnn_user'. 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.FAQs.SqlDataProvider.GetFAQs(Int32 ModuleId) at DotNetNuke.Modules.FAQs.FAQsController.GetFAQs(Int32 ModuleId) at DotNetNuke.Modules.FAQs.FAQs.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

I was asked to check if I had updated my passwork in the control panel which I duly ensured was done and reset the details in the connection string\

 

I can see some modules and pages so it is clear the database is being accessed and updated  but these modules obviously cause problems

I have been asked to verify:

Could it be that it (forum module) uses a different connection string?

Does it?? 

 

 

Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
9/8/2006 7:56 PM
 

The forum does NOT use a seperate connection string. Based on the error also affecting the FAQ module, I think your web.config databaseowner or more likely, the object qualifier is off or has been changed.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
9/16/2006 12:49 AM
 
Thanks  -I tried a few different things but have now given up and am trying another host provider

Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumforum connection string?forum connection string?


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