Crystal Reports 8.5 export to PDF problem
Hi Guys,
I have an application developed in VB6 using a crystal reports 8.5 version and I'm having some problems to export to PDF. If I see the data on the Crystal Reports 8.5 designer It will export just fine, but if I try to do the same thing it will export only some information to the pdf file.
This problem is just happening on rpt with Image Object and I can't export the reports where image do not exist. This image is being loaded from an access 97 database. It is a 10 years old program.
Hope to get this issue solved.
Kind Regards,
Manuel Rocha
Hi Dear,
Here I m also facing the similar problem with the crystal report 8.5 :
Crystal Report (8.5) is not working on win7/windows 2008 64 bit system
My application is a vb application and I am using Crystal report 8.5. It is working fine on 32 bit system and 64 bit system of Windows 2003 server. When I run the same application either on win7 64 bit or on 2008 64 bit, report does not open.
I am using vb script to access the database.
Part of the code written in the VB script file is as follows:
Dim objrsRecordSet 'As RecordSet
Dim strSQL 'As String
'**** Open Database Connection using the parameters passed from the main program
Set dbConnection = CreateObject("ADODB.Connection")
dbConnection.ConnectionString = "Provider=SQLOLEDB;Server=" & mstrServer & ";uid=" & mstrUserName _
& ";pwd=" & mstrPassword & ";Database=" & mstrDatabase & ";"
dbConnection.Open
dbConnection.CommandTimeout = 200
dbConnection.Properties("Enable Fastload").Value = True
Basically we have two visual basic projects developed in VB 6.0 language: let’s say
1. Diapp (we consume the report.dll in this application, in order to generating the reports)
2. Adacrystalapp (which is used for making the report.dll)
Diapp application generating the reports on windows-XP(32 bit machines) without any problems but when I run the same application on 64 bit machines(win7/Vista…etc) report is not generating.
If I run the both applications (Diapp, Adacrystalapp) in debug mode then reports are generating on 64 bit machines (win7/vista) also without any problems.
Please help me out with this issue, i will appreciate for your response.
Similar Messages
-
Get blank report in Crystal Report Viewer when exporting to PDF
I have an application that creates reports in the CrystalReportViewer while at the same time exports a PDF of that report. I am having a problem in which
performing the export causes the report in the ReportViewer and the PDF report to be blank. They have the header and column labels but no data. If I
comment out the Me.Export(reportExportOptions) line at the end of the exportPDFReport method the report in the ReportViewer works fine, displaying
data on the report.
I have other forms that perfrom this same type of function on different reports and work fine. In fact they use the same exportPDFReport method. This leads
me to believe that a difference in the reports may be causing the problem. But I can't figure out why.
I am using .net 3.5 with Crystal Reports 2008 (CR2008) full edition in Visual Studio 2008. Although the reports that work were probably created using
VS 2005 and the VS 2005 edition of Crystal, and which have since been updated to CR2008.
Has anyone else experienced this problem? If so, how did you resolve it?
Thanks for any help!
Code is below
Public Class frmAgedReceivables
Inherits CustomWinControls.CustomForm
Implements ICustomForm
... other properties and methods
Public Sub CreateAgedPremiumsReport()
Dim billingType As String = "Direct"
Dim reportType As String = String.Empty
Dim frmDateProcess As New frmEnterProcessMonth()
frmDateProcess.pikMonthYear.Value = TurmsController.CodeEffectiveDate
frmDateProcess.lblMessage.Text = "Enter Processing Date"
If frmDateProcess.ShowDialog(Me) = Windows.Forms.DialogResult.Cancel Then
Return
End If
Me.InForceStripStatusLabel1.Text = "Creating Report"
Me.Refresh()
Dim report As New AgedReceivablesReport()
report.Load(report.ReportPathAndName)
Me.Refresh()
Dim reportParmsArrayList As ArrayList = New ArrayList()
reportParmsArrayList.Add(report.ParameterFields.Item(0).Name)
reportParmsArrayList.Add(frmDateProcess.pikMonthYear.Value)
reportParmsArrayList.Add(report.ParameterFields.Item(1).Name)
If AgencyBillRadioButton.Checked Then
billingType = "Agency"
End If
reportParmsArrayList.Add(billingType)
reportParmsArrayList.Add(report.ParameterFields.Item(2).Name)
reportParmsArrayList.Add(TurmsController.CurrentUser.UserName.Value)
reportParmsArrayList.Add(report.ParameterFields.Item(3).Name)
If NAICCheckBox.Checked Then
reportType = "NAIC"
End If
reportParmsArrayList.Add(reportType)
Dim parms As String() = {frmDateProcess.pikMonthYear.Value, billingType, reportType}
Me.InForceStripStatusLabel1.Text = "Loading Data"
Me.Refresh()
report.getData(parms)
Dim reportParms() = reportParmsArrayList.ToArray
report.loadParameters(reportParms)
report.ExportFileName = Microsoft.VisualBasic.Format(frmDateProcess.pikMonthYear.Value, "yyyyMM") + report.GetType.Name
report.ExportFormat = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
report.exportPDFReport()
Me.CrystalReportViewer1.ReportSource = report
End Sub
End Class
Public MustInherit Class TurmsReport
Inherits CrystalDecisions.CrystalReports.Engine.ReportDocument
Implements _ITurmsReport
... other properties and methods
Public Sub exportPDFReport() Implements _ITurmsReport.exportPDFReport
Dim reportExportOptions As New ExportOptions
Dim reportDiskFileDestinationOptions As New DiskFileDestinationOptions
Dim reportFormatTypeOptions As New PdfRtfWordFormatOptions
reportDiskFileDestinationOptions.DiskFileName = getExportPathAndName(ExportType.PDF)
If Me.UsePageRange _
AndAlso Me.FirstPageNumber > 0 _
AndAlso Me.LastPageNumber > 0 Then
reportFormatTypeOptions.UsePageRange = True
reportFormatTypeOptions.FirstPageNumber = Me.FirstPageNumber
reportFormatTypeOptions.LastPageNumber = Me.LastPageNumber
End If
With reportExportOptions
.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.PortableDocFormat
.ExportDestinationOptions = reportDiskFileDestinationOptions
.ExportFormatOptions = reportFormatTypeOptions
End With
If Not System.IO.Directory.Exists(Me.ExportFilePath) Then
System.IO.Directory.CreateDirectory(Me.ExportFilePath)
End If
Me.Export(reportExportOptions)
End Sub
End ClassPretty much.
Seems I had at one time hard coded a record selection statement that I forgot to remove which caused the report to be blank. That solved my problem, but there still seems to be an issue in that the Crystal Report Viewer performed differently when I tried to export to PDF (no records displayed) then when I didn't (records displayed).
Chip -
Crystal report error when exporting to pdf
We have developed a crystal report that gives an error (doesnt say which one) when i try to export the report to pdf.
It says "exporting the report failed".
Version : 11.0.0.1282.
The viewer im talking about is the integrated preview of crystal reports.
Edited by: RolandWorms79 on Sep 2, 2009 10:42 PMSeems to be working now.
I upgraded CR and adobe.
Edited by: RolandWorms79 on Sep 7, 2009 10:52 AM -
Crystal Report XI R2 export to PDF
Hi All
I am working on Crystal Reports XI R2 version.
CASE1:
The report is working fine when report is ran in Infoview.When the same report is exported to PDF version
then lot of empty spaces is being added in between every page.
Can any one let me know the solution for this issue.
Thanks
boseSastry
Thank you.
when i run the report from designer and export to pdf
it works fine but the same gives lots of spaces when
does the export from Infoview.
Moreover will there be anything to do with ADOBE ACROBAT Version.
Thanks
bose -
Crystal Reports 8.5 Export to PDF
Hi,
I am using 8.5 SP 3, crystl32.ocx, VC++ 6.0.
Here is the sample code:
CCrystalCtrl m_RPT;
int iFileType=0;
m_RPT.SetDestination(2); //print directly to file
m_RPT.SetPrintFileName("C:
SAMPLE.PDF");
m_RPT.SetPrintFileType(iFileType);
m_RPT.PrintReport();
iFileType is only valid from 0 to 17 where 17 is the MS WORD format.
I can't get it export to PDF file.
Edited by: Al Koh on Jan 18, 2009 8:39 AMHello Al,
The OCX (crystl32.ocx) is quite old, and was last updated in version 6. The OCX does not support exporting to PDF in code. You can only export from the preview window when viewing the Crystal Report.
I found a Note that was migrated from an old Crystal Kbase article. Here's the content of the Note:
+++++++++++++++++++++
Symptom
An application uses the Crystal Reports ActiveX (OCX) control (crystl32.ocx) as the reporting development tool.
Is it possible (through code) to export to Portable Document Format (PDF) when using the OCX?
Resolution
Exporting to PDF (through code) is not supported with the OCX because:
· The OCX does not contain an export constant for PDF
· The OCX has not been updated since Crystal Reports 6
· Functionality to export to PDF was not fully supported until Crystal Reports 8.5
====================
NOTE:
You can export to PDF using the export button in the OCX preview window. The OCX preview window is able to detect and use the PDF export DLL (CRXF_PDF.dll).
====================
+++++++++++++++++++++
If you need to export to PDF in code you'll need to migrate to the Report Designer Component (RDC), which was available in CR 8.5. You should note that the RDC itself has been retired with the release of CR2008 (v12). If you migrate to the RDC with CR8.5 you won't be able to update your Crystal Reports past CR XI R2 (v11.5) if you migrate to the RDC.
Sincerely,
Dan Kelleher -
Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report
When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
Error in Crystal Report: Failed to export the report.
This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter). We have other subreports (within this same report) that print a sql image just fine. But, when this subreport prints, the above error appears.
I can run the same report on an XP machine without error.
Exportmodeller.dll and crtsv.dll are both installed and registered to the
C:\Program Files\Common Files\Business Objects\3.0\bin folder
I have tried opening the report, removing the image, and then adding it back in again to the subreport.
Still receive the same error.
Any suggestions?>
Don Williams wrote:
> RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
>
> Upgrade to the .NET components and post your question to the .NET forums.
>
> Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
Don,
Can you please clarify?
Our VB6 app that uses Crystal XI RDC runtime components. Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer). We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
We can print/preview/export to excel, but the pdf creation is failing with this error.
We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue). Therefore, we have to rollback our .NET product and revert to the RDC code.
Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
When you say "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
Thank you -
Crystal Reports 2008 Excel Export Compatibility Patch - second attempt :)
Hello, I actually have a question related to the following thread, so I posted there and was recommended to start a new thread:
Crystal Reports 2008 Excel Export Compatibility Patch?
Question is related to the following doc, specifically, is this patch still available for CR 2008 or not?:
http://help.sap.com/businessobject/product_guides/cr2008V1/en/xi3_cr2008eecp_readme_en.pdf
A response from Don suggested this wasnt available for CR 2008 although this is confusing since the doc refers to CR 2008. My response was as follows and is essentially the question I still have (more so because we have another PeopleSoft/Oracle customer whos come across this doc and wants to know how to apply the fix for CR 2008). Thanks very much in advance!
Hi Don, I know this is an old thread, but Im also running into the same issue and am confused by your statement since the referenced PDF doc says this patch is available for CR 2008. Did you mean that the patch is no longer available or supported for CR 2008 for some reason? If so, any idea why?
Im a developer for Oracle/PeopleSoft and our PeopleSoft suite includes OEM Crystal. We recently upgraded to CR 2008 for our latest release and we are getting the same complaint from a few customers about not being able to output the XLS in Excel 8.0 compatiibility mode like before (In Crystal 9, we used the \Export\Excel\CompatVersion=80 registry key to enable this). So if this patch is available, it would be a huge benefit for us to be able to point our customers to it. If not, please still let me know eitherway.
Thanks very much!
AndrewHi Andrew,
So the story is the Rubik's patch has been available from CR 9 up until CR XI R1 as a simple download. In R2 and above to get it you have to log a case, work with a Report Rep to try to design your reports so they use the new export dll. To get you by until you have time to do so, and after filling out a query for the PM to get info on how to possibly improve the updated export dll to meet your needs, he will then send you the patch on the agreement that this is the LAST time you ask for it.
Support no longer has access to the patch so all requests must go through the Program Manager who keeps tract of who received it.
Bottom line is you need to update the reports to use the new export model.
That old legacy dll was bugging and impossible to maintain.
You can [purchase a support case here|http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=54722300].
This is not a bug and has been this way for 10 years now, time to update your export model and Excel Macro's....
Thank you for your understanding
Don -
I have a Report that was created using Crystal Reports Developer. The report prints invoices (text) and also images (scanned .jpg) files. The report uses the oracle OCI database driver.
When I run this report from Crystal Reports Developer and export it to a pdf, the size of the pdf is around 12 meg.
When I run this exact same report but using Crystal Reports for Eclipse and change the datasource programatically to use the oracle jdbc driver, the size of the pdf is around 56 meg!
What would cause such a drastic file size change? Both pdf files have the same number of pages so the reports look identical. There is just something about the way the pdf documents are generated that is causing the size difference.
Things to note:
Database: Oracle 10g
Crystal Reports For Eclipse : 1.0.2.v795
Any help would be greatly appreciated.When you export do you have the options selected? if not select..
"Export Page header and page footers" and ""Simplify Page headers"
Achett13 -
I asked this question over at stackoverflow and am now taking it here: http://stackoverflow.com/questions/20672254/ie11-crystal-reports-printmode-activex-now-displaying-pdf-prompt-instead-of
It's a simple straight-forward question. IE11 is breaking the ActiveX plug-in used for printing from the Crystal Report Viewer. All the pretty pictures are in the link I provided. But the jist is that for my ActiveX Print Mode reports, the PDF dialog is presented now instead of the normal Printer dialog (unless I use Compatibility Mode)
Other details:
I am using the Crystal Reports that comes with Microsoft Visual Studio 2008. For the life of me I can't remember how this got installed on one of my browser's (maybe an install from Visual Studio?) ... but I've been deploying the Crystal Print Control 10.5 (32-bit; version: 10.5.1.2285).
And as mentioned in the stackoverflow post I have all ActiveX settings enabled and ActiveX Filtering off.Hi William,
Moved your post to the .NET SDK forum.
CR for VS 2008 was included in the installer of Visual Studio, you can remove it from Add/Remove Programs.
Unfortunately the CR Basic that comes with VS 2008 only had one patch released and that's it. IE 11 was not released when it came out so we could not support it.
Currently there are no versions of CR or our SDK packages that do support it.
Crystal Reports Developer for Visual Studio SP 9 will support IE 11. You can get it from the Overview Tab and then on the left side. But it requires VS 2010 or above and SP 9 will support VS 2013 and IE 11.
In VS you could select either ActiveX or PDF:
I don't have IE 11 but to change the PDF go into the Add-ins menu:
See this link for supported OS's and VS's:
http://wiki.sdn.sap.com/wiki/x/b4JiAw
Also, IE 11 is likely on Windows 2008 Server or possibly Window 8.x.
Best thing to do is upgrade VS and then download the CR installer into VS so it supports current OS's and Browsers.
Don -
Handling page breaks in Crystal Reports XI when exporting to Excel
We generate reports in Crystal Reports and programmatically export them to Excel for our end users, so the user receives both an .rpt and .xls version. We are upgrading from Crystal 8.5 to Crystal XI and have found with some of our reports that the page breaks in Excel are different in Crystal XI than in 8.5. The first page will fill to the end and then the next page will contain a few lines of data, the next will be full and the next will contains a few lines. Viewing the Excel page breaks, there are soft breaks before the short pages and hard breaks before the long pages. It's as if there is too much data defined for each page so it spills onto the next page before creating another hard page break. In Crystal 8.5, the paging was continuous as expected. Is there any way to fix this in Crystal XI?
Please note, this forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
As the issue you are encountering is in the CR designer, please post your query to the Crystal Reports Design forum at:
SAP Crystal Reports
I'd also suggest adding more detail to your query; version of Crystal Reports used, is this an upgrade issue, new report issue, etc., etc.
Thank you for your understanding,
Ludek -
JSP vs Crystal Report Export to PDF problem
I have problem using JSP and Crystal Report 10.
When I exporting report to PDF my font become ??????
(Only thai font but En font is work fine)
This mean when deploy report on J2EE (I used tomcat 5.0.27)
It not support other language or I must use other thing such as
convert all data to Unicode before export it?
Please advice me
thank you
Note: If I export it with Crystal Report IDE it can read.
Message was edited by:
mistwalkerHi All,
Can any one help me to use JSP for export report via Crystal Report 11, as i m using CR 8.5 with Java and for exporting reports i m using Jacob.dll, and reports hosted in IIS. but due to Jacob.dll facing lots of issue and finally not able to export reports.
Now i installed CR 11 and hosted reports and able to view via my JSP pages, can any one help me how to export report to server.
Appreciate urgent assistance.
Regards,
Imran -
Crystal Report Xi to export PDF 1.4
Post Author: yxh
CA Forum: Exporting
hello:
We are using Crystal XI, which exports reprot to PDF 1.3. We'll need the PDF report vto be in version 1.4 (not version 1.5) in order to meet FDA submission requirement. Can this be doen with Crystal Report XI, such as install a patch?
Thanks,Do you mean in Adobe Reader when you open the PDF?
You can set the default zoom level tobe used when a file is opened in Adobe but it will need to be set on a per client basis. I think by default it is set to Auto Zoom based on document:
In Adobe Reader click on Edit, Preferences, Page Display, Default Page Layout and Zoom, click the Zoom drop down and change it to the optimum zoom for your report.
Export the report to application PDF, the report should open in a PDF using the zoom level you specified.
Not quite sure if this is what you are after? -
Post Author: achaithanya
CA Forum: Exporting
Hi
I am new to crystal reports.we are converting actuate reports to CR XI.While converting we are facing lot of formatting issues.
Normally we get pdf from actuate and we need to create report pdf from CR XI.
The problem is pdf which created from CR XI is not exactly matching with Actuate pdf though in designing side everything is perfect
It would be great if you can give me a exact solution for this or do we have any alternate solution for this problem
I strucked up with this problem
Thanks in advance
Regards,
ChaithuPost Author: synapsevampire
CA Forum: Exporting
Does "The problem is pdf which created from CR XI is not exactly matching with Actuate pdf though in designing side everything is perfect " mean that when you export to PDF from the CR designer it looks right?
And then from some other, unexplained process it does not?
Try describing more fully your environment and when the problem exists.
There's already a language barrier, not supplying technical information makes it even more tricky.
-k -
Internet Explorer7 Blocking Crystal Reports 2008 CrystalReportViewer Export
Visual Studio 2008 (VS 2008)
Crystal Reports 2008 (CR 2008)
Production Server: Windows Server 2003
Internet Browser: Internet Explorer 7 (IE7)
Crystal Reports Version: 12.0.2000.0 on both development and production
IE7 message: To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
I am in the process of updating my websites from Visual Studio 2005 and Crystal Reports.NET 2005 to Visual Studio 2008 and Crystal Reports 2008.
In VS 2005, when creating a PDF or exporting from the CrystalReportsViewer, IE7 does not block the creation/download of the PDF, nor the download of an export.
Whereas, with VS 2008 and CR 2008 using the CrystalReportViewer in IE7 blocks the creation/download of the PDF, and the download of an export.
The message returned in the yellow box at the top of IE7 display window: To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
If I select down Download Fileu2026 from the options, I must restart the PDF or export.
If I show another report, I have the same problem, even if I have stated to download the fileu2026.
1. What is different between the CrystalReportViewer versions?
2. What is recommended to avert this problem without having users change their IE7 settings?
I found this settings change at: http://support.dell.com/support/topics/global.aspx/support/dsn/en/document?journalid=63F807B28AEC39CEE040AE0AB6E15FC5&docid=182320
Turn off the Information Bar for file downloads
This procedure will allow Web sites to automatically prompt you when downloading files, bypassing the Information Bar.
1. Open Internet Explorer.
2. Click Tools on the menu bar.
3. Click Internet Options...
4. At the Internet Options window, click the Security tab.
5. Click the Custom Level... button.
6. Security Settings window Security Settings window, scroll down to Downloads in the Settings: list.
7. Click to select Enable under Automatic prompting for file downloads.
8. Click the OK button.
9. At the Warning! message, click the Yes button to change the security settings for the zone.
10. Click the OK button.
You will now receive prompts directly from a Web site if it needs to download a file to your computer.Hi Don:
Yes, this is an https:// site.
This is using X500 accounts for security. Once logged in, the site is running on an anonymous local user account.
On Internet Options | Security | Internet | Setting the security level as medium on (the lowest I was able to go) in IE7 does not allow the user to download without the message coming up. It even states on the side (- Prompts before downloading potentially unsafe content)
Workaround has been:
1. Set the site as a trusted site (Internet Options | Security | Trusted Sites | Sites | Add )
2. On the Trusted Sites Zone | Security level of this zone | Custom levelu2026
3. Downloads | Automatic prompting for file downloads u2013 change to Enable
Thanks for your input. I would like to resolve this issue. CrystalReportsViewer - Crystal Reports Exports/Printing methodology has been changed since Visual Studio 2005 .NET version.
Thank you for your input.
Patti -
Crystal Report hanged at the 16374 pdf softcopy generated
To whom it may concern,
Recently, we have encountered a Crystal Report Problem during generating softcopy in PDF format.
When the Crystal Report generated 16374 pdf softcopy, the Crystal Report program is hanged and without error. It is replicable error and we have tried many times.
Do you have any idea what is the cause of the issue?
Thanks for your help.As you are using VS .NET I moved your post to the SAP Crystal Reports, version for Visual Studio SCN Space
As I understand the issue, you are exporting report / reports(?) to pdf in some sort of a loop(?).
You are able to export 16374 times, then the app stops processing and hangs.
I'd like you to address the above two question marks please as these are assumptions and you need to clear these up.
Next, provide the version of CR you are using - please be precise.
Also, version of VS.
Note that you should be be cleaning up your objects - the reports as well as the dataset - e.g.; use .close and .dispose.
Check the hard drive - make sure you are not running out of HD space.
Check the %TEMP% directory and clean that out.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
https://twitter.com/SAPCRNetSup
Maybe you are looking for
-
128 or 150 column doesn't fit in printer
Hi I can see the result of character mode report on screen perfactly, but the same when try to print it doesn't come properly. After some 80 or 90s character remaining character skip on next line. I am using Dot metrix printer. Thanks in advance Vish
-
Sharing one library on external NAS drive for multiple users on one ibook
Hi there, We (my wife and I) have only the ibook. We would like to use only 1 iphoto library for all of our family photos. I have a network drive with a bigger capacity to store the library. I read the post by CaptSwing. It seem to easier if library
-
I am receiving an error that says I need to renew my membership when I have already paid the monthly membership fee
-
Hi, is it possible to show the Reports error in Forms. Like IF rep_status = 'FINISHED' THEN WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid' || SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||'server=rep_server','_blank'); ELSE ===> SHO
-
Hi can anyone help me? My MacBook Pro cannot charge at all (keeps showing not charging or not connected) when i am using it. only when i shut it down or let it sleep then wil it begin to charge normally. Does anyone know what to do??