
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
We have been facing a certain issue while trying to execute a report which has Linked Server connection being used in the SQL statement that's being fired.
App Server: XXXXXX
Reporting database: YYYYYY
Transaction Database: ZZZZZZ
Ex: We have a select statement which is hit on reporting database and then using linked server fetches data from certain tables in the transaction database (Reason for doing this is, two of the tables are not available in reporting database but transaction database which are required to fetch data)
SELECT
*
FROM
[Servername].[DatabaseName].dbo.tablename
The SQL is failing to execute in the production QlikView server and giving below error. Kindly note all other reports which are hitting the reporting database (like this one) are running fine (they don't have linked server connection) without any issues.
Error: ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
2019-04-23 11:38:49 ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
2019-04-23 11:38:49 Execution Failed
2019-04-23 11:38:50 Execution finished.
RCA: We have raised it with out helpdesk team to check why only the reports with linked server connection are failing to run and others run absolutely fine. Still no answers
In the mean time we have tried restarting the QLikView services and tried running the reports and they ran fine. However the reports again started failing at / after certain time in the day.
Has anyone else faced such issue and how was it resolved? any guidance much appreciated.
QlikView 12.10.20602.0 SR8
- Tags:
- qlikview_publisher
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Just to make sure anyone who is facing this issue on QlikView server, we may have found the problem & its solution.
Here goes the entire checks and workarounds that we tried before identifying what the issue was
We use windows authentication for the QlikView service account to fetch data from SQL database. We have not got this issue till last week. To answer your question, the login can't be anonymous
If i simply reload the document from the app server
> using my login, it fails
> using QlikView service account login, it fails
> using SSMS on my login, it fails
> using SSMS on QlikView service account it fails

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The error message that you are receiving indicates that the database itself is returning a login failure, as it is being done anonymously. Is it expected to be anonymous?
Does this reload work fine if you do not execute it based on a schedule or run a task in the QMC, but simply reload the document in the QlikView Desktop client?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sonja,
We use windows authentication for the QlikView service account to fetch data from SQL database. We have not got this issue till last week. To answer your question, the login can't be anonymous
If i simply reload the document from the app server
> using my login, it fails
> using QlikView service account login, it fails
> using SSMS on my login, it fails
> using SSMS on QlikView service account it fails

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Just to make sure anyone who is facing this issue on QlikView server, we may have found the problem & its solution.
Here goes the entire checks and workarounds that we tried before identifying what the issue was
We use windows authentication for the QlikView service account to fetch data from SQL database. We have not got this issue till last week. To answer your question, the login can't be anonymous
If i simply reload the document from the app server
> using my login, it fails
> using QlikView service account login, it fails
> using SSMS on my login, it fails
> using SSMS on QlikView service account it fails

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is some great stuff! Thank you for coming back to us with the resolution.
