北京用友北京用友

您所在的位置:首页 -> 常见问题 -> 用友U8常见问题
U8账套升级提示升级失败
浏览:6285次 评论:0条 发表日期:2020-04-05 23:13:44作者:
Tags:升级失败

问题现象:用友 U8软件升级问题解决方案



  • 如果升级失败,请先打开升级日志:U8安装目录\Admin\下文件名为 "UFDATA_"+账套号+"_"+年度.txt,查看详细的错误信息;

     

  • 如果升级提示错误为"错误信息:-2147217900"表示SQL Server 此时无法获取 LOCK 资源。请在活动用户数较少时重新运行您的语句,或者请求系统管理员检查 SQL Server 锁和内存配置。解决办法:

    • 打开SQL Server查询分析器,在Master中运行以下语句:

sp_configure 'locks','2147483647'

reconfigure  with override

    • 重启动Server。

       

  • 在升级之前,建议先在查询分析器中执行 DBCC CHECKDB(年度库名称) 语句,检查年度库数据库是否有一致性错误,如果发现错误,请按照SQL Server的提示进行修复,修复后再进行升级。

     

    数据库名: UFDATA_002_2015
    D:\U8SOFT\Admin\SQLFILE12500\Main\Ufdata\Structure\data_str_tm_mix_nl.sql
    错误信息:
    -2147217900
    无法从 'dbo.HR_TM_OverTimeVoucher.dAuditTime' 取消绑定。请使用 ALTER TABLE DROP CONSTRAINT。
     
    执行如下语句时出错:
     
    --假期额度
    --hr_tm_Vacrate(假期额度)新增 nDoneVacAudited(已休(已审核请假),可为空,Number(7,2)
    if not exists
    (select *from syscolumns where id=OBJECT_ID('hr_tm_Vacrate') and name='nDoneVacAudited')
    begin
          alter table hr_tm_Vacrate add nDoneVacAudited [numeric](7,2) null    
    end 
     
    --hr_tm_Vacrate(假期额度)新增  nDoneVacAuditing 已休(审核中请假)可为空,Number(7,2)
    if not exists
    (select *from syscolumns where id=OBJECT_ID('hr_tm_Vacrate') and name='nDoneVacAuditing')
    begin
          alter table hr_tm_Vacrate add nDoneVacAuditing [numeric](7,2) null    
    end 
    --假期额度--
     
    --月结果表--
    --Hr_tm_MonthResult(月结果)新增 nCompTimeOffHoursAudited(调休(小时)(已审核)),可为空,Number(7,2)
    if not exists
    (select *from syscolumns where id=OBJECT_ID('Hr_tm_MonthResult') and name='nCompTimeOffHoursAudited')
    begin
          alter table Hr_tm_MonthResult add nCompTimeOffHoursAudited [numeric](7,2) null    
    end 
     
    --Hr_tm_MonthResult(假期额度)新增  nCompTimeOffHoursAuditing 调休(小时)(审核中) 可为空,Number(7,2)
    if not exists
    (select *from syscolumns where id=OBJECT_ID('Hr_tm_MonthResult') and name='nCompTimeOffHoursAuditing')
    begin
          alter table Hr_tm_MonthResult add nCompTimeOffHoursAuditing [numeric](7,2) null    
    end
    --月结果表--
     
    --加班单行抵扣子表--
    --hr_tm_overtimeResultDeduct(加班单行抵扣子表)新增 nDeductOverTimeAuditing(抵扣加班时间(审核)),可为空,Number(6,2)
    if not exists
    (select *from syscolumns where id=OBJECT_ID('hr_tm_overtimeResultDeduct') and name='nDeductOverTimeAuditing')
    begin
          alter table hr_tm_overtimeResultDeduct add nDeductOverTimeAuditing [numeric](7,2) null    
    end 
     
    --hr_tm_overtimeResultDeduct(加班单行抵扣子表)新增  nDeductOverTimeAudited 抵扣加班时间(已审核) 可为空,Number(7,2)
    if not exists
    (select *from syscolumns where id=OBJECT_ID('hr_tm_overtimeResultDeduct') and name='nDeductOverTimeAudited')
    begin
          alter table hr_tm_overtimeResultDeduct add nDeductOverTimeAudited [numeric](7,2) null    
    end 
    --hr_tm_overtimeResultDeduct(加班单行抵扣子表)新增  nDealTimeAuditing 抵扣请假时间(审核中) 可为空,Number(7,2)
    if not exists
    (select *from syscolumns where id=OBJECT_ID('hr_tm_overtimeResultDeduct') and name='nDealTimeAuditing')
    begin
          alter table hr_tm_overtimeResultDeduct add nDealTimeAuditing [numeric](7,2) null    
    end 
     
    --hr_tm_overtimeResultDeduct(加班单行抵扣子表)新增  nDealTimeAudited 抵扣请假时间(已审核) 可为空,Number(7,2)
    if not exists
    (select *from syscolumns where id=OBJECT_ID('hr_tm_overtimeResultDeduct') and name='nDealTimeAudited')
    begin
          alter table hr_tm_overtimeResultDeduct add nDealTimeAudited [numeric](7,2) null    
    end 
    --加班单行抵扣子表--
     
    --删除列的默认值
    IF EXISTS ( SELECT  name
                FROM    sysobjects
                WHERE   id = ( SELECT   syscolumns.cdefault
                               FROM     sysobjects
                                        INNER JOIN syscolumns ON sysobjects.Id = syscolumns.Id
                               WHERE    sysobjects.name = N'HR_TM_OverTimeVoucher'
                                        AND syscolumns.name = N'dAuditTime'
                             ) )
        BEGIN
        EXECUTE sp_unbindefault N'dbo.HR_TM_OverTimeVoucher.dAuditTime'
        END
     
     
     
    效率测试报告:开始升级UFDATA_002_2015数据库
     
    Data_STR_PB_mix_NL.SQL,2020-04-05 23:08:04 -- 2020-04-05 23:08:04,0小时0分钟0秒。
    Data_STR_PB_Vou_NL.SQL,2020-04-05 23:08:04 -- 2020-04-05 23:08:05,0小时0分钟1秒。
    DATA_STR_WF_MIX_NL.SQL,2020-04-05 23:08:05 -- 2020-04-05 23:08:05,0小时0分钟0秒。
    data_str_pb_wf_nl.SQL,2020-04-05 23:08:05 -- 2020-04-05 23:08:05,0小时0分钟0秒。
    data_str_ss_mix_nl.SQL,2020-04-05 23:08:05 -- 2020-04-05 23:08:05,0小时0分钟0秒。
    data_str_tm_mix_nl__up.SQL,2020-04-05 23:08:05 -- 2020-04-05 23:08:05,0小时0分钟0秒。
     
        升级起始时间:2020-04-05 23:08:04,结束时间:2020-04-05 23:08:05,0小时0分钟1秒。
     
上一篇用友U8 15.0总账产品介绍
下一篇用友U8+V13.0全产品报价清单

最新文章

用友U8+个税专项附加扣除调整的解决方案
用友软件T3如何启用外币核算
T6坏账处理方式的四种方法
T3软件固定资产功能互斥怎么解决
T3软件只有一台客户端连接不上服务器,其他客户端可以
用友T3打开提示检测公共组件Admin.exe时未能通过,公
最新图文教程

北京用友远程维护收

pos端覆盖恢复数据时

T6坏账处理方式的四

T3软件固定资产功能

T3软件只有一台客户

用友T3打开提示检测

如何安装T3软件补丁

T3 系统管理报错不能

热门文章

[09-15]
[10-08]
[10-26]
[10-15]
[05-13]
[09-18]

 

在线咨询
售后支持
  • 业务电话:010-84986180
  • 13720089039
  • 夜间值班:18910108696
  • 北京会计QQ群:6388368