SQL Sever Synonyms, Entity Framework, and Integrated Security
Read OriginalThis article addresses a specific issue where using SQL Server Synonyms with Entity Framework and Integrated Security (domain service account) causes a 'Login failed for user NT AUTHORITY\ANONYMOUS LOGON' error. The author explains that while SQL Server authentication works fine, Integrated Security fails when accessing objects mapped to Synonyms. The solution is to replace the Synonym with a View that selects from the remote database object, keeping the same name. The article also covers granting appropriate permissions to the service account. This is a technical troubleshooting guide for .NET developers using Entity Framework with SQL Server.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser