© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•10mo ago•
19 replies
santiw01

✅ Object reference not set to an instance of an object.

This error appears when I run the query shown in the picture. Even when I hardcode the userId, the same error persists. However, when I run the same query in SQL Server, it returns the expected result
Screenshot_55.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

"Object reference not set to an instance of an object"
C#CC# / help
17mo ago
Object reference not set to an instance of an object.
C#CC# / help
2y ago
✅ Object reference not set to an instance of an object?
C#CC# / help
2y ago
❔ ✅ 'Object reference not set to an instance of an object.'
C#CC# / help
3y ago