Wednesday, December 17, 2003

 

"Request cancelled by the user." "CrystalDecisions.CrystalReports.Engine" problem

When I try to print report from production IIS server (IISServer --- http://www.wurzburg.com/DataReports/PrintSalesOrder.asmx)
I get error message: "Request cancelled by the user." "CrystalDecisions.CrystalReports.Engine"

Here is proposed solution:
Printing reports from ASP.net or from Web Service

The idea is to update Machine.Config file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config). Particularly tag.
I updated "userName" tag and replaced original "machine" value with "system" value.

Crystal Reports started to work after that. But Gen6 identification was broken...

Current solution: I put DataReports web service (with Crystal Reports printing functionality) on QAServer computer (and set 'userName = "system"'.

Also "iisreset" is necessary in order to apply this web.config changes.

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?