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...Performance and...Performance and...Login problems after changin authentication mode Login problems after changin authentication mode
Previous
 
Next
New Post
3/4/2010 4:05 AM
 

Hi,

Im using DNN 4.8 and i have problem login with host user after i switched from sql authentication to windows authentication.

i get this message:

A critical error has occurred.

Object reference not set to an instance of an object.

The only thing i configured was changing the web.config in several places

1. connection string:

<connectionStrings>
    <!-- Connection String for SQL Server 2000/2005 -->
    <add name="SiteSqlServer" connectionString="Data Source=localhost;Initial Catalog=DotNetNuke; Integrated Security=SSPI;" providerName="System.Data.SqlClient" />
  </connectionStrings>

2. I enabled win aut mode in  web.config and disabled forms aut:


    <authentication mode="Windows"/>
    <identity impersonate="true" userName="SERVER\Administrator" password="**************"/>

 

after i did first 2 things i was able to access web page and data base  using win authentication , but then i get the "critical error ....." message mentioned above , when i try to login like host user.

3. And after i get the "critical error...." message i added module in <httpmodules> tag:

<add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" />

but nothing changed.

Can someone help me with this problem?

Thank you.

 

 

 
New Post
3/4/2010 12:47 PM
 

FIC what exactly are you trying to do, get your SQL connection to use windows authentication? Or actually have DNN handle your authentication using Windows and Active Directory?


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
3/5/2010 2:52 AM
 

i want web server to access on the locall web server  database using win aut

previously  was set to use database on the sql server , but now i transfer database on the local web server and i whant to set up  so that

web page can access the database locally using win aut.

web server is using win 2003 r2 , do i need to configure something else in windows , or ....?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Login problems after changin authentication mode Login problems after changin authentication mode


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