• Home
  • About
home

Cutting Teeth on MVC: Could not load type ‘System.Web.Mvc.ViewPage<...>’

Digg it

Bookmark it

Stumble it

Email to friend

22
May

teethmd.jpgHours of debugging and wondering what was going on with certain Views not loading, I traced down this awesome post and had to re-post it for anyone else who might be experiencing this particular pain…

Problem:

Parser Error Message: Could not load type ‘System.Web.Mvc.ViewPage<…>’.

You’ve checked your references, the view, the controller… what’s the deal?

mvcerrorsm.jpg

Solution:

Missing in your “Views/web.config” “pages” element:


         
            
         
      

Related Solution:

If you created the project using an RC or Beta, you may need to recreate it using the final version 1.0 as a few things changed and may contribute to this or other issues. I had to do this since I started the project before I installed 1.0

Links:

Alkampfer
Ben Hall

Update :-\
After referencing the MVC Futures DLL, this solution stopped working for me, I have now had to resort to copying the “Views” web.config into every subfolder under Views. Not sure if it’s related. How Annoying!

Good luck.

General, Link'd Up     Tags: mvc error view web.config
No Comment Yet   

MVC, You’re a … Rock Star (Everybody wants U)

Digg it

Bookmark it

Stumble it

Email to friend

17
May

mvc.jpg

It’s hard to go anywhere right now and not see MVC center stage, bathed in bright flashing neon lights. The .NET community seems to be adopting this faster than many expected. There was a lot of speculation that MVC would end up being the country cousin of the more popular ASP.NET WebForms. That it could only hope for a small percentage of marketshare when it came to a MS solution for the web. Well fast forward a year and a half all the buzz has catapulted MVC from certified-underground to “Cool Kid”cult status. If there is a machine behind MVC you’d have to agree that it was the community. MVC, We Made You.

If like me you heard the buzz and downloaded the beta at any of the varying stages, you’ll appreciate the mainstream love headed MVC’s way. A sure sign of that love are the number of blog posts, tweets and, remixes ( MvcContrib/CodePlex) Many of the books aren’t out yet but here is a short list with links. I’ll do a quick review of one in particular which is the “MEAP” ASP.NET MVC in Action by Jeffrey Palermo, Ben Scheirman, and Jimmy Bogard.

Cover and Chapters(Click to enlarge)

mvc_in_action.jpgThe items in red were missing from the Early-release version I read. If you order the book I expect the chapters might change slightly and those missing will happily be complete. Items in green are a must read. Items in white are specific to the issue and you can go back to these chapters when you need that knowledge.

Overall

I liked this book a lot. I read it over the span of a few hours and I didn’t skip much aside from the chapters in white above. The first 100 pages are PERFECT. They cover everything you’ll need to get busy coding. I like that. Some books expect us to read books cover to cover and ration the goodies. We like easy books that give it up right away. This is probably the only time I’ll ever get to say anything like that.

Get the book if you are familiar with some of the approaches the authors like, or if you want to get an advanced alt.net style approach to implementing mvc.No wizards here.

They embrace a lot of different concepts along the way.If you get the MAEP version, expect to see some omissions, errors. The book doesn’t come with recipes which I would have liked to see.

Code Swag Rating

4 daps out of 5

Keep reading for more… …click here to read more

Alt.NET, Books, Community     Tags: and Jimmy Bogard., Ben Scheirman, Book Review ASP.NET MVC in Action Jeffrey Palermo
No Comment Yet   

Throw Some D’s

Digg it

Bookmark it

Stumble it

Email to friend

16
May

dz.jpgÂÂ

On Wednesday I’ll (hopefully) be at the .NET Calgary user group presentation being held on Domain Driven Design.

 I’m not new to the topic but the presentation will be using Fluent nHibernate and DDD, which is quite a lot to talk about in one night. However, considering JP will be delivering this presentation, we might get it all done and still have time to compost the pizza boxes!

Speaking of Pizza box re-use:ÂÂ

Community, Design & Architecture     Tags: ddd design architecture boodhoo user group
No Comment Yet   

Yoga for Desk Jockeys

Digg it

Bookmark it

Stumble it

Email to friend

26
Apr

Anyone who slangs code for a living can appreciate this.

Soft 5x1llz     
No Comment Yet   

Turn Your Swag On: AutoHotKey and underscores

Digg it

Bookmark it

Stumble it

Email to friend

6
Apr

autohotkey_underscores.jpg

If you don’t know, I’m here to tell you…. even if you’re not using BDD nomenclature in your tests. This AutoHotKey script can be quite useful just to have hanging around.


