Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Upgrading to MVC Preview 5 - System.Web.Routing problem

Yeah this is old hat, I know.  The Preview 5 release was news about three weeks ago.  There wasn't a need for me to upgrade until today.  Both Derik and Casey did great write-ups on some of the issues in migrating from Preview 4 to Preview 5 (found here and here respectively).  I've been using their posts to assist in the transition.  However, as I was making the move I kept getting the following error:

Could not load file or assembly 'System.Web.Routing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

I was following the advice that both Casey and Derik laid out for upgrading the web.config of all old System.Web.Routing references and yet I was still getting the error.  I could search the whole solution for "0.0.0.0" and not a single result would be found.

Turns out that in my haste I forgot to upgrade the MvcContrib library that we are also using.  It had a reference to System.Web.Routing (0.0.0.0).  So it was a little oversight on my part and after I upgraded to the latest MvcContrib, I was back on my way to upgrading, routing problem solved.

Cheers!


Posted 09-22-2008 9:55 PM by Tim Barcz

[Advertisement]

Comments

buy viagra online wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 02-02-2013 2:29 PM

8O5SD1 Awesome blog post.Much thanks again. Much obliged.

buy imitrex generic wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 02-15-2013 5:39 PM

FI0CFg Hey, thanks for the article post. Keep writing.

buy cialis online wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 02-23-2013 4:57 PM

SDyuzr I am so grateful for your blog.Really thank you! Much obliged.

buy clomid wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 03-01-2013 3:38 AM

XOzL49 Major thankies for the post.Thanks Again. Want more.

amazing site wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 03-03-2013 9:25 PM

yaGfFj Thanks for sharing, this is a fantastic blog post.Much thanks again. Want more.

bookmaring service wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 03-13-2013 12:40 PM

bmxz08 Great, thanks for sharing this blog article.Thanks Again. Fantastic.

social bookmarks wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 03-14-2013 3:47 AM

fdpF4v Very good blog article. Fantastic.

social bookmarks wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 03-14-2013 5:16 PM

h6roK8 Wow, great blog article.Really thank you! Really Cool.

buy social bookmarks wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 03-22-2013 2:01 PM

j4z16L A big thank you for your blog article.Really looking forward to read more. Cool.

buy social bookmarks wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 03-24-2013 3:19 AM

rYqRgh Thanks for the blog article.Really looking forward to read more. Great.

buy social bookmarks wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 04-04-2013 12:32 AM

lionbh Thank you for your article post.Really looking forward to read more. Much obliged.

Social bookmarks wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 04-04-2013 5:16 AM

MopikY I am so grateful for your article. Great.

grizzly bears wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 04-06-2013 1:21 AM

Really informative blog article.Thanks Again. Great.

comedy shirts wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 04-06-2013 4:20 AM

Thanks-a-mundo for the blog.Thanks Again. Will read on...

social bookmarking service wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 04-13-2013 10:17 AM

Q773po This is one awesome article post.Really thank you! Fantastic.

buy social bookmarks wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 04-24-2013 12:26 PM

1PeIHo I think this is a real great blog.Much thanks again. Awesome.

buy social bookmarks wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 04-27-2013 7:27 PM

pOG4We wow, awesome article post.Really looking forward to read more. Will read on...

camera buying guide wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 05-13-2013 10:06 PM

yOFvPJ I cannot thank you enough for the article post. Much obliged.

best social bookmarks wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 06-19-2013 9:48 AM

oflQbY Im thankful for the article post.Really thank you! Fantastic.

great service wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 07-04-2013 8:58 AM

tFEhD9 Appreciate you sharing, great blog.Thanks Again. Fantastic.

cheap link building wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 09-24-2013 12:12 PM

YqeYUL Im grateful for the post.Thanks Again. Much obliged.

link building team wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 10-01-2013 6:43 AM

wY107q Great, thanks for sharing this blog.Really thank you! Really Cool.

link building team wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 10-15-2013 6:09 PM

ubH1CA Thank you for your blog.Much thanks again. Fantastic.

top seo guys wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 10-25-2013 9:26 PM

QGysh1 Really informative article post. Really Cool.

link building wrote re: Upgrading to MVC Preview 5 - System.Web.Routing problem
on 10-31-2013 1:20 AM

dp4rsp Awesome article post.Really looking forward to read more. Much obliged.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)