cancel
Showing results for 
Search instead for 
Did you mean: 

"An error occurred during this operation" when clicking on the Print button in the WinForms CR Viewer

costa-b
Explorer
0 Kudos

Hello:

On this individual computer with windows 7 64 bit, when the user clicks on the Print button in the WinForms CR viewer, the print dialog flashes for a half-a-second then it shows a dialog box with the message "An error occurred during this operation".

Any ideas? We deployed the CR SDK 13 sp 14 64 bit runtime. The user has .Net 4.5.1 installed.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member183045
Contributor
0 Kudos

I had similar problems on 64 bit environments. The solution was to not use the standard compilation setting "Any Cpu" for the project, on 64 bit systems it should be "64 bit" or "32 bit" dependent on your database connection system.

Hope it helps, Andreas

costa-b
Explorer
0 Kudos

Very interesting, thank you. The thing is, it works on the vast majority of the computers. I will give it a try and come back here.

costa-b
Explorer
0 Kudos

It seems that running sfc on that computer fixed the issue. sfc found and fixed corrupted dlls, among which prncache.dll.

Answers (0)