Having Cassini Crash while using ASP.NET MVC

Tuesday, 15 June 2010 07:00 by SyntaxC4

This will be a short entry, but I think that it might save some people some time when building out ASP.NET MVC websites.

If you find that Cassini is crashing when you are testing out your ASP.NET MVC Application here is one more thing to check. Look at your master page file, it is generally a good idea not to touch any of the code that gets generated by the Visual Studio Designer, but from time to time you may find yourself playing around with the code in order to minimize the amount of content is being pushed out to the client. 

The Masterpage file still requires a <head> with the runat="server" attribute. This is required to render the content in the Placeholders within it. With that said, if you are to remove the runat="server" you will experience an error, in my case, the cassini web server would crash when ever I tried requesting a page with the invalid masterpage.

With any luck, this will help you out!

Happy Coding!

Tags:   ,
Categories:   Microsoft
Actions:   E-mail | del.icio.us | Permalink | Comments (1) | RSS

Comments

May 31. 2010 03:21

Pingback from topsy.com

Twitter Trackbacks for
        
        Having Cassini Crash while using ASP.NET MVC
        [syntaxc4.net]
        on Topsy.com

topsy.com


About SyntaxC4:

  • Cory Fowler
  • Guelph, Ontario
  • English
  • SyntaxC4

SyntaxC4 Tweets:

Posts by Date:

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

Archive:

Advertisements:

Tag Cloud:

Favourite Publishers:

Apress Daily Deal
Apress Daily Deal

Blog Roll: