那就是你的两个sqlserver装的时候不一样了,用的混合身份验证吗?
是不是装了防火墙了,如果装了,关掉试试。

解决方案 »

  1.   

    可能是安装SQl Server 时候选者验证方式问题
    你用跟踪摸板看看
      

  2.   

    身份验证是windows 还是混合身份验证
      

  3.   

    zhanqiangz(闲云野鹤) :我的防火墙已经关了 但没用
     xrascal(横刀夺爱)  网络肯定通 我在本机测试也不行biduan(笔端) 有可能是身份验证的事 
    但在数据库安全里面选的事 sqlserver and windows 混合验证
    在数据库右键的---〉编辑登记属性 里面 选的是sqlserver 那项 输入了正确的用户名和密码
      

  4.   

    leezjs(.Net Learning 中)  我装的时候选的是Sqlserver 验证这有关系吗
    安装以后可以改的
    evafly920(伊凡网络)
    ExecuteReader: Connection property has not been initialized. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: ExecuteReader: Connection property has not been initialized.Source Error: 
    谢谢 gaofeng2000(高老师)我用Sqlserver 身份连接