We are using the Crystal Reports Viewer (crviewer.dll) version 11.5.10.1263. It works fine in XP but fails with the following error in Vista:
A first chance exception of type 'System.AccessViolationException' occurred in sprdlgs2.dll
An unhandled exception of type 'System.AccessViolationException' occurred in sprdlgs2.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Sprdlgs2.dll is the DLL that contains the dialog in which the viewer resides. I know that crviewer.dll is registered correctly.
Our product is a C++ MFC multi-document application migrated from Visual Studio 6.0 to the .NET Framework 2.0 with the managed code flag (/clr) on.
Any help would be appreciated.