Crystal Reports :: ReportViewer Not Displaying OLE Object?

Feb 9, 2011

That's pretty much it. A graphic in the header shows fine in CR Developer (2008), but doesn't show in the web report viewer control.

The data in the report looks o.k., it's just rendering a broken image when I test the report, with an address like this:

http://localhost:52491/CrystalImageHandler.aspx?dynamicimage=cr_tmp_image_bd87400a-878c-49de-979e-5ab0d4db8c80.png

I put my project on our webserver and rigged up a test URL, same there--so it's not restricted to the project being run out of VS 2010.

View 1 Replies


Similar Messages:

Crystal Reports :: Crystal Reports Are Not Displaying On Web Server

Dec 17, 2010

Crystal reports are properly working on my local pc but not on server. I am using vs 2008 and install crystal report for Visual basic 2008 on server.but parameter count for CrystalReport is zero on server.

CrystalReportViewer.ReportSource = Session("Rpt" & Request.QueryString("ReportGroup") & Request.QueryString("ReportCode"))[code]....

View 6 Replies

Crystal Reports Reportviewer - Set Datasource Dynamically Not Working?

Mar 25, 2010

I'm running CR XI, and accessing .RPT files through a ReportViewer in my ASP.NET pages. I've already got the following code, which is supposed to set the Report Datasource dynamically.

rptSP = New ReportDocument
Dim rptPath As String = Request.QueryString("report")
rptSP.Load(rptPath.ToString, 0)
Dim SConn As New System.Data.SqlClient.SqlConnectionStringBuilder(ConfigurationManager.ConnectionStrings("MyConnectionString").ConnectionString)
rptSP.DataSourceConnections(SConn.DataSource, SConn.InitialCatalog).SetConnection(SConn.DataSource, SConn.InitialCatalog, SConn.UserID, SConn.Password)
Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo
myConnectionInfo.ServerName = SConn.DataSource
myConnectionInfo.DatabaseName = SConn.InitialCatalog
myConnectionInfo.UserID = SConn.UserID
myConnectionInfo.Password = SConn.Password

'Two new methods to loop through all objects and tables contained in the requested report and set
'login credentials for each object and table.
SetDBLogonForReport(myConnectionInfo, rptSP)
SetDBLogonForSubreports(myConnectionInfo, rptSP)
Me.CrystalReportViewer1.ReportSource = rptSP

But when I go into each .RPT file, and open up the Database Expert section, there is obviously still servernames hardcoded in there, and the code listed above doesn't seem to be able to change the servernames that are hardcoded there.

I say this because I have training and production environments. When the .RPT file is hardcoded with my production server, and I open it on my training server with the code above (and the web.config has the training server in the connection string), I get the ol:

Object reference not set to an instance of an object.

And then if I go into the .RPT file, and change over the datasource to the training server, and try to open it again, it works fine. Why doesn't the code above overwrite the .RPT files datasource?

How can I avoid having to open up each .RPT and change the datasource when migrating reports from server to server? Is there a setting in the .RPT file I'm missing or something?

View 2 Replies

Crystal Reports :: Print Crystal Report Without Displaying It?

Mar 10, 2011

I'm trying to print my crystal report without having to display it on my browser by having the user click a button, however, I'm getting the following error:

Error in File C:DOCUME~1HESPIN~1LOCALS~1TempCustomerReceipt
{7E65DCC0-46B5-4D06-92FB-5BC201A6AB3F}.rpt: Unable to connect: incorrect log on parameters.

Here's my code (I created the report using the wizard and has a parameter that filters the data in the report):

