Images' site don't loading with a specific url in mvc

Posted by Ivan90 on Stack Overflow See other posts from Stack Overflow or by Ivan90
Published on 2010-05-13T18:40:44Z Indexed on 2010/05/13 18:44 UTC
Read the original article Hit count: 221

Filed under:

Hi guys, I'm using ASP.NET MVC 1.0 and I try to create a personal blog!

I have a problem with an url that it has to show all post wrote in a specific year and specific month.

My url is look like(http://localhost:2282/Blog/Archive/2010/5).

So... it work correctly, infact it show all record that have year=2010 and month=5 but my problem is that when I use this url, images in total my site are no longer loading.

I have this problem only with this url's type.

I think that the problem maybe is my maproute?

 routes.MapRoute(
         "ArchiveRoute",
         "Blog/Archive/{anno}/{mese}",
         new { controller = "Blog", Action = "Archive",anno = @"\d{4}", mese = @"\d{2}" }     
      );

Why images don't loading with this url?

Thanks

© Stack Overflow or respective owner

Related posts about asp.net-mvc