Tag Archives: serialization

IO Permissions Exception during XML Serialization

Today I fired up an application that I hadn’t touched in quite some time–I ran it, and got a very unusual exception error message while attempting to serialize an object from some XML:

Unable to generate a temporary class (result=1).

At first I suspected it was some silly Windows 7 user permissions problem, but I was running everything as Administrator! What could it be?
Continue reading