Take the 2-minute tour ×  I have a virtual directory under my
MVC website in IIS called "Files". This directory is at the same
level as my Views directory. When I link to a file from my MVC
app to a file under my Files directory, I get the following
error:  The controller for path
'/Files/Images/1c7f7eb8-5d66-4bca-a73a-4ba6340a7805.JPG' was not
found or does not implement IController.  It thinks that my
Files VD is a controller. How do I access my files like a normal
VD without MVC interfering?   share|improve this question  3
Answers 3  up vote 1 down vote accepted  ASP.Net looks for the
directory first and then tries to match a controller, so what
you are doing should work. Are you sure the file with that name
exists and is accessible?  share|improve this answer Recycled
IIS, and everything works. Thanks. –  kmehta Apr 28 '10 at 15:30
When registering routes, try to add the following Ignore rules.
public static void RegisterRoutes(RouteCollection routes)
/* Ignore static content, see