I have an application which is target at any CPU. Under 32-bit system, it works fine, but on Windows 7(64-bit machine), I have an exception when trying to construct SerializerProvider, which seems trying to read the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WinFX Serializers" and get access is denied error. I do find out that if I build the application target at x86 and run the application as Administrator, it works fine, but that is not I wanted and also restrict to do so.
Does anyone know a solution to this? Thank you in advance.
View Complete Post