title: The MSSQLSERVER service on Local Computer started and then stopped. Some services stop automatically
body: <p>I have created one sample of node js . But when I start the application is going to connection of sql server then not give response by sql server.</p>
  
  <p>When i going in service panel and start sql server agent then give blow error....</p>
  
  <p>This service  on local computer started and then stopped. some service  stop automatically if then are not in use by other service  or programs
  <a href="https://i.stack.imgur.com/qp0DT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qp0DT.png" alt="enter image description here"></a></p>
  
  <p>OR.........</p>
  
  <p>When i am going in the sql server config and start of sql server agent then show error</p>
  
  <p>The request failed or the service did not respond in a timely fashion. Consult the event log log or other application error for details.
  <a href="https://i.stack.imgur.com/vFQmF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vFQmF.png" alt="enter image description here"></a></p>