Skip to Content

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

HTML Preview - Error message - Improper Config?

I'm using SAP CR 2013 in standalone mode, on a Windows 7 PC.

I have an SQL Server DB on this local machine, and can design and print reports as expected.

HTML Preview yields an error, inviting configuration of File\Options\Smart Tag and HTML Preview.

Of note, I did not have IIS installed at the time I installed CR2013.

I installed it now, and ran an update on CR2013 (Add/Romove Program - Modify).

The error persists.

The option is checked to "Enable HTML Preview when no logged on..."

Looks like I need to point to an ASPX application and have a virtual directory on my IIS.

Could someone help me get started?


Message was edited by: Ludek Uher Phone number removed (SCN Rules of Engagement and all that...)

Former Member

Ok, that sounds good. Now, in order for you to be able to see the reports in a web app, you will have to download SAP Crystal Reports, Developer Version for Visual Studio .NET (2010 / 2012 / 2013).

You will then have to add a bit of code to view the reports. The simplest code would be:

CrystalReportViewer1.ReportSource = <path to the report>

Now the above is pretty trivial, but lacks any power. E.g.; the report engine will prompt for DB logon and any parameters, which you may not want. Also, you will not be able to change the database logon (server, DB, table, etc.). For that you will have to expand the code. Once you have a working app, you will need to deploy the CR runtime to the server.

Perhaps the best place to start with all of this is here:

Crystal Reports for Visual Studio 2005 Walkthroughs

(Don't let the title throw you - the doc applies to all versions of CR and .NET)

There are a number of samples here:

Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki

And of course the Developer Help files:

SAP Crystal Reports .NET SDK Developer Guide


SAP Crystal Reports .NET API Guide

One last thing. There really are two SDKs - Crystal Reports and InProcRAS. Both come with SAP Crystal Reports, Developer Version for Visual Studio .NET, however RAS is much more powerful in that it allows report creation APIs, may be a bit more stable (according to some people), provides finer control over tasks such as printing and so on. The Developer Help files for EAS are here:

Report Application Server .NET SDK Developer Guide

Report Application Server .NET API Guide

Samples are here:

NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki

And a pretty good doc:

How to Use The RAS SDK .NET With In-Process RAS Server

Last, last thing ; SDK questions should go here:

- Ludek

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