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.