© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
5 replies
Populus

❔ Invalid column name 'CityId'.

Working on MVC and EF, created repos,services,viewmodels etc. About to fire up and see if everything is working, accessing the People index causes user-handled exception 'Invalid column name 'CityId''.
I have not explicitly typed 'CityId' anywhere, wondering where this variable comes from. Any takers?
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

invalid column SQL
C#CC# / help
16mo ago
❔ "Invalid object name '...' "
C#CC# / help
3y ago
❔ [Sql Server] invalid column names
C#CC# / help
3y ago
SQL code invalid object name
C#CC# / help
17mo ago