修改machine.config文件(C:\Winnt\microsoft.net\1.1.4322\config):
找到processModel节,将userName="machine"改为userName="SYSTEM"注意大小写.

解决方案 »

  1.   

    你是用Windows集成帐户登录的吧,改成Sql server帐户登录试试。
      

  2.   

    请具体讲解一下,我不太会用sql。谢谢。我能找到的配置是这样的:企业管理器-〉已注册的sql server属性:使用sql身份验证;sql server属性(配置)-〉安全性-〉身份验证:sql server和windows
      

  3.   

    1. add Network Services account to your database, for example企业管理器-〉YourMachine->Security->Login, right click to add a New Login, select Network Services....
    orchange the 身份验证 to sql server和windows and find the web.config, change the connection string to 
    "server=YourServerName;database=YourDBName;uid=YourSQLLogin;pwd=YourSQLPassword;"or"server=localhost;database=YourDBName;uid=sa;pwd=;"