I wasn’t aware of the update to the script, it’s 2:33 am and this must be the exact time of day that typing a bunch of underscores really starts to seem tedious. I searched to find a solution and I’ve decided to update my findings here to help promote the good work of “dave^2 = -1″ ( I could use his government name but what’s the fun in that… ). Here are some links that detail how to install this and the benefits of doing so..

The basic gist of it is, dave^2=-1, has written a script or improved the one that may(or may not) have been originally written by JP. It was updated late last year, to use the script you just have to download AutoHotKey and then the zip file from dave^2=-1‘s site and you can get your_underscore_swagger_right!

Thanks to these guys for their efforts, seriously!

General, Tools & Products     Tags: turn your swag on underscores autohotkey bdd
No Comment Yet   
Newer Entries »
« Older Entries

Search


  • Recent Entries
  • Archives
  • Links
  • Nuget Schnuget: A review
  • The Internet Is Dying
  • You dont love me, you just love my coding style
  • As real as it gets…
  • Gone Too Soon – R.I.P. Michael Jackson 1958 – 2009
  • More Things I found on Twitter
  • SQL Management Studio install on Win7 RC
  • ‘Stunt Hard’ with MVC, but keep WebForms on standby
  • Fluent nHibernate Errors
  • Tools: Friend or Foe?
  • January 2012 (1)
  • December 2011 (1)
  • February 2011 (1)
  • November 2009 (1)
  • June 2009 (4)
  • May 2009 (5)
  • April 2009 (2)
  • March 2009 (4)
  • February 2009 (2)
  • January 2009 (1)
  • August 2008 (2)
  • July 2008 (2)
  • David Woods
  • Jason Hunt
  • Mo Khan
  • Tom Opgenorth
  • Wes Byers

Mixtape



DJ Whoo Kid's Obama's Happy Ending - Some classic hip hop dedicated to Obama's historic win! Relax your mind, let your conscience be free: I only post legal Mixtapes!!! If The Man is going to getcha, it won't be through this blog!

Tags

  • .NET Framework 3.5 .NET Page Life Cycle 5x1llz and Jimmy Bogard. asp.net Ben Scheirman BlogEnging.NET Book Review ASP.NET MVC in Action Jeffrey Palermo c# Code Analysis Code Query Language (CQL) Continuous Integration Controls Cryptography DADD drag-and-drop alt.net canada calgary 5x1llz ddd design architecture boodhoo user group Dependency Injection Design FIT FITNesse Fluent nHibernate errors Object relational mapping ORM iBatis Interview skills job hunting Linq mvc error view web.config OpenSearch Patterns Products Query Refactoring Scheduling SQL studying swag Testing Time Management Tools tools friend or foe turn your swag on underscores autohotkey bdd twitter; hanselman; 5x1llz vb.net Visual Studio 2008 Windows Workflow Work-Life Balance

Browse Our Tag Archives

.NET Framework 3.5 .NET Page Life Cycle 5x1llz and Jimmy Bogard. asp.net Ben Scheirman BlogEnging.NET Book Review ASP.NET MVC in Action Jeffrey Palermo c# Code Analysis Code Query Language (CQL) Continuous Integration Controls Cryptography DADD drag-and-drop alt.net canada calgary 5x1llz ddd design architecture boodhoo user group Dependency Injection Design FIT FITNesse Fluent nHibernate errors Object relational mapping ORM iBatis Interview skills job hunting Linq mvc error view web.config OpenSearch Patterns Products Query Refactoring Scheduling SQL studying swag Testing Time Management Tools tools friend or foe turn your swag on underscores autohotkey bdd twitter; hanselman; 5x1llz vb.net Visual Studio 2008 Windows Workflow Work-Life Balance

Subscribe

  • technorati add aol netvibes rojo myyahoo modern freedictionary subrss chicklet plusmo newsburst ngsub wwgthis subscribes

Links

  • David Woods
  • Jason Hunt
  • Mo Khan
  • Tom Opgenorth
  • Wes Byers

Most Popular

  • Coming Soon

Recent Updated Post

  • Nuget Schnuget: A review
  • The Internet Is Dying
  • You dont love me, you just love my coding style
  • As real as it gets...
  • Gone Too Soon - R.I.P. Michael Jackson 1958 - 2009
  • More Things I found on Twitter
  • SQL Management Studio install on Win7 RC
  • 'Stunt Hard' with MVC, but keep WebForms on standby
  • Fluent nHibernate Errors
  • Tools: Friend or Foe?

©2007-2012 5x1llz

Disclaimer: All data and information provided on this site is for informational purposes only.

WordPress Themes by Irish Band & Steel Band