Home  >  Article  >  Database  >  sqlserver2005只能用localhost表示本地?

sqlserver2005只能用localhost表示本地?

WBOY
WBOYOriginal
2016-06-07 15:40:031404browse

说来奇怪,2天前还好好的,印象中好像在host里删了什么 现在任何有关sql的connectionstring 不论是web.config 还是management studio里的地址, 表示 本地 数据库 只能 用(LOCAL)或者Localhost 可是原本都用.或者本机IP来 表示 本地 的全部无效了 请问为何?

说来奇怪,2天前还好好的,印象中好像在host里删了什么

现在任何有关sql的connectionstring 不论是web.config 还是management studio里的地址,表示本地数据库只能用(LOCAL)或者Localhost

可是原本都用.或者本机IP来表示本地的全部无效了 请问为何?我看了自己服务器上win2003的hosts文件里也没有关“.”的解析啊

求解为何?该怎么做?

vista sp1 , sql server 2005 developer edition.

虽说问题不大,但挺迷惑的

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn