title: Sharepoint Application not running
body: <p>I have this sharepoint application which was running absolutely fine. The Application Pool Identity was set to configurable for this sharepoint application.</p>
  
  <p>But from yesterday i have been getting the following error while trying to access the application:</p>
  
  <pre><code>Cannot connect to the configuration database.
  
  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: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Cannot connect to the configuration database.
  
  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: 
  
  
  [WebPartPageUserException: Cannot connect to the configuration database.]
     Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.EnsureInitialize(HttpRequest request) +544
     Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.BeginRequestHandler(Object oSender, EventArgs ea) +2347
     System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +75
  </code></pre>
  
  <p>The application had the credentials of a user who has now left our organization. So i decided to key in my credentials for the same.
  But i am still facing the same error !!</p>
  
  <p>I have given all the rights to my user that the other user had under the user management (administrative tools).</p>
  
  <p>Can someone please help !!
  Whats going wrong ??</p>