I have a custom report for CRM that is using link to web page. I built the page in ASP.NET using filtered views in SQL. The page runs fine using Integrated Security on my development machine but does not work in production. Getting Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' error. I have tried setting up impersonation in the ASP.NET project and on the server itself. The page still appears to be using the network service account to call SQL instead of the impersonated user.
I need to access data within the CRM database without going through the UI. This is a web page that interacts with several of the entities in CRM. I tried setting up a SQL user with data reader permissions but it returns zero records from filtered views since, I am told, I am bypassing CRM's security which is what allows access to organizations.