Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

C# Building Services with ASP.NET Web API Planning Our Service Designing Our REST API

I got runtime error when I run the downloaded code

I have changed the "useInMemoryData" to true. and run the application , I got yellow screen saying An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.

1 Answer

Hambone F
Hambone F
3,569 Points

I know this an old post, but just in case:

I posted a new topic about this already, but basically you need to update the following two NuGet packages;

Microsoft.Net.Compilers

Microsoft.CodeDom.Providers.DotNetCompilerPlatform