Crystal Reports :: Blank Page Rendering When Run Project
Jun 16, 2015
[URL] ....
I followed above link to create sample Crystal Report Project. Here is my code:
string conStr = ConfigurationManager.ConnectionStrings["MasterDb"].ConnectionString.ToString();
protected void Page_Load(object sender, EventArgs e) {
ReportDocument crystalReport = new ReportDocument();
crystalReport.Load(Server.MapPath("~/CrystalReport1.rpt"));
DataSet1 ds = GetData();
crystalReport.SetDataSource(ds);
[Code] ...
When I run my project, blank page renders. No Crystal report is displayed.
View 1 Replies
Similar Messages:
Jan 26, 2011
I have a simple crystal report created on VS 2008 .net 3.5 sp1. The report works when I run it from the local host connecting directly to the live hosted database. When I copy the files to the host server it connects with out error but at the point where the report viewer frame would appear I get a blank page and Done displayed on the browser status bar.
The host server has Crw server installed on it and other websites on the same server are working OK.
View 1 Replies
Feb 7, 2011
I have no problems viewing data on local machine but for some reason I cannot view that same report on the web. When i view source of the web page I can see data inside the javascript but the page is blank. What could I be doing wrong?
View 2 Replies
Nov 12, 2012
i cant access crysrtal report after deployment in IIS i have depolyed my website the pages where my crystal report is just blank .. how can i access crystal reports????
View 1 Replies
Mar 12, 2011
I'm having a lot of trouble with this, and all the examples that I've found online tell me different things, so II added a DataSet to my project and added my database table to it. (DataSet should be ready)I added a CrystalReport to my project and in the Details section, I right clicked and chose "Database Expert" under "Database". I expanded "Project Data" and found my DataSet...I selected my table and added it to the "Selected Tables" list.In the CrystalReport designer, I used the "Field Explorer" to add 5 of my database fields (just for testing purposes). The report added their names to the "Page Header" and the fields to the "Details" section.On some button click, I use the following code to show the report:
[Code]....
where "conn" is my global SqlConnection.where "CrystalReportViewer1" is obviously the viewer I have put in my aspx page.where "DataSet1" is the DataSet I created and holds my table.where "CrystalReport.rpt" is obviously the report I created.and I used the following code to make sure that myDS actually was loaded with the data:
[Code]....
So the DataSet is definitely loaded with data, the CrystalReport is found (because before I was having trouble with loading into oRpt), and no exception is being thrown because the "Catch" section is never reached.I'm sure it's something dumb I'm doing, but does anyone have any suggestions? I know if I can figure this little problem out, I can expand it to the more complex things I want it to do. But currently, I can't get anything to show,
View 7 Replies
Jun 21, 2010
is there a way in crystal report to remove blank space between two data field for example
Field 1 Field 2
how do i make it the distance between Field 1 and Field 2 become closer and look like this
Field 1 Field 2
without changing the position of the Field 2 in the report design... i need this cause the data in Field 1 is different for each user and i need the Field 2 to have a smaller font size than the Field 2 so i cant use formula since formula only allow 1 font size.
View 5 Replies
Nov 6, 2010
i have one problem in executing the ssrs reports..
i've developed one project for that project there are some SSRS reports which are deployed
in path ( "http://localhost/reports/") it is working fine...
when i run through the project and press F5 ( i.e execute) the reports
are displaying correct with full of content in that...
now i want to host that project.. so i've created one virtual folder named as proj in IIS7..
and i've assigned the project to that..
when i execute from IE7 and type the path http://localhost/proj then the main page is displayed
and when i click the button print then it is showing the empyt report with only the toolbar above
no content are there in reports ...
but when the run the project i.e F5 then the report is displayed with full of content...
View 1 Replies
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
Jan 17, 2014
I have create one service.cs for insert record I want to call Service.asmx on button event i.e. when I click on button then insert the record in database
View 1 Replies
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
Mar 17, 2011
I have requirement that have to add header and footer into 50 over reports. So I dont want to change one by one.
Is there a way to create master page header and footer and used it in multiple reports?
View 1 Replies
Mar 30, 2010
I am developing we application using Csharp on Visual studio 2008.How can I pass values from Page or GridView to a Crystal Report? For example I want some details on a Default.aspx want to appear on the Crystal report when I click on it. How do I pass theses values from Page to crystal report at Runtime?
View 3 Replies
Nov 19, 2010
I am working with Parametrized Crystal Reports. There are only two page called Source.aspx and Target.aspx.
[code]...
Only One text box data shows Not 2nd One.Can any one help me with this by checking my code?
View 2 Replies
Mar 11, 2011
I create an ASP.NET Crystal Report Web application using VS.NET 2010. In ASP.NET page, I stored two values in Session state and need to pass them as input parameters to Oracle stored procedure. In Crystal reports 2010 once you connect to a stored-procedure as data source, it automatically creates the parameter fields with Crytal Report Viewer. how I pass values to store procedure at runtime automatically.
Detail code:
1. ASP.NET page store the values in the Session:
Sesion.Item("CourseNumber")
Sesion.Item("StudentNumber")
2. I like to pass above values to the store procedure with IN parameters named P_CourseNo and P_StudentNo to print out the Crytal Report with Store Procedure as data source.
View 3 Replies
Mar 9, 2011
I have RDLC report using in my application when I was working on it suddenly I got one error..."Project file must include the .NET Framework assembly 'WindowsBase, PresentationCore, PresentationFramework' in the reference list."Even if I have not used any of the WCF related properties. However, to Resolve this issue I have exclude rdlc from my project and then solution works file.
View 4 Replies
Nov 29, 2010
I am using Crystal Report 2010 with C#, have a web form and want to display Page N of M to user in a Label while printing crystal repots. How can I implement this?
View 2 Replies
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
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
Apr 6, 2010
I have already generated crystal reports but i've made them static. but now i want to make the user to select the criteria for generating the reports. for eg., in one of them i want to show monthwise data so user should be able to select the month and year and that would be passed as parameter and compared to the existing data. provide me with proper exact code that can be used for giving parameters in such a report using C#.
View 3 Replies
Jan 4, 2011
In my system Visual studio 2008 with sp1 and Crystal Reports XI Release 2.In Visaul studio 2008 ,while adding add reference it showing crystal reports version 10 instead of 11.How to solve the version problem.
View 1 Replies
Feb 15, 2010
I am considering using Crystal Report 2008 as my tool of creating reports on my webpage.The only problem which I'm facing is that I have no control of the remote server which hosts my site (besides uploading files). I can't run a MSI to deploy the CR runfiles.I can't find anywhere in the CR user manual of how to deploy the runtime files without running the msi, and I'm not even sure it's possible.Have anyone deployed CR 2008 without running the MSI and without having to register any files?
View 8 Replies
Sep 1, 2010
I have a field in my dataset with type nvarchar(1000). when I link it to crystal reports, it converts it to a field of type string with length set to 100. As a result of that, the string in that field is being truncated on the report. How can I increase the string length to 1000? (I already checked the "Can grow" option).
View 3 Replies
Feb 9, 2010
I have developed few crystal reports using VS.2005 and now i want to deploy the same on my web server which is running Windows 2003 server and got installed only .net frame work 2.0.... so now i want to know how can i run those reports successfully and i have downloaded CRRedist2005_X86.msi and even crXIsp3 and 4 _net_server from business objects page and i do have Crystal Reports XI original CD.... while by using them can i run crystal reports on my web pages.
View 1 Replies
Jun 15, 2010
I want report generted based on value from querystring.
View 3 Replies
Feb 4, 2011
Crystal
Reports Error when publishing a Website on to the Web Server---- The type initializer for 'CrystalDecisions.Shared.CrystalReportClientScriptManager' threw an exception
View 3 Replies