I have reviewed the many articles about this subject, but have not been able to resolve it on our end.
Windows Server 2003 32 bit
Crystal Runtime for VS 2010 SP 8
ASP.NET 4.0
When using ActiveX for the PrintMode, the error:
A communication error occurred. Printing will be stopped.
The strange thing is that the same code works perfectly on a Windows Server 2008. The ActiveX control loads and the printer dialog comes up perfectly.
Things we have tried:
1. Report object is stored in the HTTP Session.
2. Compression is disabled.
3. We have tried setting session state cookieless to both true and false in the web.config
4. No proxies. The test is made directly on the web server.
5. Using Fiddler the error "Validation of viewstate MAC failed" is thrown when clicking on the printer button.
6. Process Monitor did not show any errors except for a Path Not Found:
C:\DOCUME~1\UserName\LOCALS~1\Temp\CRViewer12\PrintControl_res_en.dll
Any help would be appreciated. Again this works on a Windows Server 2008 but not on 2003.
Thank you.