Hi!
Iam using DNN 4.08.02 with the AD integration installed.
For the AD integration to function I have to add the row:
"<identity impersonate="true" userName="domain\usr" password="pw" />" in web.config.
Sometimes I then get a errormessage accessing my site. When I remove the "identity impersonate" line in web.config the error goes
away (But the AD integration dont work).
The error is:
Cannot open user default database. Login failed.
Login failed for user 'domain\usr'.
[SqlException (0x80131904): Cannot open user default database. Login failed.
Login failed for user 'ds_nt\nh'.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +435
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) +204
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) +303
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) +154
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) +36
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +200
DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.GetLogTypeConfigInfo() +68
DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLogTypeConfigInfo() +108
DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLogTypeConfigInfoByKey(String LogTypeKey, String LogTypePortalID) +62
DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.AddLog(LogInfo objLogInfo) +72
DotNetNuke.Services.Log.EventLog.LogController.AddLog(LogInfo objLogInfo) +188
I dont realy know exactly what "identity impersonate="true"" does.
1) Do I have to activate this to use the AD integration?
2) Wy is it sometimes messing up my database connection?
Thanks!