Using Crystal Reports on a webserver without installation
Hello,
I'm sure this has been asked before, but I cannot seem to find it.
Is it possible in any way to use Crystal Reports.NET (VS2008) on a production server without installing the merge modules, runtimes, etc for an ASP.NET 2.0 web app?
I'm moving hosts, and my new host uses a shared server architecture, and I cannot install any third party apps on it. I'd like to be able to continue to use the current functionality in my web app, but it requires CR.
Hello,
There is no supported method of using Crystal Reports without deploying the appropriate runtime files. Since Crystal Reports is not fully managed by the .NET framework this additional step is required.
Sincerely,
Dan Kelleher
Similar Messages
-
Can you use Crystal Reports on a webpage without having to use session?
In all of the examples I have seen it shows using the session to store the reportdocument object between postbacks. That means that clicking the page buttons fires a postback. Other reporting tools such as PDF, ActiveReports, and others do not have to do this. Is this a limitation of Crystal and a COM backend or is it just a common sample and not the only option?
How do you get paging to work without having to use session and do postbacks? AJAX, Javascript, converting to a PDF, etc. would all be possible ways to not require a postback.
My problem is that I am using SQL Server to store the session and the reportdocument object is not serializeable. I have been told I can buy Crystal Report Server for $5000 and this will work. But in reality I can buy other reporting tool for $500 or convert them to SQL Reporting and it will work as well. So I am trying to be reasonable and figure out what I need to do. That seems like a bit much to need a whole server application to serve the reports just to turn on paging for a couple of simple reports. I'm hoping there is a way to not use session to get paging to work.
I have consider pushing the report into viewstate and not session. But I would rather not push it into either. Is this a valid option?
What is the typical way to handle this sort of thing? Do you really have to push it into session to get the CrystalReportViewer control to page on an ASPX page. What other options are there?
Any suggestions, thoughts, or ideas would be very much appreciated. This is causing enough of a problem where the company is asking me to look at alternatives if we cannot solve this.
Best regards,
JonAcrobat doesnu2019t cause postbacks when paging because the acrobat reader installed locally, so its viewing is in a client-side control. I imagine the same thing is the case for ActiveReports (some sort of client-side activex control installed).
If the winform viewer was used on in your web page, then you wouldnu2019t get postbacks either, but then you'd need Crystal Reports runtime on the client to view in that control. And placing a winviewer in a web page give me shivers...
So, to avoid using session, recreate the reportdocument and re-load the report on postbacks.
As Surabh mentioned, you can serialize the report but you will have to use teh InProc RAS. There is an issue thought; you start to get load errors and otehr errors after viewing 3 reports. I belive this has been reported to R&D for a fix comment, but I do not have and ETA at this time. The code for the InProc RAS SDK would be as follows:
If Not IsPostBack Then
Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim boReportClientDocument As CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument
' rpt.ReportAppServer = "Inproc:multithreaded"
rpt.Load("c:inetpubwwwroot estSerializeInprocRASEmployee Profile.rpt",
OpenReportMethod.OpenReportByTempCopy)
boReportClientDocument = rpt.ReportClientDocument
Dim x As String = boReportClientDocument.DataDefController.Database.Tables(0).Name
' boReportClientDocument.DatabaseController.logon("sa", "admin")
Dim convertUtil As New CrystalDecisions.ReportAppServer.Utilities.Conversion()
Dim serializedDoc As String
serializedDoc = convertUtil.ToString(rpt.ReportClientDocument)
Session.Add("SerializedDoc", serializedDoc)
'ViewState.Add("SerializedDoc", serializedDoc)
Response.Write("The document has been serialized.")
CrystalReportViewer1.ReportSource = boReportClientDocument.ReportSource
Else
Label1.Visible = False
Button1.Visible = False
Dim x As String
x = ViewState("SerializedDoc").ToString()
Dim deSerializedDoc As ISCDReportClientDocument
Dim convertUtil As New Conversion
deSerializedDoc = convertUtil.ToReportClientDocument(Session("SerializedDoc").ToString())
'deSerializedDoc = convertUtil.ToReportClientDocument(ViewState("SerializedDoc").ToString())
CrystalReportViewer1.ReportSource = deSerializedDoc
Response.Write("You are viewing a de-Serialized report" & "<BR>")
Response.Write(ViewState("SerializedDoc").ToString())
End If
[1542991 - How to serialize the ReportClientDocument using the RAS .NET SDK?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343332333933393331%7D.do]
- Ludek
Edited by: Ludek Uher on Dec 9, 2011 11:16 AM -
Deploying a report to the end user without using Crystal Reports Server
Hello,
I'm using Crystal Reports Professional XI.
I finished creating a report that contains several subreports. Now it's time for me to deploy the report to the end user so that they can start running it. The company that I'm doing this consulting work for does not have Crystal Reports Server setup so what is the best approach to deploying this report to the end user? For now it would just be one user using the report but down the road there could be other people within his department that are running it as well.
if you have any questions or need additional information to answer my posting just let me know. Have a good day.
Regards,
TingHi Ting,
I see now.... In older versions of CR like 8.5 there was a Deployment Wizard one could use to compile the report and runtime into an executable to run on an end users PC so that user could preview and refresh the reports.
That ability stopped as of CR 8.5 or earlier, I don't recall exactly now.
Yes, if they want to be able to run your report they will need to install a copy of Crystal Reports, then just send them your RPT file, they can then set Database location to their DB Source and then preview and refresh the report as required.
Or as mentioned use a third party app to do the same or write your own. It's quite simple to do and likely one of our samples applications is all you need with a few basic changes, report source and DB log on info would need to be updated.
As for licensing, the end user must purchase a copy of Crystal Reports to be able to use your application. Third Party app's would include the licensing mostly but check with them if you go that way.
The convenient part is if the users want to write their own reports they can.
And for your sake if you want to protect your reports the next version of CR has a read only RPT file format that all the user can do is preview and refresh the report. They can not edit it in anyway.
Thanks again
Don -
Can not use crystal reports 2008
Hi All
I m not able to use crystal reports on windows server. I can use it everyehere bt not on the server i dnt know if the problem is bcoz it's a 64bit machine or not.
We are using .Net application.
Thanks in advance.
AnitaHi Anita
Crystal Reports 2008 doesnu2019t have 64 bit support or runtime hence you are getting the attached error.
To run the application with Crystal reports there are two workarounds:
1. Run the IIS under 32 bit mode so that your application will use 32 bit Crystal Reports runtimes.
For this please do the steps mentioned below:
1.When compiling the application in Visual Studio .NET 2008 you will need to force it to 32 bit mode.
You can do this by right-clicking the project name in the Solution Explorer.
2.For VB.NET
Click Compile, then Advanced Compile Options. For the Target CPU drop down box, change it from "AnyCPU" to "x86" then click OK.
3.For C#.NET
Click Build and change the Platform Target option from "Any CPU" to "x86".
Now follow the steps mentioned in the Kbase article from below link:
http://support.microsoft.com/kb/894435
You should then be able to run the application on a 64 bit OS without error.
The second workaround is
To change the references in your web application to CR 10.5 i.e. Crystal Reports basic for Visual Studio 2008. Crystal Reports 10.5 has the runtime for 64 bit machine.
For this:
1. Uninstall Crystal Reports 2008 from your machine.
2. Run the set up file for Visual Studio 2008 (from CD or the installation source that you use).
3. Click on Repair.
4. From the list of components select Crystal Reports 10.5 and click on Next.
5. After the repair is done you should be able to use the application using Crystal Reports.
Hope this helps!!
Regards,
Sourashree -
Server error in printing in server using crystal report 2008 with VS2008
Hi,
We are using Crystal report 2008 in VS 2008. Everything working fine in local but when we deployed it in the server we are getting the below while print the report.
"An error occurred on the server. Printing will be stopped. Would you like to view the error information"
Anyhow the report is printing but I don't know why this error is occur and how to stop this. I had installed the CR runtime in the server. I dont know what is going wrong. The same we tested locally in a non crystal report installed PC.
Please help me to get rid out of this error.
Thanks
NatrajSoemthing strange going on here.
Typically this Integrated vs Classic is an issue with images where Classic uses web.config tags between <system.web><httpHandlers><u2026 crystalimagehandler../></httphandlers></system.web>
Integrated uses tags between <system.webserver>u2026<handlers><..crystalimagehandler/></handlers></system.webserver>
Not sure why this would affect printing. Do you have tags that specifying where to download the printcontrol from? On the other hand, I would think that if images had anything to do with it, then you'd get red Xs when viewing. As far as I know, the printcontrol.cab doesnu2019t need to be specified in the <system.webserver> tags.
This one may be best resolved over the phone. Phone support can be obtained here:
http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
Ludek -
Using crystal reports to generate invoices
Post Author: samme
CA Forum: General
I'm writing a report for a client who wants to print multiple invoices using crystal reports. The invoice needs to sort in date order, one date and information associated with that date on each page. Each page has a subtotal since multiple items/services are linked ot one date. The last page of the invoice needs to have the total and should at the bottom of the page with the last subtotal. Not onlastrecord does not work because if the user prints multiple invoices, crystal doesn't see the "last record" until the last record of the last invoice.
The client wants the normal invoice information on the first page of the invoice: Company Logo, Customer Address, Company Info, Invoice #, Date, etc. as well as the column headers - quantity, unit of measure, price, etc.
On all other pages of the invoice, the client wants, the company logo, the invoice # and the column headers.
I have the report grouped by invoice number and then by a date formula. I cannot seem to get where I need to be with this invoice and have been working on it for some time. Can anyone give me some direction please.....
Thanks in advance!On Sat, 15 Mar 2003 16:46:48 GMT, "Bill Bradley"
<[email protected]> wrote:
>I know. We thought that the Report Builder would be the way to go,
since
>ART didn't do too much for us. You guys poorly document it, and,
show no
>examples of using it to build a report. In addition, it'd be nice if
>SOMEONE would come up with a list of what tables show what. While
Novell
>may have a detailed list of things in the ZFD docs, it's pretty much
so
>detailed and complex that, it's next to useless. I've resorted to
doing
>huge dumps of things to a csv, then, using CR or Excel to generate
some kind
>of report.
>
>The whole process is not as easy as it should be, seeing that we paid
money
>to get a reporting vehicle.
>
>As comparison, SMS isn't any easier, but, there's more documentation
on it,
>so, when you're forced to roll your own report, it's a clearer
path...
I do understand, I'm not a programmer either :-(
the company who wrote report builder is Digital Metaphors, they have a
very good
training application and additional detailed information of how to
write
reports.
The CIM schema is I agree Cr** (well not easy) and without the detail
that
Novell provide it doesn't work.
I hope that a friend of mine is going to provide the compromise that
you and I
are looking for. Namely the ability to create the SQL queries that
ART can
make, with a simple report system. Keep an eye on caledonia.net for
an
announcement for ART4 (Derived from but unrelated to Salford
Software's
product) :-)
Tim
No Direct e-Mail Please!
Tim Heywood
Independent Consultant
Scotland
Novell Support Connection SYSOP
In theory, practice and theory are the same,
In practice they are different! -
Error when use Crystal report Bundled Version with Vs2003 on Windows Vista
Post Author: MartinoLuccarelli
CA Forum: .NET
Hi, I have developed a software with Vs2003 that uses Crystal report Bundled Version. I have created a Installation package that include the merge modules, and i have entered the Licence Key for Crystal_regWiz2003 module. If i install and use the software in the computer with XP or Windows 2000 I do not have problems. But when i install the software on the PC with Windows Vista i have this error when the probram show a report "Operazine di Crystal Report non Riuscita perche' non e' stato possibile ottenere una licenza gratuita nel tempo allocato" Thank'sUninstall CRVS2010 that you currently have installed.
To remove the assemblies from the GAC use gacutil. Google will get you a number of links on how to. Also, see the KB [1535325 - How to remove CRVS2010 Beta 2|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333335333333323335%7D.do].
Reinstall CRVS2010 SP1 from here:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
- Ludek -
Problems with concurrency tests using Crystal Reports for VS 2005
Post Author: condeagustin
CA Forum: General Feedback
Hi
My name is Agustin and Im using Crystal Reports for VS 2005
and NET 2.0 to generate pdf files. This is the scenario:
I created a COM+ object in c# and everytime the
COM+ creates an instance of this object, the following flow is executed:
it reads an xml file from a database, then it feeds the report with this
xml file, afterwards it generates a pdf file and finally this pdf file is
inserted into the database. Both fields (xml and pdf fields) are varbinary in the
same table in sql server 2005. All the flow from reading the xml to inserting
the pdf into the database is executed in memory, it never goes to the hard
disk. In other words both the xml and the pdf file are stored in memory (the
RAM). That is the only function of that COM+ object and I already have it in a
production server and it works GREAT!!
The PROBLEM is the concurrency tests. I made the following tests
in the same production server:
1. First I went to the registry and I set the PrintJobLimit to
100 in HKEY_LOCAL_MACHINESOFTWARECrystal Decisions10.2Report Application
ServerServer
2. I shut down the object in the COM+ and I executed 100
threads all at the same time. Each thread created one instance of the object in
the COM+ and the 100 pdfs were generated SUCCESFULLY in 5 minutes!!
3. Then I executed again 100 threads (WITHOUT shutting down the
object in the com+). 10 pdfs were generated succesfully but the rest were
never generated and there was no exception because my object was NEVER
INSTANTIADED in the COM+, I mean, the 90 instances were never created in the
COM+, so my object was never executed, THAT IS MY PROBLEM!! Do I have to
modify something in the registry files of crystal reports to fix this? What can
I do? I have revised the code in that object a LOT OF TIMES and believe me,
everything is being closed and disposed at the end (the memory streams, the
ReportClass objects, the connection to the database, even the dataset used to
store the data of the xml file!
So to sum up the problem is not with the execution of my object
(cause once is created the object works great and the pdf is generated
perfectly!), the problem is with the com+ TRYING to create another instance
of my object given that test scenario. Help me please, What do you
suggest?
The production server has this specifications:
Operative System: Windows Server 2003 Enterprise Edition with Service Pack 2
Processor: Dual Core AMD Opteron 2212 2.00GHz
RAM: 820MB
Hard drive: It is partitioned in 2 drives --> C
drive has 20GB and D has 60GB
Note: Each generated pdf has only one page and if you bring it
to disk its maximum size is 56KB
I hope your answer and thank you
Agustín Conde MartíPost Author: John Werner Enoksen
CA Forum: General Feedback
Hi, im about to write a simular solution where I will use VS2008/Com+ to be in compliance to an existing solition written in VB6.0, so I was googling to look for bumps. Did you figure this one out?
Best regards,
John Werner -
Can we use Crystal Reports 2008 tool to directly reports on SAP R\3 data?
Hi,
Can we use Crystal Reports 2008 Designer to directly reports on SAP R\3 data without any additional Integration Kit for SAP?
I believe the Integartion Kit is only for reporting on SAP BW data.
Thanks in advance for your response and any additinal details you can provide.
Thanks,
SriPlease post this query to the Crystal Reports Design forum:
SAP Crystal Reports
That forum is monitored by qualified technicians and you will get a faster response there.
Thank you for your understanding,
Ludek -
Creating Employee Badges using Crystal Report.
Hi,
I have a requirement where i have to create Badges for Employees using Crystal Reports. The report is created but the issue here is when i generate the PDF output, apart from the portion of the rectangular Badge, there is lot of white spaces on the report and when i give it for printing, the entire PDF with white space is also coming up. I tried with resizing the crystal report but it did not worked. I want only the rectangular portion of the badge to come on the PrintPreview which can then be given for Print. Is it something to do with the print setting? I am using a special kind of printer(Evolis-Pebble) which is used to print badge cards.
Any help will be greatly appreciated.
Thanks,
Ashish.Thanks Jayaprakash, we have asked for the installation of printer driver on the server machine where we design the report. Hopefully, we should get options to customize the report template to correct size as of the Badge size. Currently only default options are coming which doesnot allow us to use custom option to have the report to exact size of the Badge in the page setup.
Thanks,
Ashish. -
Can we develop CRM report by using Crystal report?
Dear all expert,
There is a report in CRM PRD which our ABAP programmer had did one which is complicated and invovlving FM and method. but since we had purchase BOBJ, we would like to develop this report by using crystal report. Is it possible?
Thank You.hi Stratos and Ido.
Stratos, i had try to develop 2 report and had figure out on how to do it soon. but now i have another CRM report that need to be done first for the use of marketing meeting next week. The report is 90% done where there is one field which make my report cant be finish. once i put that field into the report, it return me all the values contain in it. This causing other field follow to duplicate as well. The situation is as below:
without that field, my report goes(A B C D is the field header):
A B C D
1 II $ +
2 I % -
The field from table TJ30T(E is the field header):
E
a
b
c
When i try to put the E field into my report:
A B C D E
1 II $ + a
1 II $ + b
1 II $ + c
2 i % - a
2 i % - b
2 i % - c
I had check the linkages, there is only one key linking which is CRM_JEST.ESTAT - > TJ30T.STAT. How to overcome the situation as i mention above?
Thank You. -
Database Location using Crystal Report XI
Crystal Report XI Developers Edition; VB 6 Enterprise Edition
Prior to using Crystal Reports, I will create (if not already there) a database in my Visual Basic project file.
Via Crystal Report XI, when I designed reports, I used Database Location as my project file where I stored a copy of the .mdb file.
Prior to creating an "installaltion setup" package, I will create a Directory in Program Files. Let's use and example--I'll call the Directory in Program Files "Sports" so what I do is to copy the ".mdb" file to this directory and change the database location in the rpt files to "C:\Program Files\Sports".
I have a question, in most install packages, the installer has the option to change the location of the setup files. Let's say installing my application, the user changes the directory. Therefore, the setup files (including the database) are not in "C:\Program Files\Sports" they are in "C:\Program Files\SomeOtherDirectory".
QUESTION: How does Crystal Report know about this change? Remember in the design I setup the database location as ""C:\Program Files\Sports". Is there a way to tell CR where the database file is located (i.e. application path)?
Thanks,
SamThe Crystal Reports dlls must be in the correct Bin directory (depends on the version of CR used). You can not change this. If you are using a database such as Access mdb, you can set the report to look in it's own directory for the mdb database. If that is what will work for you, ensure that the report and the database file are in the same folder. let me know if you need more info on this.
Ludek -
Using Crystal Reports on a Citrix server
Post Author: rmarty
CA Forum: Deployment
I have a 2003 .net windows application that internal crystal reports built in using Crystal 11 SP2. On a basic client the merge modules and the reports run fine without incident.
This does not work on a Citrix server. I get a report load error.
Does the CR 11 Runtime need to be installed on the Citrix server?
Is there some special procedures or applications I need to install?
I don't believe I should have to install a server license for this to work or be licensed.
Anyone have experience with CR11 in a windows application running on a Citrix server?Hello,
There is no supported method of using Crystal Reports without deploying the appropriate runtime files. Since Crystal Reports is not fully managed by the .NET framework this additional step is required.
Sincerely,
Dan Kelleher -
Using crystal reports to pull ZfD3 inventory information
Is it possible to use Crystal Reports to pull information from the
ZfD3
database? If so, what version of Crystal is recommended, and how
should
crystal be configured to connect to the database?
thank you
TomOn Sat, 15 Mar 2003 16:46:48 GMT, "Bill Bradley"
<[email protected]> wrote:
>I know. We thought that the Report Builder would be the way to go,
since
>ART didn't do too much for us. You guys poorly document it, and,
show no
>examples of using it to build a report. In addition, it'd be nice if
>SOMEONE would come up with a list of what tables show what. While
Novell
>may have a detailed list of things in the ZFD docs, it's pretty much
so
>detailed and complex that, it's next to useless. I've resorted to
doing
>huge dumps of things to a csv, then, using CR or Excel to generate
some kind
>of report.
>
>The whole process is not as easy as it should be, seeing that we paid
money
>to get a reporting vehicle.
>
>As comparison, SMS isn't any easier, but, there's more documentation
on it,
>so, when you're forced to roll your own report, it's a clearer
path...
I do understand, I'm not a programmer either :-(
the company who wrote report builder is Digital Metaphors, they have a
very good
training application and additional detailed information of how to
write
reports.
The CIM schema is I agree Cr** (well not easy) and without the detail
that
Novell provide it doesn't work.
I hope that a friend of mine is going to provide the compromise that
you and I
are looking for. Namely the ability to create the SQL queries that
ART can
make, with a simple report system. Keep an eye on caledonia.net for
an
announcement for ART4 (Derived from but unrelated to Salford
Software's
product) :-)
Tim
No Direct e-Mail Please!
Tim Heywood
Independent Consultant
Scotland
Novell Support Connection SYSOP
In theory, practice and theory are the same,
In practice they are different! -
Failed to retrieve data from the database using Crystal Reports XI R2
I am using Crystal reports XI R2 and using the Universal Web Connector (connecting to Coghead). When I put some some of the fields from the database and run Preview I get "Failed to retrieve data from the database." . Where is this message coming from and how can I track down what the issue is?
Hi Jamie,
When you are trying to Browse Data of a field it is not poping up any window menas, it is unable to interact with database and get the data from database.
Try to create a new report using ODBC with Xtreem Sample Database. If you get the data in your report without any error then your connector is not working / unable to pull the data into your report.
You can find the supported platforms document in below link
http://support.businessobjects.com/documentation/supported_platforms/xi_release2/default.asp
Thanks,
Sastry
Maybe you are looking for
-
XML Parser to insert values into a Table??
Hi All, Bare with me I am new to xml technology, but apparently there's request to parse a xml file and store data in a oracle table. Appreciate if someone can help me to resolve this please?? I am using Oracle 10g. This is the xml file which I need
-
My output panel in Adobe Bridge is blank - any suggestions??
-
Soap Header in Xcelsius: How to pass Credentials
Using Xcelcius 2008 (Excelcius Engage) We are making a dashboard application which uses the Web service connection to call SOAP based web services. Is there a way to Authenticate the Web Services passing User ID pwd from within one of the excel cell
-
I downloaded Keep 'Em Seperated off a USB stick my friend gave me with a bunch of music. Well, when I play the song, it normally starts out with a quiter intro as opposed to the rest of the song. iTunes made it so that the song is all the same volume
-
When we try and re-use TaskRSLovRN Lov on a custom page we get the following error. I have compared the custom and vanilla PG using the LOV to make sure it is used in an identical fashion and cannot get to the bottom of this. Could anyone please give