Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor - Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

$
0
0

I've built a Blazor application, but when we deployed it into a Testing environment, I received the following error:

An exception occurred while iterating over the results of a query forcontext type'TestApp.Data.DBContext.LookupDbContext'.

Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed foruser 'NT AUTHORITY\ANONYMOUS LOGON'.

But I'm not entirely sure why it is attempting to send in NT AUTHORITY\ANONYMOUS LOGON when my connection string contains a User ID field.

"DefaultConnection": "Server=testServer;InitialCatalog=TestDatabase;UserID=user;Password=password;Encrypt=False;Trusted_Connection=True;"

When I was debugging and using the application locally, I never experienced this error, and my connection string was the same.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>