当前位置:编程学习 > C#/ASP.NET >>

CCF2009 AgentDesktop启动失败!

Start CCF2009/AgentDesktop.exe


PopUp Error Window
 ->
DESKTOP_ERR_UNABLE_LOGIN: Unable to login - make sure your domain\\user name is correctly configured in the system.
Application will exit now.
<-

C:\CCF.log
->
2009-11-24 16:30:50: Microsoft Customer Care Framework 2009: Agentdesktop starting...
2009-11-24 16:30:50: Microsoft Customer Care Framework 2009: 无法加载 DLL“windowsaccessbridge.dll”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
2009-11-24 16:30:54: Microsoft Customer Care Framework 2009: DESKTOP_ERR_UNABLE_LOGIN: Unable to login - make sure your domain\\user name is correctly configured in the system.

Application will exit now.
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: AgentLogin: User YITONG\hwl does not exist in the database. (错误详细信息等于很可能由 IncludeExceptionDetailInFaults=true 创建的 ExceptionDetail,其值为:
System.Data.SqlClient.SqlException: AgentLogin: User YITONG\hwl does not exist in the database.
   在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehav...)。
2009-11-24 16:30:57: Microsoft Customer Care Framework 2009: DESKTOP_ERR_FATAL_ERROR:A possibly fatal error has occurred.  The application may now exit.
System.NullReferenceException: 未将对象引用设置到对象的实例。
   在 Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.Login()
   在 Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.Desktop_Load(Object sender, EventArgs e)
   在 System.Windows.Forms.Form.OnLoad(EventArgs e)
   在 Microsoft.Ccf.Csr.UIConfiguration.UIConfiguration.OnLoad(EventArgs e)
   在 System.Windows.Forms.Form.OnCreateControl()
   在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   在 System.Windows.Forms.Control.CreateControl()
   在 System.Windows.Forms.Control.WmShowWindow(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
   在 System.Windows.Forms.Form.WmShowWindow(Message& m)
   在 System.Windows.Forms.Form.WndProc(Message& m)
   在 Microsoft.Ccf.Csr.UIConfiguration.UIConfiguration.WndProc(Message& m)
   在 Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2009-11-24 16:30:58: Microsoft Customer Care Framework 2009: Agentdesktop exited.
<-

Who can help me~ --------------------编程问答-------------------- 帮顶啦 --------------------编程问答-------------------- System.Data.SqlClient.SqlException: AgentLogin: User YITONG\hwl does not exist in the database. 
错误信息写的很清楚了.你运行AgentDesktop.exe的用户YITONG\hwl在数据库中没有配置
2种方法:
1.你用YITONG\DemoAgent1 ,DemoAgent2,DemoAdmin 去运行,如果你在安装CCF时创建了这些用户的话
2.手动在数据库CcfInfrastructure.CcfUser手动添加 YITONG\hwl.

-----------------------------
WangYi --------------------编程问答--------------------
引用 2 楼 nayayi 的回复:
System.Data.SqlClient.SqlException: AgentLogin: User YITONG\hwl does not exist in the database.
错误信息写的很清楚了.你运行AgentDesktop.exe的用户YITONG\hwl在数据库中没有配置
2种方法:
1.你用YITONG\DemoAgent1 ,DemoAgent2,DemoAdmin 去运行,如果你在安装CCF时创建了这些用户的话
2.手动在数据库CcfInfrastructure.CcfUser手动添加 YITONG\hwl.

-----------------------------
WangYi


添加了用户还是不管用,还是报这个错误!
尝试用Domain\ASPUSER登录SQLServer提示错误信息"登录失败,错误号:18456"(数据库中包含此用户)
--------------------编程问答--------------------
引用 3 楼 cvxb12 的回复:
添加了用户还是不管用,还是报这个错误!
尝试用Domain\ASPUSER登录SQLServer提示错误信息"登录失败,错误号:18456"(数据库中包含此用户)

你怎么添加的用户?

在数据库中 添加 aspuser用户,连接数据引擎,登录2个选项都启用.
补充:.NET技术 ,  .NET Framework
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,