=====================
[2018-07-06 3:11:58 AM]
Could not get current user
The ConnectionString property has not been initialized.
System.InvalidOperationException: The ConnectionString property has not been initialized.
at System.Data.SqlClient.SqlConnection.PermissionDemand()
at System.Data.SqlClient.SqlConnectionFactory.PermissionDemand(DbConnection outerConnection)
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 SmarterTrack.Data.Utilities.QueryRunner.ExecuteReader[T](IDbConnection& conn, Action`2 workFunction, T otherdata, String query, SqlParameter[] parameters)
at SmarterTrack.Data.Utilities.QueryRunner.ExecuteReader[T](Action`2 workFunction, T otherdata, String query, SqlParameter[] parameters)
at SmarterTrack.Data.Caching.Lookups.UserIdsByNameCache.#l5m()
at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.get_Value()
at SmarterTrack.Data.Caching.Lookups.UserIdsByNameCache.Lookup(String username)
at SmarterTrack.Data.Caching.Complete.UserCache.GetByUsername(String username)
at SmarterTrack.HelperClasses.Security.ManagementUserInfo.GetCurrentUser(HttpContext context)
=====================
[2018-07-06 3:12:28 AM]
Unhandled error
- Page: [xxxx/HttpHandlers/Portal/User/login.ashx]
- Referrer: [xxxx/Main/]
- User Agent: [Mozilla/5.0 (Linux; Android 7.0; SM-T819Y Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36] - IP: [1.144.109.206]
The ConnectionString property has not been initialized.
System.InvalidOperationException: The ConnectionString property has not been initialized.
at System.Data.SqlClient.SqlConnection.PermissionDemand()
at System.Data.SqlClient.SqlConnectionFactory.PermissionDemand(DbConnection outerConnection)
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 SmarterTrack.Data.Utilities.QueryRunner.ExecuteReader[T](IDbConnection& conn, Action`2 workFunction, T otherdata, String query, SqlParameter[] parameters)
at SmarterTrack.Data.Utilities.QueryRunner.ExecuteReader[T](Action`2 workFunction, T otherdata, String query, SqlParameter[] parameters)
at SmarterTrack.Data.Caching.Lookups.UserIdsByNameCache.#l5m()
at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.get_Value()
at SmarterTrack.Data.Caching.Lookups.UserIdsByNameCache.Lookup(String username)
at SmarterTrack.Data.Caching.Complete.UserCache.GetByUsername(String username)
at SmarterTrack.Data.UserEntity.GetByUsername(String username)
at SmarterTrack.MRS.Main.HttpHandlers.UserFunctions.#xki(HttpContext #Vxb, JsonTextWriter #xQi)
at SmarterTrack.MRS.Main.HttpHandlers.UserFunctions.HandleRequest(HttpContext context)
at SmarterTools.Web.HttpHandlers.HttpHandlerBase.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I can do everything else OK and the Self-Diagnostics return no errors.
I'll keep looking but has anyone any suggestions. I'm using shared hosting on IIS 10:
:
Info |
SmarterTrack Version: 14.0.6752 |
Info |
Hosting Process: w3wp |
Info |
Pipeline Mode: Integrated |
Passed |
Microsoft.Net Framework Version: 4.0.30319 |