© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
18 replies
Andershow38

✅ Errors with my API

Hello everyone, I'm new about API's and I've struggled a lot when I try to deploy my API on railway. I've tried many times but I just can't make it work...
Locally it does work as it should however online on railway I've got many mistakes and the biggest one that I have no clue how to solve is this one:

Unhandled exception. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.

Unhandled exception. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.

Could not load file or assembly 'Microsoft.EntityFrameworkCore.Relational, Version=8.0.7.0, Culture=neutral, PublicKeyToken=xxxxxxx'. The system cannot find the file specified.
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

✅ Cors Errors on new API controller
C#CC# / help
2y ago
build errors in my function
C#CC# / help
4y ago
How should my ng-app communicate with API?
C#CC# / help
3mo ago
✅ Using services.PostConfigure<ApiBehaviorOptions> to log Model Validation errors in dotnet6?
C#CC# / help
3y ago