Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

ASP.NET ComicBookController isnt giving me a 404 error as shown in the tutorial

I just started the ASP.NET track and in the tutorial the instructions say to create a ComicBooksController which then return a statement when then asked to visit this url : http://localhost:60072/ComicBooks/Details i'm supposed to get a web page with the returns statement but i don't get this instead get an error

Server Error in '/' Application.

Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'ComicBookGallery.MvcApplication'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="ComicBookGallery.MvcApplication" Language="C#" %>

Source File: /global.asax Line: 1

how can i fix this?

EDIT: I also wanted to add, when i visit the http://localhost:60072/ idont even get the 404 error as shown in the video instead getting the same error above