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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Login ErrorLogin Error
Previous
 
Next
New Post
2/9/2008 2:45 PM
 

Please change the localhost text to (local), as localhost only works if the correct netlibs have been installed i.e.

<connectionStrings>
    <!-- Connection String for SQL Server 2000/2005
    -->
<add name="SiteSqlServer" connectionString="data source=(local);integrated security=SSPI;initial catalog=w1090867_geoandar" />
 </connectionStrings>

and

  <appSettings>
    <add key="SiteSqlServer" value="data source=(local);integrated security=SSPI;initial catalog=w1090867_geoandar"/>

.... other tags.....

</appSettings>


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/9/2008 4:09 PM
 

I have just done it (again), and the error continues appearing.
What I do not understand is why I only  obtain the mistake with the login module.

 
New Post
2/9/2008 8:56 PM
 

I upgraded a 3x site to a 4x site today and am having the exact same issue.  Site is fully functional, except when I try to log in.  Login page will not display - only critical error message : Object reference not set to an instance of an object.

 
New Post
3/8/2010 4:34 PM
 

I know this is an old thread, but it is still coming up at the top on Google for related errors.

The only way I was able to get this to work was to skip the Windows authentication and declare my own userid and password. Here are my connection strings that fixed my issue:

<connectionstrings></connectionstrings>

<add name="SiteSqlServer" connectionstring="Data Source=.\;Initial Catalog=CEN_DNN;User Id=user;Password=pass" providername="System.Data.SqlClient"></add>

<appsettings></appsettings>

<add name="SiteSqlServer" connectionstring="Data Source=.\;Initial Catalog=myDatabase;User Id=user;Password=pass" providername="System.Data.SqlClient"></add>

 

Hope that helps someone. Very frustrating.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Login ErrorLogin Error


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