why this error comes?
I am using windows authentication. But i am getting error
Login failed for user \'NT AUTHORITY\\ANONYMOUS LOGON\'
can any one help
Reporting Setup:
I had a report accessing datasource A, with a subreport which accessed datasource B.
The report connections were set to use Integrated Security.
From my development machine:
The "main" report would run perfectly fine from my development environment (as it was running everything as me.)
From the server:
I was able to execute the subreport directly, with no problem.
The main report would run, with the text "Error: Subreport could not be shown."
Actual Problem:
The subreport was executing under the NTAUTH\ANON user, because it was the Reporting Services code which was calling the sub-report. This error was in the SSRS Logs:
System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
Solution: Set up the sub-report data connection to execute using a SQL User login. Only grant that user execute on the particular procedure you're calling for the report. This allowed me to get the report working without involving other departments that controlled the application servers (modifying web.configs or IIS configurations)