string strProvider = "server=(192.168.0.66);database=aspcn;Trusted_Connection=yes";
如果你确认你的其他信息没有问题,那么修改为:string strProvider = "server=192.168.0.66;database=aspcn;Trusted_Connection=yes";
只有server的内容为local的时候需要用()标记,其他时候都不需要而且不能使用()标记。