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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Trusted connection in DotNetNukeTrusted connection in DotNetNuke
Previous
 
Next
New Post
11/8/2007 11:02 AM
 

I encountered an intereseting problem this week.

We have a DNN portal on one of our web servers, not a hosted plan, and everytime the application pool would recycle or restart we would get an 'Under Construction' page (/Install/UnderConstruction.htm) the very first time we navigated to the portal.  If we refreshed the page the portal would work great until the application pool was restarted again.

Looking into the applicaiton event logs on the web server we noticed that everytime we recieved the Under Construction page we would also see two .Net errors in the application even log.  The errors in the event log indicated a failure trying to log into SQLServer.  The login reported in the error messages was [DomainName]\[ServerName]$.

The policy on our web server is to use Trusted connections so our DotNetNuke connection string was: "server=MSSQL01;database=DotNetNuke;Integrated Security=true". Upon seeing the errors in the even log, and not finding any other cause for the errors, we updated our connection string to use a SQL Authenticated login: "server=MSSQL01;database=DotNetNUk;uid=dnnuser;pwd=ourpassword"

This change fixed our errors.  We can now recycle the application pool as much as we want and the portal comes right backup. So my questions is:

Does anybody know why DotNetNuke would be having problems using a trusted connection during application start up?  We really would prefer not to store our passwords in our web.config file.

Thanks, for any suggestions you may have.

 
New Post
11/8/2007 3:17 PM
 

Make sure SQL 2005 is set for mixed mode, both SQL and Windows authentication, you do this in the properties of the database server in SSMS.

HTH Tom

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Trusted connection in DotNetNukeTrusted connection in DotNetNuke


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