Monthly Archives: October 2010

3 posts

VS 2010 designer error when loading typed dataset: To prevent possible data loss before loading the designer, the following errors must be resolved

Have you ever encountered this error when trying to open a typed dataset (.xsd) in Visual Studio 2010: To prevent possible data loss before loading the designer, the following errors must be resolved: Object reference not set to an instance of an object. The cause of this error is the .xsc file under the typed dataset is corrupted or damaged. If you expand the typed dataset in Solution Explorer, you will see the file: To […]

From eBook from Microsoft

Thinking about upgrading to Visual Studio 2010? Here is a free eBook from Microsoft Press that will help you make the decision: Moving to Microsoft Visual Studio 2010 (http://blogs.msdn.com/b/microsoft_press/archive/2010/09/13/free-ebook-moving-to-microsoft-visual-studio-2010.aspx)

Invalid length for a base-64 char array error

I have been working on a project that needs to encrypt and decrypt the query string of a page, and I get the “invalid length for a base-64 char array” error intermittently. Thanks to this post (the third reply by Kagisho), I got the error fixed. But what caused this error? And why does it not happen all the time? Here is my encryption function and decryption function: private string EncryptString(string inString) { RijndaelManaged sysAlg […]