Crystal Report Coming out Blank
Hi Guys
I have been struggling for days now with a my vb.net app that is using sql server as DB. I am creating a crystal report but it seems it always comes out blank when i use my dataset as the datasource. If i change the datasource to my-pc it all works fine
but i dont want this as it will be using another server after deploying the app.
I have created a CrystalReportViewer1 and a rptAllEmployeesSalaries.rpt crystal report .The report is displaying data from two tables which i used an INNER JOIN Select statement. This is my code on the form load event;
Private Sub frmrptAllEmployees_Load(sender As Object, e As EventArgs) Handles Me.Load
Dim rpt As New rptAllEmployeesSalaries 'The report created.
Dim myConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("TMS.My.MySettings.xConnectionString").ConnectionString)
Dim MyCommand As New SqlCommand()
Dim myDA As New SqlDataAdapter()
Dim myDS As New xDataSet4 'The DataSet created.
myConnection.Open()
Try
MyCommand.CommandText = "SELECT employeeWork_infor.jobTitle, employeeWork_infor.status, employeeWork_infor.branch, employeeSalaries.salary, employeeWork_infor.employeeSurname, employeeWork_infor.employeeName, employeeWork_infor.employeeNo
FROM employeeWork_infor FULL JOIN employeeSalaries ON employeeWork_infor.employeeID = employeeSalaries.employeeID"
MyCommand.CommandType = CommandType.Text
myDA.SelectCommand = MyCommand
MyCommand.Connection = myConnection
myDA.Fill(myDS, "employeeWork_infor")
myDA.Fill(myDS, "employeeSalaries")
rpt.SetDataSource(myDS)
CrystalReportViewer1.RefreshReport()
CrystalReportViewer1.ReportSource = rpt
Catch Excep As Exception
MessageBox.Show(Excep.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try
myConnection.Close()
End Sub
End Class
Please help my report always comes out blank im not sure why
Trevor
Thanx Venkat786
1) i tried Running my T-sql query in SSMS and it does give me the data that i want.
2) I put the "myDS.WriteXml("c:\temp\result.xml")" before my set datasource line inside my code and it does write all the retrieved data to the result.xml file.
3)When the designer previews the report it populates it with what looks like sample data and not data from my DB.
From steps 1 & 2 it looks like all is working fine not sure if the result im getting on 3 is ok, but still after all this my report is still coming out blank.
Would really appreciate it if you continue to assist...
Similar Messages
-
MY photosmart B 210 is not printing with the black ink at all. Pages are coming out blank
Print report says ink is low in the colours but they do appear on the sheet but no black ink at all
It is a relatively new cartridge and genuine HP ink. Stopped suddenly
Pages from print or copy are coming out blank.
Tried to clean print heads and it says
Print System Failure : Oxc19a0003
and tells me to switch printer off and back on which I have now tried but getting the same message!
What does this mean?Hi @BrendaMC,
Welcome to the HP Forums!
I noticed that your HP Photosmart B210 printer is not printing black ink, and that the pages are coming out blank. I am sorry to hear this, but happy to help!
I would suggest to go through the following guides:
Printer Prints a Blank Page or Does Not Print Black or Color Ink for the HP Photosmart Plus e-All-in....
'Problem with Printhead,' 'Printer Failure,' 'Ink System Failure,' or a '0x...' or a 'C2...' Error M....
Ink Usage in Inkjet Printers.
Hope these guides are helpful, and have a good day!
RnRMusicMan
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to say “Thanks” for helping! -
Crystal Report Print Out Template
Hi Dear;
How can i create or from where can i Get Crystal report print out template for sales and purchasing Documents in SBO 8.8
best regards;Link for documentation of B1 8.8
https://websmp104.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000680297&_SCENARIO=01100035870000000183&_ADDINC=011000358700002837782005E&
Thanks
Krish -
New ink in Deskjet F380 but pages still coming out blank!!
New ink in Deskjet F380 but pages still coming out blank!!
Hi annettepmcp,
I see that you're having problems with your printer. I would take a look at the document below.
Print Quality
Let me know how it goes. -
Crystal Reports 9 ActiveXViewer blank report
Post Author: dougbaker
CA Forum: Crystal Reports
I had this same problem with Crystal 11 and opened a case, but it was never resolved because the client who had the problem accepted the workaround and was only going to be using our software package for a short time longer. I haven't yet found anything relevant in the KB.
I support an ASP (not ASP.NET) web application that uses the Crystal Reports ActiveXViewer which is downloaded from a web site running IIS 6.
The ActiveXViewer download to the IE browser (6 or 7, it doesn't seem to matter) works fine. But the report is completely blank. I can resize, refresh, and use the various controls for the viewer, but nothing changes. If I export the report to a word doc, it works and the data is in the word doc. So, the workaround for Crystal 11, to export to a word doc and then print that, works for Crystal 9 as well. My customer installed SP5 on the IIS machine, but that did not make any difference.
I'm just wondering if anybody has run into anything like this.Post Author: IdoMillet
CA Forum: Crystal Reports
Change the number of colors in the display setup. -
BUSINESS OBJECTS- Crystal Reports-based out of Function module
We are right now creating BUSINESS OBJECTS- Crystal Reports. Our client requirement is to create this report based out of u201CFunction moduleu201D.
With the current parameters settings at the Crystal Reports designer we are able to create the report based on View and Linking various table. The reports get executed and fetch data. But when we create a report based out of FM, the report returns nothing. The screen stays in u201CNot responding stageu201D and terminates after without any message/pop-up.
Can anyone please help us resolving this? Are there any parameters/settings to be done which we are missing?
Thanks,
PallaviHi Pallavi,
Not much info to go on. What version of Cr are you using?
What database and version are you using?
How are you connecting to the database, ODBC, OLE DB or native driver?
Have you turned tracing on the server to what SQL is being passed from CR?
Have you copied the SQL from Show SQL in the Designer and paste that into a DB SQL test tool to verify you should be getting data back and that you are not returning so much data it's going to take a week to get?
Not responding simply means CR is waiting for data, try being patient and see if you ever get data or add a Record Selection formula so you only get a few rows of data.
Try reporting off of a single table itself to verify it works and you have permission to run the SQL.
Thank you
Don -
Crystal Report Viewer shows blank but exporting shows results
I'm getting a really strange issue when opening a report using the CrystalReportViewer class. The Crystal Report Viewer shows up nicely in my webpage....but the report is completely blank. When I click on the Export button in the Viewer & export to any format, the results show up nicely. Also when I right click on the Viewer page & view source, I can see all my report data there in Javascript....but for some reason it's just not being rendered on the page.
I'm using Crystal Reports 2008 & I believe I've added the necessary jars & also included the entire crystalreportviewers folder (with all js files) in my Web folder. Also, I don't see any exceptions in the crystal_exception_log_file.
Any help would be greatly appreciated
ThanksThe same problem to me also.
I was using the crystal report in visual studio 2008, the report was perfectly working. But when we migrated the project into visual studio 2010, the crystal report simply shows the blank report. But the javascript is having the actual data but not only rendered in the screen.
Please anybody have valid solution for this, let us know.
Thanks -
Video frames to layers coming out blank on cs3 extended
This has only just recently started happening as it was working fine earlier, but now when I try to open an Avi. file into video layers the frames are just coming out white. Anything I can do to fix this?
Convert the file in ffmpeg/ MPEGStreamclip or another tool or export it from Quicktime Pro using anotehr CoDec. PS just sucks at dealing with these compressed files and using such an old version doesn't help with contemporary digital video from a camera...
Mylenium -
Hello Experts,
I need a solution to this, am sure its been done before. I would like to print out a report, actually payslips such that instead of each payslip on a diffrent paper, it just prints on the other side of the paper, as in on the right but I don't mean behind the paper.
thereby saving paper.
How can this be done ? Please help urgently.what is the input parameter of the report
(how you want to select those two employees)
Thanks
Krish
This is duplicate thread -
Various reports coming out now that iPhone 6Plus Sold out!
Various reports are now surfacing that the iPhone 6Plus is sold out, not verified and I am sure the stores will have them. However, shipments are being delayed 3-4 weeks on new orders....stay tuned people!!!!
I am sure Verizon and others will still take your orders....just won't get it for awhile...DDoes this mean that they will only ship when they have enough for all the preorders? Or will this that ordered right at 12:01 PST still get it on the launch date and those that ordered at say 8:00am PST may have to wait a few weeks?
i Seem to recall a similar situation with the 5-model, but I still got mine on the launch date because I ordered at 12:00am i ordered my friends a few hours later and hers took longer -
Iphoto Slideshow Export Coming Out Blank
I've tried multiple times to export a slideshow, from IPhoto, onto a cd onto a hard drive via usb port cd or wirelessly and without fail EVERYTIME the movie has spots where the music will still play but the photos disappear and it's black (blank). HELP!
Have you checked, if the photos, that should be visible at the black spots are o.k.? Perhaps the connection to the original image files is broken. Try,if you can edit or export the photos in question.
If the photos cannot be edited or exported, try, if rebuilding the iPhoto library will fix this.
How to rebuild the library is described here by Old Toad:
Rebuild iPhoto Version 11 https://discussions.apple.com/message/22114274#22114274 -
Crystal Reports Crashes on startup
All,
Please help. We have been using Crystal Reports for a couple years now, never really impressed with the product but it gets the job done. Now we have 10 or so users that use the software and it keeps crashing. We are up to three licenses that are just going to waste becuase the computers the software is installed on can't start the program anymore. We are using Crystal Reports 2008 SP3 on each system.
3 Computers are suffering the exact same problem.
When Crystal Reports 2008 is selected from the start menu the program loads until the point it shows the Start Page then it closes itself down, no errors, no indication on what is going on it just goes "poof" as the users explain it. Oddly enough however if I right click the application shortcut and choose "Run As" I can start it as a diffrent user on that machine however the user it was intended for cannot. The program did start in the past but it now does not start at all. Since I can start it as another user I assume it is some part of the users settings in Crystal Reports that is the problem. I was hoping to find a folder in the application data or the local settings folders that had to do with Crystal Reports that I could just delete/rename to make the program load all defaults but none such folder seems to exist. I tried deleting all the Crystal Reports registry keys for the particular users in the Current User Hive to reset to defaults but that doesn't work either. I have uninstall and reinstalled the program numerous times. I tried diffrent service packs, 1, 2 and 3 all with the same result.
We don't have a Crystal Reports server we are just using the program to formulate reports coming out of a SQL database but at this point we can't even start the program to connect to the database.
The computers running the software are the following:
HP 6730b Business Notebooks
2GB of RAM
2.4GHz Core 2 Duo
250GB HD
Windows XP SP3
Latest Windows updates as of September 15, 2010
McAfee Virus Scan Enterprise 8.7i up to date as of yesterday October 11th, 2010I found the solution late last night. Apparently the Start Page for Crystal Reports is what is causing the problem becuase when I tried to open in IE 8 it would give me errors about scripts on the page. It looks like SAP didn't properly program in a try and catch statement when loading the start page that would catch the error instead of crashing out the program. Since the Start Page doesn't hold any useful information anyways I just disabled it by replacing the start.html file in
%PROGRAMFILES%\Business Objects\Business Objects Enterprise 12.0\win32_x86\Start Page\en with a blank HTML document so that there is nothing to load that could upset Crystal Reports and cause it to perform Sepukku.
I think I am going to put out a patch to my users today to disable all their start pages before my helpdesk gets clogged with requests.
Thanks for the help. -
Visual basic with crystal report 8.5 error on reporting
i am dvelping a program base on accounting
Connection Using ADODB through record set...
when view the report through compiler using run vb project method the data show is ok but when run application through MDi form the crystal report show blank data...
my code in mention below
plz help
Dim Ac2 As String
mDATE1 = Format(DTP.Value, "MM/dd/yy")
mDate2 = Format(DTP1.Value, "MM/dd/yy")
Ac2 = TxtCode.Text
Set Rs = New ADODB.Recordset
Rs.Open "delete * FROM tmp1", Con, adOpenKeyset, adLockPessimistic
Set Rs1 = New ADODB.Recordset
Rs1.Open "select (opdr),(opcr) FROM acoding where acode= '" & TxtCode.Text & "'", Con, adOpenKeyset, adLockPessimistic
Set Rs2 = New ADODB.Recordset
Rs2.Open "SELECT Sum(dr)-sum(cr) as opening from ledger where date < # " & mDATE1 & "# and pcode = '" & TxtCode.Text & "'", Con, adOpenKeyset, adLockPessimistic
Set Rs3 = New ADODB.Recordset
Rs3.Open "select* FROM ledger WHERE DATE BETWEEN #" & mDATE1 & "# AND # " & mDate2 & " # AND pcode between '" & TxtCode.Text & "' AND '" & Ac2 & "'", Con, adOpenKeyset, adLockPessimistic
Set Rs = New ADODB.Recordset
Rs.Open "select * FROM tmp1", Con, adOpenKeyset, adLockPessimistic
If Rs2.RecordCount <> 0 Then
DR1 = IIf(IsNull(Rs2!opening), 0, Rs2!opening) + IIf(IsNull(Rs1!OpDR), 0, Rs1!OpDR) - IIf(IsNull(Rs1!OpCR), 0, Rs1!OpCR)
Rs.AddNew
Rs!Des = "OPENING BALANCE"
Rs!pcode = TxtCode.Text
Rs!DR = IIf(DR1 > 0, DR1, 0)
Rs!cr = IIf(DR1 < 0, DR1 * -1, 0)
Rs.Update
Else
Rs.AddNew
Rs!Des = "OPENING BALANCE"
Rs!pcode = Rs2!pcode
Rs!DR = IIf(IsNull(Rs1!OpenDR), 0, Rs1!OpenDR)
Rs!cr = IIf(IsNull(Rs1!OpenCR), 0, Rs1!OpenCR)
Rs.Update
End If
If Rs3.RecordCount > 0 Then
While Not Rs3.EOF
Rs.AddNew
Rs!pcode = Rs3!pcode
Rs!vtype = Rs3!vtype
Rs!VNO = Rs3!VNO
Rs!DR = IIf(IsNull(Rs3!DR), 0, Rs3!DR)
Rs!cr = IIf(IsNull(Rs3!cr), 0, Rs3!cr)
Rs!Date = Rs3!Date
Rs!Des = Rs3!Des
Rs.Update
Rs3.MoveNext
Wend
End If
cr.ReportFileName = App.Path & "\reports\latif.rpt"
cr.WindowState = crptMaximized
cr.Action = 1
end sub
through Debug mod data all data is show but
when run without debug mod crystal report show data blank..
proceed is that
vb6 delete tem1 table from access
opening sum from ledger table
opening sum form A/C coding table
first add opening in tem1 table
then add all sepsfic data from ledger table to temp table
after that data show in crystal report
kindly HelpHello,
Thank you for your post.
Based on your description, I am afraid that the issue is out of support of VS General Question forum which mainly discusses
WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
I suggest that you can consult your issue directly on SAP Crystal Reports:
http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
for better solution and support.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Modifying an instance of a crystal report and set it a filter from a profil
What we do:
==========
We create publication and schedule them to user after doing a single pass bursting ( crystal report)
When a user login and access his report that has been filtered by his instance, he is able to look only at his data.
Notes that the crystal report has been filtered on the field Medical center.
Notes that this crystal report has 2 parameter one for the medical cetner and another one for the date range
Also when we ran the publication for all the users, we do set the parameter base on the medical cetner to the value ALL
The issue is that when this end user refresh the report then instead of getting data only for his medical center , then he is getting data for all the medical center.
As you can see the profile that has been created on the user doesn't kick in when refreshing an instance of a report coming out of a publication.
What we would like to achiave thru sdk:
======================================
We would like the end user to open this report and being able to refresh it only within the medical center he belongs to .
So when the user refresh ther port he should only see data for his medical center
Questions:
==========
1 - is is possible to achiove this thru sdk ? In 3,1
2 - how long would it takes ? ( range)
Thank you for your help again
PhilippeThere are two ways to filter the data. You could set the record selection formula for the report through code so that the data is filtered, parameters could be used as an additional filter. The second is to design the report off a universe and setup row level security so that users only have access to certain data.
-
Crystal Report problem with J2EE - OutOfMemory
Dear All,
I am having a problem about generating PDF from J2EE (Tomcat, Java 1.4) WebApplication by Crystal report.
When generating a PDF it sometimes got an out of memory error.
However the Web Application is still working fine, just when regenerate the same crystal report the out of memory error occur again. when i generate the other report it works fine.
Please help .
Many ThanksHi,
It's a good idea to set the minimum and maximum heap size to the same value. In any case, don't let the minimum heap size exceed the maximum.
Stop Tomcat server, set environment variable CATALINA_OPTS, and then restart Tomcat.
Look at the file tomcat-install/bin/catalina.sh or catalina.bat for how this variable is used.
For example,
set CATALINA_OPTS="-Xms512m -Xmx512m" (Windows)
export CATALINA_OPTS="-Xms512m -Xmx512m" (ksh/bash)
setenv CATALINA_OPTS "-Xms512m -Xmx512m" (tcsh/csh)
In catalina.bat or catallina.sh, you may have noticed CATALINA_OPTS, JAVA_OPTS,
or both can be used to specify Tomcat JVM options.
What is the difference between CATALINA_OPTS and JAVA_OPTS?
The name CATALINA_OPTS is specific for Tomcat servlet container,
whereas JAVA_OPTS may be used by other java applications (e.g., JBoss).
Since environment variables are shared by all applications, we don't want Tomcat to inadvertently pick up the JVM options intended for other apps. I prefer to use CATALINA_OPTS.
You have specified size by a capiital "M" ?(3072M) use "m".
Please let me know the results.
Regards,
Neeraj
Maybe you are looking for
-
I can use the same account on two computers?
I can use the same account on two computers?
-
I want to install a printer hp laser pro cp1525nw on my macbook air with mountain lion 10.8.2 . I download the drivers from the apple site and install them . I resart the macbook . I just can not add a new printer . the computer dos not start a resea
-
Network in System Preferences "Quits Unexpectedly" - Help !
Hello, I need some help on a rather odd issue, yet annoying : When I open the "Network" preference in the "System Preferences" pane, the program quits and I get the fatal "Quits Unexpectedly" message followed by Apple's option to report the glitch. T
-
Close() missing, memory leak in XMLType Support Sample [04-Mar-2003]
In the function private void viewXML() from the XMLType Support Sample [04-Mar-2003] http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/9i_jdbc/XMLTypeSample/XMLTypeSample.java.html I am missing the close() statement. I think, thi
-
Table line discrepency between LiveCycle and Adobe
I'm experiencing differences in my project with table lines. I've ensured my lines meet up in the LiveCycle Preview PDF view. When my form is applied to our environement and viewing in Adobe Acrobat the table lines are off. See images provided where