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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumForums failing to connect to new databaseForums failing to connect to new database
Previous
 
Next
New Post
6/5/2014 8:24 PM
 

Hi Guys,
I have tried many times to upgrade my forums from 3.20.9 to something more recent. But each time I have tried I have not met with success. I have another thread on here about that.

Anyway. I was hosting on DASP and they have brought out EverLeap as a new cloud service. I migrated across and all has been made to work except forums on one site. On my www.instantbi-webhosting.com site the forums still work. But on www.instantbi.com, which is a separate physical install, the forums no longer work. I am getting the message below.

Now, as something that might be relevant. I also got a similar message for users online and the media module. In both those cases I just upgraded to a later module and the message went away. So it seems like the message is generated by the way in which the module is trying to open the connection rather than the credentials.

But since I have had no success in upgrading the forum modules in two years I thought I would ask if anyone knows what this message might mean.  Remember. The credentials are correct. And upgrading the other two modules got rid of this message on the other site. The new everleap platform is all the new stuff including IIS8 and SQL Server 2012. It is not surprising such an old module as forums 3.20.9 are not working....and I really wish I could get them successfully upgraded. But that has not proven possible so far. 

Any assistance greatly appreciated.

Best Regards 

Peter 

AssemblyVersion: 6.1.3

PortalID: 0

PortalName: Instant Business Intelligence

UserID: 1

UserName: host

ActiveTabID: 84

ActiveTabName: All Forums

RawURL: /Support/AllForums.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.instantbi.com/Admin/LogViewer.aspx

UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 93a654d9-df23-4736-8827-bb3a21c61aec

InnerException: Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'DB_1210_instantbi_user'.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Data.SqlClient.SqlInternalConnection.

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'DB_1210_instantbi_user'. ---> System.Data.SqlClient.SqlException: Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'DB_1210_instantbi_user'. at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Forum.SqlDataProvider.GroupGetAll(Int32 ModuleID) at DotNetNuke.Modules.Forum.GroupController.GroupGetAll(Int32 ModuleId) at DotNetNuke.Modules.Forum.GroupController.GroupGetAllAuthorized(Int32 ModuleId) at DotNetNuke.Modules.Forum.Groups.CreateChildControls() at DotNetNuke.Modules.Forum.ForumBaseControl.CreateChildControls() at DotNetNuke.Modules.Forum.DNNForum.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.Modules.Forum.ForumBaseControl.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: sharedww016


Best Regards Peter
 
New Post
6/6/2014 2:55 AM
 
the old forum may still use 2nd (un-commented) connection string in your web.config, please make sure, both are identical.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/4/2014 2:59 PM
 

Hi Sebastian/other interested parties,
Yep..the two lines point to the same database with all authorisations correct.

I now have my site copied down to a dev environment on sql server 2012 on a server 2012. I guess I can look in the database log for an error message. Or where would DNN write the actual cause of the login failure? Is there a log that is on the web host that is more detailed than the site log?

I have copied the messages below. It is frustrating to be dealing with these old forums for nearly 2 years and not being able to get them upgraded....sigh. But now I have migrated my hosted sites to Everleap and all 2012 and I have the site on my dev machine to play around with...I hope I will solve these forum problems once and for all.

I also want to migrate all my sites up to DNN 7 to get with the modern look and feel.

So anyway? Any ideas about where I could find a message telling me WHY the log in was denied would be much appreciated. I have the same old forums running on www.instantbi-webhosting.com and they work over there. So something is mismatching.

Thanks in advance

AssemblyVersion: 6.1.3

PortalID: 0

PortalName: Instant Business Intelligence

UserID: 1

UserName: host

ActiveTabID: 84

ActiveTabName: All Forums

RawURL: /Support/AllForums.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://instantbi7x.com/Admin/LogViewer.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 9efd766e-3f74-45e1-b42e-9427d2556718

InnerException: Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'sa'.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Data.ProviderBase.DbConnectionPool.TryGetConnection

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'sa'. ---> System.Data.SqlClient.SqlException: Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'sa'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Forum.SqlDataProvider.GroupGetAll(Int32 ModuleID) at DotNetNuke.Modules.Forum.GroupController.GroupGetAll(Int32 ModuleId) at DotNetNuke.Modules.Forum.GroupController.GroupGetAllAuthorized(Int32 ModuleId) at DotNetNuke.Modules.Forum.Groups.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: IBIDEV02

