Opening a QlikView document on the AccessPoint or local client fails.
Failed to open document, You don't have access to this document
QlikView Server Event log may show error code 
or Scenario 1:
When using NTFS and trying to open a QlikView document with IE Plugin as an anonymous user you will get the following issue:
"Failed to open document, You don't have access to this document"Scenario 2:
An Qlikview application was designed and moved from another place, open fine with local desktop client, but get failed message when trying to open from access point. Things can be reproduced through
1. Exported load-script and layout from old Qlikview document
2. Created a new Qlikview document and imported the load script
3. Loaded the data (no layout yet).
4. The Qlikview document works fine on the server
5. Imported the layout into the working Qlikview document
6. The document no longer works on the server.
Note: this is not related to section access if you have in the original document
If there is Section Access on the document, usually there is an error code followed after the "no file access" error message.
If the error comes in conjunction with the error code , the error messages are associated with a .qvw file which has section access implemented using NTNAME. If the user tries to access the file with a direct QVP url and fails to get access, this message will be logged in the event log. If using anonymous then it could be the QVS account which lacks permissions.
For the error code , the server will try to open the document without requesting any userid/password from the client. If the document contains section access, this will fail (generating one warning in the event log). The server will then request the input of a userid/password from the client, this will render another warning in the event log.
Generally, it comes down to Section Access permissions, but it depends on if it is implemented with NTNAME or USERID.
For Scenario 1:
For anonymous access to work, the IQVS account needs to have read rights to the QVW files or the the folders where the QVW files are located
For Scenario 2:
- The IQVS account is used when users are accessing documents anonymously
- IQVS account is automatically created when QlikView Server is installed
- The account is named IQVS_machine name
- You can verify that the account has been created at the following place: Computer > Manage > Local Users and Groups > Users
The reason why it fails first when the layout is read is because then it read the Document settings and 'Initial reduction...'.
"initial reduction based on section access is to make sure the client doesn't see all data, and if some SA is lost we don't want the default behaviour to be that everyone suddenly can see all data." -
Solution: Add Section Access in the Script, or remove the check in Document Properties > Opening > Initial Data Reduction Based on Section Access --> Should not be checked
You need to reload the document and save as new application
For Scenario 3:
Make sure the Section Access table contains the end-users/service account name and permissions, in order to get access to the file. Failure to do so can result in one locking themselves out from the file in a no-reverse scenario.