Installed Q11 first release in DEV environment without any issues for our Loop&Reduce. Upgrade to Q11 SR1 on Wednesday, reload worked fine. Since Thursday getting System.IO.FileNotFoundException, but not on every reload. Permissions are fine and antivirus disabled.
Did anyone receive an update from Qlikview?
22/03/2012 4:07:40 PMError Failed to generate QVW files.. Exception=System.IO.FileNotFoundException:Could not find file'C:\ProgramData\QlikTech\DistributionService\1\temp\1cee2a61-91fb-4d09-89c0-b34f51518c87\document.qvw'.File name: 'C:\ProgramData\QlikTech\DistributionService\1\temp\1cee2a61-91fb-4d09-89c0-b34f51518c87\document.qvw'at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) atSystem.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptionsoptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy,Boolean useLongPath) at System.IO.FileStream..ctor(String path, FileMode mode,FileAccess access, FileShare share, Int32 bufferSize, FileOptions options,String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path,FileMode mode, FileAccess access, FileShare share, Int32 bufferSize,FileOptions options) at QVBWrapper.Document.GetStream(ILogBucket i_LogBucket,eDocumentType i_DocumentType, String i_URL, Boolean i_ShowToolBar, Stringi_ReportID)
22/03/2012 4:07:40 PM Error Failed to generate QVW File package..Exception=System.NullReferenceException: Object reference not set to aninstance of an object. at QDSMain.DistributeHelper.GrabQVWFile(ILogBucketi_LogBucket, FilePackageContainer i_ParentFilePackageContainer, Stringi_FileName, Dictionary`2 i_DuplicateList, Document i_Document)
22/03/2012 4:07:41 PM Error The task "Cube LevelFlag3" failed.Exception: QDSMain.Exceptions.DistributionFailedException: Distribute failedwith errors to follow. ---> QDSMain.Exceptions.LogBucketErrorException:Failed to generate QVW File package.. Exception=System.NullReferenceException:Object reference not set to an instance of an object. at QDSMain.DistributeHelper.GrabQVWFile(ILogBucketi_LogBucket, FilePackageContainer i_ParentFilePackageContainer, Stringi_FileName, Dictionary`2 i_DuplicateList, Document i_Document) atQDSMain.DistributeTask.RevertOneAndAlwaysOne(Document qvbDocument) at QDSMain.DistributeTask.ReleaseQvb(DocumentqvbDocument) at QDSMain.DistributeTask.Distribution(String fileName,DistributionRequest distributionRequest, TaskResult taskResult, StringrepeatVariableName, String currentRepeatVariableValue) at QDSMain.DistributeTask.Execute(TaskResultcurrentTaskResult) --- End of inner exception stack trace --- atQDSMain.DistributeTask.Execute(TaskResult currentTaskResult) atQDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResulttaskResult)
I encountered a similar error log, but was able to solve it.
The document had section access enabled, but was not yet reloaded with this enablement. I had accidently given the credential that the distribution service runs under user rights instead of admin rights. By setting this user to admin it fixed the error.
In short: make sure that the services under which QlikView does the reload and distribute have sufficient access rights to the QlikView document.
Qlikview support was able to identify the issue regarding this error with Publisher in Q11 SR1. Our document state is saved with a Multibox that has the alwaysselected option enabled. By removing this option, publisher is able to loop-reduce and save the document. This feature was working fine in Q9 SR7. The work around for this solution was a macro to select the top value and lock it. Setting the overide lock on the Multibox gave us the flexibility to change the selection.
As some have already pointed out, for me it was related to disk space.
The available space on the C: drive was less than the size of my qvw so it seems that QV can't actually save the temp file to the folder C:\ProgramData\QlikTech\DistributionService\1\temp
The error message just says "Could not find file" but the real problem seems to be that the temp file could not be created due to disk space limitations.
I know some of you already have answered this question but I just faced this issue today and I'd like to confirm:
This error could be cause by (at least) two scenarios:
1) HD (where your server is placed) out of space. The needed space is related to yours application's size.
2) The QlikView user (the one who was created during the QlikView server instalation) has no right to write files
I would suggest try check the number 1 first because is easier to identify
in fact, it's a strange scenario... I strugle a little bit to realize that was only HD space issue.
I hope it safe someone's time