Qlikview-QVW执行失败



我们有一个QVW脚本失败,因为它找不到要连接或加载到QVD中的表。

错误信息显示在部分重新加载上

错误消息1找不到表连接(DATES)负载'P'&Num(句点,'00')&年号AS#dFinYearPeriod,Num(period,'00')为dFinYearPeriod,Num(period,'00')为dFinPeriod,"作为dMonthEnd,文本(年份代码-1)&'/'&文本(年号-2000)AS dFinYear,Num(年号)AS dFinYearOnly,''作为第d个月,年号为dYear,''AS dMonthNo,"作为dFinYearEnd_Cur,"作为dFinYearEnd_Prev

错误消息2找不到表将日期存储到C:\QlikView\QVD\DATES.QVD(QVD)

我们在脚本中来回运行,找不到错误的原因。据我们所知,QVW中没有任何更改,OLEDB连接良好,所涉及的存储过程和sql脚本都正常工作。

从错误消息来看,这似乎是脚本的失败点,但我们无法找出原因。。。

 DATES:
LOAD
'P' & Num(dFinPeriod,'00') & Date(dFinYearEnd_Cur,'YYYY')       AS     #dFinYearPeriod,
if(isnull(dMonthEnd),
Num(dFinPeriod,'00'),
        (if(dMonthEnd = '',
            Num(dFinPeriod,'00'),
                Num(dFinPeriod,'00') & ' (' & Text(Date    (dMonthEnd,'MMM')) & ')'
            )
        )
        )                   as dFinYearPeriod,
Num(dFinPeriod,'00') as dFinPeriod,
Date(dMonthEnd, 'DD/MM/YYYY') as dMonthEnd,
Text(Date(dFinYearEnd_Prev,'YYYY')) & '/' & Text(Date    (dFinYearEnd_Cur,'YY'))     AS     dFinYear,
Year(Date(dFinYearEnd_Cur, 'DD/MM/YYYY')) AS dFinYearOnly, //Return integer
Text(Date(dMonthEnd,'MMM')) AS dMonth,
Text(Date(dMonthEnd,'YYYY')) as dYear, 
Num(Month(dMonthEnd),'00') AS dMonthNo,
Date(dFinYearEnd_Cur,'DD/MM/YYYY') as dFinYearEnd_Cur,
Date(dFinYearEnd_Prev,'DD/MM/YYYY') as dFinYearEnd_Prev

//Filter to only financial year 2011/2 and later
 WHERE Text(Date(dFinYearEnd_Cur,'YYYY'))>=2012

;
SQL EXEC
dbo.spGetMonthEnds
;

//Add on the non-date f periods ie. 13 to 16
Concatenate (DATES) 
LOAD
'P' & Num(period,'00') & yearcode       AS #dFinYearPeriod,
Num(period,'00') as dFinYearPeriod,
Num(period,'00') as dFinPeriod,
'' as dMonthEnd,
Text(yearcode-1) & '/' & Text(yearcode-2000) AS dFinYear,
Num(yearcode) AS dFinYearOnly,
'' AS dMonth,
yearcode as dYear, 
'' AS dMonthNo,
'' as dFinYearEnd_Cur,
'' as dFinYearEnd_Prev
;
SQL Select
yearcode,
    period
   from
d_details 
   where 
    period <>'R' and
    period >12 and period <=16
    and yearcode >=2012
   group by
    yearcode, 
    period
   ;
    STORE DATES into $(vFolder)DATES.qvd (qvd);
    DROP Table DATES;

满负荷上的消息

连接到提供程序=SQLOLEDB.1;综合安全=SSPI;持久安全信息=False;初始目录=WRVS;数据源=rvs-psfsql-1-a;准备使用程序=1;自动翻译=真;数据包大小=4096;工作站ID=WRVS-CLICK-1-A;对数据使用加密=False;可能时使用列排序规则的标记=False已连接日期<lt;EXECdbo.spGetMonthEnds已提取48行日期<lt;选择年号,时期从…起d_details哪里提取了61行

脚本执行似乎很正常,它正在向后拉行,但似乎找不到连接或存储到QVD中的DATES表。

发生的日期操作以前都已经到位,SQL脚本上没有任何奇怪的东西可以打破这些。

有什么想法吗?

感谢

这是一个与Qlikview应用程序本身无关的Kerberos错误

错误代码:0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN

我认为这与一夜之间进行的一些病毒清理工作有关。服务器重新启动解决了此问题。

最新更新