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

HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...Exception ErrorsException Errors
Previous
 
Next
New Post
1/4/2012 9:37 AM
 
I am placing my problem here, because I think it has something to do with SQL Server, if not I apologize. I keep getting a Scheduler exception and General exception all the time and they both come at the exact time together. 


 Here is the Scheduler exception:


 1/4/2012 8:03:47 AM Scheduler Exception AssemblyVersion 6.1.2 PortalID -1 PortalName UserID -1 UserName ActiveTabI AssemblyVersion: 6.1.2PortalID: -1PortalName:UserID: -1UserName:ActiveTabID: -1ActiveTabName:RawURL:AbsoluteURL:AbsoluteURLReferrer:UserAgent:DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProviderExceptionGUID: 14036dcc-fef4-44fc-a25e-06f135f3cca8InnerException: Object reference not set to an instance of an object.FileName:FileLineNumber: 0FileColumnNumber: 0Method: DotNetNuke.Entities.Host.ServerController.GetEnabledServersStackTrace:Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Host.ServerController.GetEnabledServers() at DotNetNuke.Entities.Host.ServerController.get_UseAppName() at DotNetNuke.Entities.Host.ServerController.GetExecutingServerName() at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.LoadQueueFromTimer() at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.Start()Source:Server Name: ****


 And here is the General Exception:


 1/4/2012 8:03:47 AM General Exception AssemblyVersion 6.1.2 PortalID -1 PortalName UserID -1 UserName ActiveTabI AssemblyVersion: 6.1.2PortalID: -1PortalName:UserID: -1UserName:ActiveTabID: -1ActiveTabName:RawURL:AbsoluteURL:AbsoluteURLReferrer:UserAgent:DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProviderExceptionGUID: af824503-4d92-4ed9-b7ca-76fee859f71aInnerException: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.FileName:FileLineNumber: 0FileColumnNumber: 0Method: System.Data.SqlClient.SqlInternalConnection. StackTrace:Message: System.Data.SqlClient.SqlException: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) 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, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.GetServers() at DotNetNuke.Entities.Host.ServerController.GetServersCallBack(CacheItemArgs cacheItemArgs) at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromRuntimeCache(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)Source:Server Name: ******Any advice would be appreciated. Thank You!

 
New Post
1/4/2012 11:34 AM
 
are you able to access your site at all? it looks like the database login from web.config is not valid - but this would affect all access. Which authentication methods are you using?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/4/2012 11:56 AM
 

Hi Sebastian,

Yes I am able to access the web site with no problems and I haven't heard from anyone who hasn't been able to access it. I am still kind of new to Dnn, so I do not really know what authentication method you are referring to.

 
New Post
1/5/2012 6:23 PM
 

is this a PE/EE or Community edition install? The reason I ask is that AFAIR the GetEnabledServers call if used by the pe/ee editions to determine the webservers in a webfarm (though it's also used to identify the need for caching) - you may want to check the WebServers database table and ensure there are no invalid entries in there.

As to the second problem, it's an authentication issue when a query is ran against sql - the most common way for this to happen is when a website uses a local account (such as networkservice) but is querying against a domain sql server - as the sql server cannot recognise a local account from another machine this issue will occur (as long as the website is set up to use windows authentication as well) - see http://www.microsoft.com/products/ee/... and http://stackoverflow.com/questions/85... for more details.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/6/2012 9:35 AM
 

It is the Community Edition

 
Previous
 
Next
HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...Exception ErrorsException Errors


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