The MSSQLSERVER service on Local Computer started and then stopped. Some services stop automatically

╄→гoц情女王★ 提交于 2021-02-07 06:17:36

问题


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.

When i going in service panel and start sql server agent then give blow error....

This service on local computer started and then stopped. some service stop automatically if then are not in use by other service or programs

OR.........

When i am going in the sql server config and start of sql server agent then show error

The request failed or the service did not respond in a timely fashion. Consult the event log log or other application error for details.


回答1:


I had found the solution to this problem. I have added the TCP Port 1433 in SQL set the TCP Port=1433

Configuration => Protocols for SQLEXPRESS => TCP/IP Then right click and go to property

After that show screen and go to Ip Address

After that show screen and go to IPALL

After that set the TCP Ip: 1433

And click on apply and ok




回答2:


Worked for me after changing the appropriate user and credential for the instance.




回答3:


SQL Server is running, as shown in your screen shots:

If Node is failing to connect to it, it's probably a flaw in your connection string.

What isn't running is SQL Server Agent. Which is a system for running scheduled tasks in SQL Server. It is bizarrely installed but not runnable when the SQL Server instance you're dealing with is SQL Server Express. Which, again, your screenshots confirm is the case here.




回答4:


In my case just needs to disable VIA protocol.

Go to Sql Server Configuration Manager-> Protocols for MSSQLSERVER then right click on VIA and select disable.

Alert me if that's it!



来源:https://stackoverflow.com/questions/35080354/the-mssqlserver-service-on-local-computer-started-and-then-stopped-some-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!