sql server express 远程连接出错
在A机上安装SQL SERVER EXPRESS,执行的程序储存在C机上共享给大家公用,在A机上执行程序时一切正常
此时连接字串为:Data Source=sz001\SQLExpress;Initial Catalog=Wingreat;Persist Security Info=False;User ID=***;Password=***
在B机上执行程序,提示sql server does not exist or access denied
此时A机上的SQL外围应用配置器中,sql express的远程访问已经打开,并且选择的是IP和名称两种方式。
如果将字串做一下修改:
Data Source=192.168.1.1\SQLExpress;Initial Catalog=Wingreat;Persist Security Info=False;User ID=***;Password=***
此时A机访问也提示sql server does not exist or access denied,B机相同。
因为sql server express是.net framework 2.0,是否在B机上需要安装.net 2.0后才可以正常访问?为什么改成IP连A机都不能访问?要怎样才能让B机访问?