Why Do I Get a SerializationException Thrown When Running a Website Built Using Measurement Studio, ASP.NET, and Visual Studio 2008 on Windows Vista 64-bitPrimary Software: Measurement Studio>>.NET SupportPrimary Software Version: 1.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: When building a website that uses ASP.NET, Measurement Studio, and Visual Studio 2008 on Windows Vista 64-bit I get a SerializationException at runtime with the message: Attempting to deserialize an empty stream Solution: While using a Measurement Studio component, which requires licensing, Visual Studio 2008 generates the licenses.licx file. This file is added to App_licenses.dll when building a Web Site. In Visual Studio 2008 on Windows Vista 64-bit, there is a known issue with generating the App_Licenses.dll in which Visual Studio does not add the licenses.licx file to the DLL. This has been brought to Microsoft's attention and will be fixed in a future patch or hotfix. There are a couple options for trying to get around this.
Note: This issue has been fixed in Visual Studio 2008 Service Pack 1. Related Links:
MSDN: Visual Studio 2008 Service Pack 1 and .NET Framework 3.5 Service Pack 1 Attachments:
Report Date: 07/16/2008 Last Updated: 09/05/2008 Document ID: 4NFI340R |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
