7.0修改SQL sa密码后报错
2人赞赏了该文章
1,593次浏览
编辑于2017年09月13日 18:09:16
K3Cloud7.0,SQLSERVER2008.
修改了sa密码后,按照
1、cloud 安装目录:E:\Program Files (x86)\Kingdee\K3Cloud\ManageSite\App_Data下的Common.config 文件打开
2、 删除
DatabaseType="MS_SQL_Server" CreateTime="10/23/2013 10:50:29"
DbServerInstance="127.0.0.1" DbUser="sa" DbPassword="买伃习企买伃习企买伃习企"
Id="319a3947-96d6-48b6-ae38-b64437c95118" />
这一段
3、 重新 打开SERVERIP:8000 以及http://SERVERIP:8000/silverlight/cmc.aspx
4、重新注册 不要创建了,因为只是密码修改数据库未删
以上操作后,管理中心是ok的,但是登录的时候报错如下:
Code(-2147467259);{"InnerExWrapper":{"IsEmpty":false,"Data":{},"HelpLink":null,"Message":"调用的目标发生了异常。","Source":null,"StackTrace":" 在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n 在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n 在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n 在 Kingdee.BOS.ServiceFacade.KDServiceFx.ServiceExecutor.Execute(KDServiceContext context, ServiceType svcType, String[] paraValues, SerializerProxy serializeProxy, ServiceType beginMethod)","TargetSite":null,"ExceptionType":"System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","InnerException":{"IsEmpty":false,"Data":{},"HelpLink":null,"Message":"GetLangList is error in excute dataset.","Source":null,"StackTrace":" 在 Kingdee.BOS.ServiceHelper.DataCenterService.GetLangList(Context ctx)\r\n 在 Kingdee.BOS.ServiceFacade.ServicesStub.Account.AccountService.GetDataCenterLoginLanguages(String dbId, DatabaseType dbType, String clientLCName)","TargetSite":null,"ExceptionType":"System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","InnerException":{"IsEmpty":false,"Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"18456","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"HelpLink":null,"Message":"用户 'sa' 登录失败。","Source":null,"StackTrace":" 在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)\r\n 在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)\r\n 在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)\r\n 在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)\r\n 在 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)\r\n 在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)\r\n 在 System.Data.SqlClient.SqlConnection.Open()\r\n 在
推荐阅读