Getting an error - An unhandled exception was generated during the execution of the current web request
Hi, I know this should really be in the 3.x Bugs & Issues area... but for whatever reason I'm unable to start a new thread there - hence putting it here instead.
We have a small *test* Sitefinity site which is still running 3.7
The site is there to test a 3rd party bespoke Membership Provider, which should allow front-end site visitors to login to a remote 3rd party database and thus be assigned a Sitefinity role, to allow them access to restricted pages.
The test site was working the last time I looked (quite some time ago) but since the server it resides on had a crash, I'm just getting an error report and I don't know why.
Server Error in '/tsgtest' Application.Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[SqlException (0x80131904): Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.]
Telerik.DataAccess.NolicsHelper.SetConnection(String connectionName, String providerName) +2607
Telerik.Cms.Data.DefaultProvider.Initialize(String name, NameValueCollection config) +452
Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +1187
Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings) +147
Telerik.ManagerBase`1.SetProvider(String providerName) +395
Telerik.ManagerBase`1..ctor(String providerName) +207
[TypeInitializationException: The type initializer for 'Telerik.Cms.CmsWorkflowService' threw an exception.]
Telerik.ManagerBase`1..ctor(String providerName) +50
Telerik.Cms.Web.CmsHttpModule.Init(HttpApplication context) +146
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo handlers) +729
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289
Version Information: Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634
Anyone know if there's an obvious solution to what the error message is suggesting?
edit - thinking about it, I should mention that the crash the server had corrupted the server's Admin password and this wasn't amendable. Thus a secondary Admin account was created - with different username & password. It might be saying that the SQL database is trying to gain authority from the defunct Admin password. But that's me guessing and I wouldn't know where to change this.
Refer to this post for the solution deleting the directory for SQL Express. This will allow the site to connect to the database again, create a backup just in case.
the Telerik team