Server Error in '/' Application.

Unable to connect to SQL database 'Ecommerce' for cache dependency polling.

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.Web.HttpException: Unable to connect to SQL database 'Ecommerce' for cache dependency polling.

Source Error:

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.

Stack Trace:


[HttpException (0x80004005): Unable to connect to SQL database 'Ecommerce' for cache dependency polling.]
   System.Web.Caching.SqlCacheDependencyManager.EnsureTableIsRegisteredAndPolled(String database, String table) +1229
   System.Web.Caching.SqlCacheDependency.GetDependKey(String database, String tableName) +74
   System.Web.Caching.SqlCacheDependency..ctor(String databaseEntryName, String tableName) +50
   PintorProject.CMS.Web.CMSDefaultPage.GetDependecyAgregate() in C:\Programming\PinotrProject.Platform\ServerComponents\Server Managment\CMSControl\CMS\Web\CMSDefaultPage.cs:245
   PintorProject.CMS.Web.CMSDefaultPage.SetCache() in C:\Programming\PinotrProject.Platform\ServerComponents\Server Managment\CMSControl\CMS\Web\CMSDefaultPage.cs:330
   PintorProject.CMS.Web.CMSDefaultPage.OnPreInit(EventArgs e) in C:\Programming\PinotrProject.Platform\ServerComponents\Server Managment\CMSControl\CMS\Web\CMSDefaultPage.cs:432
   System.Web.UI.Page.PerformPreInit() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +335


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4770.0