Why do I see an Attempting to deserialize an empty stream exception when I build my VS.NET 2008 Website?
Websites create an App_Licenses.dll for component licensing which must be distributed with the application. Due to an apparent VS.NET 2008 bug, this dll is faulty when created during compilation on a 64 bit Operating System. To work-around the problem, the App_Licenses dll in the 2008 Website can be replaced. Options include: a) Compile a 2005 WebSite on the same (licensed) machine using the same controls/components b) Compile a 2005 or 2008 WebSite on a 32 bit OS machine, provided this machine is also licensed (Dart Developer licenses allow installation on up to two machines) Replace the faulty App_Licenses.dll with the resulting dll from one of the options above, and the Website should build and deploy without issue. Do not delete the new dll, or VS.NET will again create a new faulty one in its place.