1.5升级到2.0报错
升级步骤:1.备份1.5的数据库并还原,2.安装2.0,注册该数据库,3.执行sql语句:update T_SYS_Datacenter set FMajor = '1', fminor = '5' where fid = 5;
4.在管理控制台点击“升级”按钮
结果报错如下:
错误原因:
执行脚本出现错误,请仔细分析[解决方案]中的错误信息,并试图获取具体的错误原因。
解决方案:
请将如下错误信息提单反馈:
[Execute provider[DefaultSQLProviderExecutor], sql[alter database shr2.0test SET read_committed_snapshot on] failed, sqlcode[102] sqlstat[S1000],Causedby['.0' 附近有语法错误。]]
异常堆栈:
com.kingdee.eas.tools.admin.framework.database.exception.DBSQLProviderException: Execute provider[DefaultSQLProviderExecutor], sql[alter database shr2.0test SET read_committed_snapshot on] failed, sqlcode[102] sqlstat[S1000],Causedby['.0' 附近有语法错误。]
at com.kingdee.eas.tools.admin.framework.database.impl.AbstractDB.executeSqlProvider(AbstractDB.java:705)
at com.kingdee.eas.tools.admin.framework.database.impl.AbstractDB.execute(AbstractDB.java:563)
at com.kingdee.eas.tools.admin.domain.impl.DataCenterServiceImpl.upgradeDataCenter(DataCenterServiceImpl.java:3096)
at com.kingdee.eas.tools.admin.domain.impl.DataCenterServiceImpl.upgradeDataCenter(DataCenterServiceImpl.java:3331)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.kingdee.eas.tools.admin.framework.ssap.dualrpc.SSAPServerRPCHandler.invokeService(SSAPServerRPCHandler.java:46)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.kingdee.eas.tools.admin.framework.dualrpc.core.common.RpcWorker.processRpcCallMessage(RpcWorker.java:237)
at com.kingdee.eas.tools.admin.framework.dualrpc.core.common.RpcWorker.run(RpcWorker.java:81)
已经解决,因为数据库名称带了“.”,该尴尬,以后数据库名千万不能带点点了
1.5升级到2.0报错
本文2024-09-17 01:04:55发表“s-hr cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-shr-65112.html