Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
We are using Qlikview Server Version 11.20.12664.0 SR9. We got the Publisher License recently so migrating the reloading Tasks to Publisher.
The reload is failed and the following error is appeared in the Task Log. In the Document Log I don't find any issues.
8/07/2015 17:13:07.9539521 | Information | Start saving document |
28/07/2015 17:13:11.7135762 | Error | The sourcedocument failed to save.. Exception=System.UnauthorizedAccessException: Access to the path 'D:\EBI\QlikView\UAT\KPI\52e33f09-8d18-44dc-b292-67bf31bf56f8_EIS KPI Dashboard.qvw.tmp.oldfile' is denied. || at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) || at System.IO.File.InternalDelete(String path, Boolean checkHost) || at QVBWrapper.Document.ReplaceSourceFile(ILogBucket logBucket, String replaceFromFileName, String replaceToFilename) || at QVBWrapper.Document.Save(ILogBucket i_LogBucket, String i_SaveAsFileName) |
28/07/2015 17:13:11.7603765 | Information | Closing the document. |
28/07/2015 17:13:12.4155807 | Information | Closed the QlikView Engine successfully. ProcessID=3008 |
28/07/2015 17:13:12.4467809 | Error | The task "Reload of UAT\KPI\EIS KPI Dashboard.qvw" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.LogBucketErrorException: The sourcedocument failed to save.. Exception=System.UnauthorizedAccessException: Access to the path 'D:\EBI\QlikView\UAT\KPI\52e33f09-8d18-44dc-b292-67bf31bf56f8_EIS KPI Dashboard.qvw.tmp.oldfile' is denied. || at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) || at System.IO.File.InternalDelete(String path, Boolean checkHost) || at QVBWrapper.Document.ReplaceSourceFile(ILogBucket logBucket, String replaceFromFileName, String replaceToFilename) || at QVBWrapper.Document.Save(ILogBucket i_LogBucket, String i_SaveAsFileName) || at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) || --- End of inner exception stack trace --- || at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) || at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult) || --- End of inner exception stack trace --- || at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult) || at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult) |
28/07/2015 17:13:12.4467809 | Information | Task Execute Duration=00:01:05.1616177 |
28/07/2015 17:13:12.4467809 | Information | Sending Alert mail |
28/07/2015 17:13:12.4467809 | Error | Failed to send mail. Exception=System.FormatException: An invalid character was found in the mail header: ';'. || at System.Net.Mail.MailAddressParser.ParseLocalPart(String data, Int32& index, Boolean expectAngleBracket, Boolean expectMultipleAddresses) || at System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index) || at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) || at QDSMain.SMTPServerResource.SendMail(ILogBucket logBucket, MailMessage i_MailMessage, Boolean validateMailAddress) |
28/07/2015 17:13:12.4467809 | Information | TaskResult.status=Finished |
28/07/2015 17:13:12.4623810 | Information | Notifying all triggers of new state:FinishedWithErrors |
28/07/2015 17:13:12.4623810 | Information | Notifying all triggers of new state:FinishedWithErrors - completed |
28/07/2015 17:13:12.4935812 | Information | Saving Task Result |
and the following files are created for each reload in the folder where the dashboard is placed
78a31007-1241-4321-991c-2642a9837cef_EIS KPI Dashboard.qvw.tmp.oldfile
ac55064f-8566-41f6-a8e8-1a3fcc18e66e_EIS KPI Dashboard.qvw.tmp.oldfile
52e33f09-8d18-44dc-b292-67bf31bf56f8_EIS KPI Dashboard.qvw.tmp.oldfile
Request your inputs to resolve the issue .
Regards,
MS.
by looking at the first message, it looks like there is problem with permission for service to write to the specific folder.
Service which is running publisher/QV server should have write permission to specific folder.
Hi Manoj,
Thank You for your reply. The folder in which the Application is placed has the required permissions.
Moreover the issue is intermittent, sometimes it gets reloaded. Most of the times it fails.
Regards,
MS
Hi
I am having the same issue which is very frustrating. My models extension is being changed to .tmp.oldfile which is breaking all my reloads.
Anyone has any idea?