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 ForumsForumForumA critical error has occurred. Login failed for user A critical error has occurred. Login failed for user ''...
Previous
 
Next
New Post
2/19/2007 3:29 AM
 

DNN 4.4.1; Forums 03.20.08;

When I put the module on a page I get this error; A critical error has occurred. Login failed for user ''. The user is not associated with a trusted SQL Server connection.

Then when I click on settings for the forum section I get 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 ---

 
New Post
2/19/2007 9:53 AM
 
Be sure to setup both Connection Strings in the web.config file.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
2/23/2007 10:54 AM
 

Hi Chris,

Could you please be a little bit more specific about which two connection strings have to be defined? I'm having the same issue, and I've placed these two connection strings in my web.config:

<

<

<

</

AND:

<

appSettings>

<

<

add key="SiteSqlServer" value="Data Source=.\SQLExpress;Database=XXXX;Integrated Security=SSPI;"/>add key="Connection1" value="Data Source=XXXX;Database=SomeDataService;IntegratedSecurity=SSPI;uid=MyUser;pwd=pass123;" />

I am stumped, they both look correct, and seem to be picked up correctly by my code when I trace in the debugger. Basically my data is in the Connection1 DB, and the DNN configuration is in the SiteSqlServer. For display purposes, I only need Connection1, but DNN needs SiteSqlServer to run. The user has been set up on SomeDataService. Any thoughts on what I'm doing wrong would be greatly appreciated.

Thanks,

Alex

connectionStrings>add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Database=XXX;Integrated Security=SSPI;" providerName="System.Data.SqlClient" />add name="Connection1" connectionString="Data Source=XXXX;Database=SomeDataService;Integrated Security=SSPI;uid=MyUser;pwd=pass123;" providerName="System.Data.SqlClient" />connectionStrings>
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumA critical error has occurred. Login failed for user A critical error has occurred. Login failed for user ''...


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