上的错误26我准备用Visual Basic 2010的程序,并且我使用的是SQL Server 2008数据库。 (基于服务的数据库)它正常工作。但有时(当我不使用电脑一段像2小时)我试着开始VB(F5)我的程序,它等待,然后给出了这样的错误:SQL Server 2008中
A network-related or instance-specific error occured while establishing a connection to SQL Server. The server was not found or is not accesible. Verify that the instance name is correct and that SQL Server name is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified.)
我用Google搜索它,但没有什么帮助。恐怕这个错误在用户使用该程序时会成为问题。我该如何解决这个问题?