Protected
Sub PrintReceiptButton_Click(ByVal
sender As [code]....

View 1 Replies

Crystal Reports :: ReportViewer Missing In Visual Studio 2010

Mar 13, 2014

my requirement is to add crystal report in my project which is developed in visual studio 2010 windows application.i have installed SAP Crystal report for VS2010 Successfully.but i cant find the control Crystl report viewer in my Toolbox.how to enable Crystal report viewer in VS2010 windows application.

View 1 Replies

Crystal Reports :: Add Image To RDLC (ReportViewer) Report Using Parameter

Nov 30, 2013

Binding the image as the report paramater in rdlc. I am using report viewer.

View 1 Replies

Crystal Reports :: Export / Print From Toolbar Just Displays Reportviewer Webpage Again

Jun 10, 2010

I'm having issues using the Print/Export functions from the CrystalReportViewer toolbar in Visual Studio 2005. In some cases, the print/export dialog window is simply replaced with the report page, instead of exporting/printing the data. Based on a dropdown box, the Report Document is loaded with a different report file:

If ddReport.SelectedValue = "Report-1" Then rptDoc1.Load(Server.MapPath("/Reports/Report1.rpt"))Else rptDoc1.Load(Server.MapPath("/Reports/Report2.rpt"))End If

View 1 Replies

Crystal Reports :: Bind Dataset Fields To Text Object In A Crystal Report?

Nov 10, 2010

using vs.net 2005, sql server 2005, creating windows form appI have a dataset that I bound to a crystal report as follows:

[Code]....

and in the Crystal Report in design view I added a Text Object called "myTxtObj".I am assuming that I can do something like this

[Code]....

However I'm not seeing the "myTextObj" with intellisense in the code behind in the form.so my question is: after binding a dataset to a report how to you bind column values to text objects on your crystal report?and actually one mor thing:I just ran the project and found out when I try to do the databind that i'm getting an error:"The report has no tables"how to solve this too?

View 1 Replies

Crystal Reports :: Error Object Reference Not Set To An Instance Of An Object When Run The Site

May 27, 2010

I have the following code in my form load that loads the reports and assigns it to crystalreportviewer control. If Not IsPostBack Then

[Code]....

Following is the ApplyCRLogin Class

[Code]....

Now when I run the site it prompts me for the parameters and when I enter them and click on OK, I get the following error. "Object reference not set to an instance of an object." But the strange thing is if I comment the "If Not IsPostBack Then" condition, my report works fine. The problem is even when I want to go to the next page in report, the code get executed again and this takes time. Is there any other way to fix this?

View 3 Replies

Crystal Reports :: Either The Crystal Reports Registry Key Permissions Are Insufficient Or The Crystal Reports Runti?

Aug 5, 2010

When i run the application locally it works fine but when i publish it n access from it it gives the error asEither the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.

View 2 Replies

Crystal Reports :: Displaying Same Fields Again?

Mar 14, 2011

I have included 5 tables in my crystal reports as follows

I have added the first four fields in patientdetails table in the header of report, which is displayed properely.

when I add the fields from bloodinfo table I can view only the fields of the 1 st patient, that too 4 times.

almost every patient has the data under bloodinfo but I can view only of one.

View 6 Replies

Crystal Reports Not Displaying Images In Run Time

Jun 2, 2010

i created a crystal report in my project . that is report worked fine if i run in debug mode(F5).then i created a virtual directry "myweb". if i run it from the browser like "localhost/myweb".. Data is displaying properly.but crystal report header images are not displaying. and i am not able to export & print.i have "aspnet_client" in www root folder. crystal report images and hava script files are exists in below path

C:WINDOWSMicrosoft.NETFrameworkv2.0.50727ASP.NETClientFilesCrystalReportWebFormViewer3

View 3 Replies

Crystal Reports :: Toolbar Not Displaying - CR 2008 And 3.5

Dec 7, 2010

I have a crystal report viewer on .aspx page. When the report is loaded, the report shows but toolbar not displaying, no buttons, borders or scrollbars.But with reports which open in new blank,everything's fine..the toolbar, buttons, borders and scrollbars all show perfectly.

View 3 Replies

Crystal Reports :: Using Viewer For Displaying On Page

Aug 8, 2010

i have a crystal report and now with using crystal report viewver want to display it on page. I want to display the crystal report when the page is loaded. so i have placed a crystal report viewver in the page and wants to put some codes in them. what vb.net codes i have to put on the page load for displaying the crystal report.

View 2 Replies

Crystal Reports :: Displaying Months In A Year

Dec 13, 2010

I am trying to create a report which is composed of all of the months in a year. My biggest problem is that we do counts for each month. These counts shouldn't change for previous months. They should remain static. But when I run the current month, I want to display the values in the previous months plus my current value. Do I need to create a formula for each month of the year or is there an easier way to capture this information?

For example:

The end of the fiscal year is July 11. I want to check my values for February to see what accounts are open and counted for this month as well as the accounts that are still open from January. These would all display in February. But I want the January account to report the same number (all accounts open in January) it held when I ran it in January. I want to do this for the entire year.

View 1 Replies

Crystal Reports :: Displaying One Record On One Page

May 7, 2015

I have data in 2 rows with 1 booking no each rows have different data. But when trying to view crystal reports shows only top row data.. i want 1st row data should come on 1st page and second row data on 2nd page.

View 1 Replies

Crystal Reports :: How To Keep Displaying Report Filters While Displaying The Report In CrystalReportViewer

Apr 8, 2010

How to keep displaying report filters while displaying the report in CrystalReportViewer.I have a web part that which uses CrystalReportViewer to display the report data. I want to keep displaying the Report parameters (filters) as I rendered the report content.

View 1 Replies

Crystal Reports :: Displaying Employee And Project In Single Viewer

Sep 8, 2010

I want to generate the two crystal reports one is employee and another is project. Now I want to display the two reports in a single crystal report viewer. I've tried using sub-reports but the page header is not available in a sub reports. So I want to display two separate crystalreports in a single viewer.

View 2 Replies

Crystal Reports :: Displaying Integers For Running Total Result?

Mar 5, 2011

I've got a report w/ grouping and a running total field. The running total is the sum of 'n' integer values, however, when I display the running total field it displays a floating point value. So for example, two rows have 10 and 15, but the the running total displays 25.00. Is there a way to display this result as an integer? I tried using a formula field w/ the 'Int', 'Truncate', and 'Round' functions, but nothing seems to work.

View 2 Replies

Crystal Reports :: Toolbar Images Not Displaying In Production Server

Sep 23, 2010

Crystal Reports Toolbar Images not displaying in the production server.

View 3 Replies

Crystal Reports :: Hindi Or Marathi Fonts Displaying As Boxes When Exporting To PDF

Apr 8, 2014

I am Exporting Crystal Report to pdf in hindi font it displaying  as boxes i have installed adobe reader 11.0 with asian extended language pack in my local system. (English is working fine problem is with only with hindi font)

View 1 Replies

Crystal Reports :: Crystalreport Object In Website(3.5)?

Apr 30, 2010

crystal report object is not giving intellesense in website while code is working fine in webapplication

View 2 Replies

Crystal Reports :: Converting ReportDocument Object Into Byte Array

Aug 16, 2010

Is it possible to convert the Report Document object as a byte array and store it in SQL , later retrieve and assing it to a report ?

View 3 Replies

Crystal Reports :: Integrating Crystal Reports XI(stand Alone Reports) With Web Application?

Jun 13, 2010

I'm new to Visual Studio.NET . I need to integrate the crystal reports into an ASP.NET application. I generated Crystal report with the help of crystal report XI developer edition(Stand alone version and NOT from the one which comes from visual studio).

How to integrate this report with the web application.

View 1 Replies

Crystal Reports :: Calling Reports Developed In Crystal Reports 8.5 In VS2008?

Jul 16, 2010

We have quite a few reports which were developed earlier in Crystal Reports 8.5. We are now planning to use these reports in our web application developed in VS 2008 (C#).

What dlls are needed for calling 8.5 in the application and how should they be added to the application while shipping it to the client?

They are also struggling to get the code running. Would also need the code to call the report with parameters.

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved