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...Administration ...Administration ...Login failed for user ''. Reason: An attempt to login using SQL authentication failed. Server is conLogin failed for user ''. Reason: An attempt to login using SQL authentication failed. Server is con
Previous
 
Next
New Post
2/13/2014 2:24 PM
 
Hi,

I am using DNN version 07.00.06 on IIS 8, with an application pool running .net 4.0. I get an error that manifests in my sql logs as:

Login failed for user ''. Reason: An attempt to login using SQL authentication failed. Server is configured for Windows authentication only. [CLIENT: 127.0.0.1]

Error: 18456 Severity: 14 State: 58. (Stack Trace and DNN event entry below)

The thing is is that the SQL server I'm using is set for mixed security, I am under the assumption that the resources are tied up because the lack of connections in the pool but I am not sure. Could this be an attack as it only happens once or twice an hour for a duration of anywhere between 5 mins to 45 mins.  Any help is appreciated!

Steven


And in DNN event logs as:

UserAgent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; MDDCJS)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID: c5159c1f-efd4-4ed7-bc12-171abbbd5265
InnerException: Login failed for user ''.[DB:SiteSqlServer/SqlServer]
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlInternalConnection.
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Login failed for user ''.[DB:SiteSqlServer/SqlServer] ---> XCode.Exceptions.XDbSessionException: Login failed for user ''.[DB:SiteSqlServer/SqlServer] ---> System.Data.SqlClient.SqlException: Login failed for 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.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at XCode.DataAccessLayer.DbSession.Open() at XCode.DataAccessLayer.DbSession.BeginTransaction() --- End of inner exception stack trace --- at XCode.DataAccessLayer.DbSession.BeginTransaction() at XCode.Entity`1.Meta.BeginTrans() at XCode.Entity`1.DoAction(Func`1 func, Nullable`1 isnew) at XCode.Entity`1.Insert() at GiantConcepts.gc_Order`1.AddOrderRelevantInfo(Int32 portalid, Int32 serviceTypeID, Int32& orderid, Int32& orderServiceID, Int32& orderServiceInfoID, Boolean isNewAdd) at GiantConcepts.Service.PassportSmall.lkbContinue_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---






 
New Post
2/13/2014 5:16 PM
 
I would suggest restarting the sql server service to ensure that mixed mode is active - if you had no ram/cpu/connections you would get a different message. I'd also recommend that you check that both the connectionstring's in web.config are using the correct details (one is for legacy and perhaps whatever xcode uses is using that - or else xcode has a separate configuration required)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/13/2014 5:44 PM
 
Thank you for replying Cathal. I have rebooted the machine many times, mixed mode is active. The details might be in the connection strings I am using so I will check that out. If you could can you possibly take a look at them? if so here they are (The problem happens intermittentl).















 
New Post
2/14/2014 7:17 AM
 
your connection strings are fine. I noticed in your original stack trace that it contained "XCode" which confuses me as it usually means the IDE/libraries an Apple developer would use. I found similar issues to yours where others mention xcode (e.g. http://forums.asp.net/t/1967334.aspx?... ), so at a guess I'd say that's perhaps the issue. Do all the logged failures contain xcode?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/14/2014 8:43 AM
 

Could I see that stack trace? I build Mac and iPhone apps using XCode making this topic very interesting to me now that you mention the stack contains Xcode.   It also doesn't make any sense that your seeing the Objective-C IDE since that doesn't ship with releases.  It would make more sense if you see classes like NSString or NSLog but "XCode"... that's like seeing "devenv" in the stack trace which would be very strange.

But if that is true.... then someone found a way to build DNN with Objective-C?  That would be an amazing achievement and I would love to find out how I could do that as well. 



Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login failed for user ''. Reason: An attempt to login using SQL authentication failed. Server is conLogin failed for user ''. Reason: An attempt to login using SQL authentication failed. Server is con


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out