« 2008 Prix Aurora Award Winners Announced | Main | New Company To Convert Saturn Sky To Electric »

Very Strange Visual Studio 2008 Error And Its Solution

Following Mike Ormond’s blog entry "Using ASP.NET Routing Independent of MVC" produced a bit of consternation for me when I followed his example and after installing the 0423 Preview of the MS Dynamic Data Runtime and Templates Library to obtain the System.Web.Routing dll discovered that creating any webpage in Visual Studio 2008 would give me the following error and warning in regards to the page directive:

  • Error: Length cannot be less than zero. Parameter name: length
  • Warning ASP.NET runtime error: Length cannot be less than zero.

The solution for now was to uninstall the preview and reference the System.Web.Routing dll directly.

A MSDN Forum Posting shows other people have been affected by installing the MS Dynamic Data Runtime and Templates Library.

The actual demo works great, a URL like http://localhost:57648/StandaloneRouting/Page2 points to http://localhost:57648/StandaloneRouting/Page2.aspx, making it look more “Web 2.0 like”.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on May 23, 2008 12:13 AM.

The previous post in this blog was 2008 Prix Aurora Award Winners Announced.

The next post in this blog is New Company To Convert Saturn Sky To Electric.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.35