Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Save As (print) issues on web app

I am a support rep for a company that created an asp .net IIS web app that generates reports created using Crystal Reports (CR Runtime 13.0.14).

The page displays the report just fine for all users but some users are able to use the "print" button that is also generated. This button doesn't actually print but is a "save as".

When it works the expected "do you want to open or save...." dialogue box pops up, but when it doesn't, there is no pop-up and no error.

If we make the user who is having the issue is made a member of the local computer admin group they are able to press the print button and get the desired results, so it seems likely to be a permissions issue of some kind. For clarification, they are logging onto the same computer with the same user/pwd, just different permissions.

We are having issues trying to narrow down which folder needs what permissions. So far we have enabled full access to both "users" and "iis_iusrs" on both the c:\temp c:\windows\temp  and the wwwroot\application folders on the server  - no change.

Our application traps errors and this is what it is reporting

#ERROR   OnPrintBtnClick || Error printing summary report: Load report failed.

#ERROR   Error printing summary report(trace):    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)

   at RtDuet_ARI.SummaryReportForm.OnPrintBtnClick(Object sender, EventArgs e)

I am not the developer, but even he is stuck so any help would be greatly appreciated.

Additional installed software info

Visual Studio 2010

Visual C++ 2008

Visual C++ 2010

Visual C++ 2013

.NET 4.0

.NET 4.5

Former Member

Hi Kevin,

Try Process Monitor and look for Access Denied, may show you where it's attempting to write to.

Are you saving locally of onto the App server?

Are streaming the output, if so use FileStream and not MemoryStream.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question