8/4/2014 8:45:20 PM 
General Exception 
host 
Instant Business Intelligence 
AssemblyVersion 6.1.3 PortalID 0 PortalName Instant Business Intelligence  

AssemblyVersion: 6.1.3

PortalID: 0

PortalName: Instant Business Intelligence

UserID: 1

UserName: host

ActiveTabID: 84

ActiveTabName: All Forums

RawURL: /Support/AllForums.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://instantbi7x.com/Admin/LogViewer.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: b0ec512f-c49c-4398-a823-4744015cc6df

InnerException: Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'sa'.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Data.ProviderBase.DbConnectionPool.TryGetConnection

StackTrace:

Message: System.Data.SqlClient.SqlException (0x80131904): Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'sa'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Forum.SqlDataProvider.UserAdd(Int32 UserId, String Alias, Boolean UserAvatar, String Avatar, String AdditionalAvatars, String Signature, String Occupation, String Interests, String MSN, String Yahoo, String AIM, String ICQ, String Skin, Boolean IsTrusted, Boolean EnableThreadTracking, Boolean EnableDisplayUnreadThreadsOnly, Boolean EnableDisplayInMemberList, Boolean EnableOnlineStatus, Int32 ThreadsPerPage, Int32 PostsPerPage, Int32 WhatsNewScrollDirection, Int32 WhatsNewNumberOfThread, Int32 WhatsNewScrollDelay, Int32 WhatsNewScrollAmount, Int32 WhatsNewTrackingType, Int32 WhatsNewTrackingDuration, Int32 DefaultForumID, String CollapseGroups, Boolean IsGlobalModerator, Boolean ModeratorReturn, Boolean EnablePM, Boolean EnablePMNotifications) at DotNetNuke.Modules.Forum.ForumUserController.UserAdd(ForumUser User) at DotNetNuke.Modules.Forum.ForumUserController.GetForumUser(Int32 UserID, Boolean UpdateLastVisit) ClientConnectionId:17d20efa-0c77-481e-94a8-ac0546a35cfe

Source:

Server Name: IBIDEV02

8/4/2014 8:45:20 PM 
General Exception 
host 
Instant Business Intelligence 
AssemblyVersion 6.1.3 PortalID 0 PortalName Instant Business Intelligence  

AssemblyVersion: 6.1.3

PortalID: 0

PortalName: Instant Business Intelligence

UserID: 1

UserName: host

ActiveTabID: 84

ActiveTabName: All Forums

RawURL: /Support/AllForums.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://instantbi7x.com/Admin/LogViewer.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 498b1e94-6c63-42f3-8f11-f78f380882d4

InnerException: Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'sa'.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Data.SqlClient.SqlInternalConnection.

StackTrace:

Message: System.Data.SqlClient.SqlException (0x80131904): Cannot open database "SQL200DB_1210_instantbi" requested by the login. The login failed. Login failed for user 'sa'. at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Forum.SqlDataProvider.UserGet(Int32 UserID) at DotNetNuke.Modules.Forum.ForumUserController.UserGet(Int32 PortalID, Int32 UserId) ClientConnectionId:17d20efa-0c77-481e-94a8-ac0546a35cfe

Source:

Server Name: IBIDEV02



Best Regards Peter
 
New Post
8/4/2014 9:41 PM
 
I don't think there is a more detailed message. The login failed. You did notice that the first messages you posted have a different user?

It looks like you may be using SQL Server authentication. Is that enabled in SQL Server?

Do the accounts have authorisation in SQL Server to use SQL Server at all? Then do the accounts have dbowner (I think - that was from memory) rights against the database you want to open?

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
8/5/2014 2:58 AM
 
Richard is correct, this is an issue with database Access in SQL Server - if you are able to Login and use other pages, it is more likely, that the module still uses the second (uncommented) connection string inside your web.config file, please make sure, both are identical.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumForums failing to connect to new databaseForums failing to connect to new database


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