majassoc
asked on
crystal reports 9.0 -- (crviewer) enables print/export, but when I export it, none of the applications will load it.
This is the thread from an answered question. I am having the same problem. How is the solution implemented?
First question, does the client machines have to have the dll's in order to exports ?
this is how I am populating my crviewer
Dim strtest As New ReportDocument
CrystalReportViewer1.Displ ayGroupTre e = False
strtest.Load("c:\job_Profi tability_R eport_Summ ary_(v3.2. 8.5).rpt")
strtest.SetParameterValue( "@ClientCo de", "40524")
strtest.SetParameterValue( "@ViewType ", "S")
strtest.SetParameterValue( "@OpenClos edAll", "A")
strtest.SetParameterValue( "@jobcreat eend", "01/28/2005")
strtest.SetParameterValue( "@jobnumbe rs", " ")
strtest.SetParameterValue( "@jobcreat estart", "01/01/2005")
CrystalReportViewer1.HasPr intButton = True
CrystalReportViewer1.HasEx portButton = True
CrystalReportViewer1.Repor tSource = strtest
CrystalReportViewer1.Visib le = True
CrystalReportViewer1.Refre shReport()
displays fine, soon as I try to export/print, gives me the option to save, but no matter the file format always 182k, and none of the different export apps can open it. I am running this on the same machine cr 9 enterprise is installed on.
Cristian.
Send to a Friend Printer Friendly
See Solution
Comment from dylanyee
Date: 03/29/2006 06:24PM PST
Comment
Is your application web/windows based?
What is your development environment? VS.NET 2003?
dylan
Comment from mlmcc
Date: 03/29/2006 06:55PM PST
Comment
How are you trying to print or export?
When it asks to save what are you entering?
What export apps are you using?
mlmcc
Comment from Term56
Date: 03/30/2006 05:14AM PST
Author Comment
the app is web based, and it is vs.net 2003. Recently upgraded to 9 so that I had the cr for .net updated dll's.
Before installing 9, I didnt have the hasprint or has export methods. Now it does. when I click on export, asks me which format, I choose it, and export. It pops up a save box, unfortunately no matter what the format, word, pdf, excel etc, it always comes out to be the same size.
also an error I am seeing in vs 2003 is this in the webform design mode
Error Creating Control crystalReportViewer1
Failed to create designer 'CrystalDecisions.VsDesign er.WebRepo rtViewerDe signer, CrystalDecisions.VsDesigne r, version 9.2.3300.0, culture=neutral, publickeytoken=(numbers)'
Accepted Answer from mlmcc
Date: 03/30/2006 05:29PM PST
Grade: A
Accepted Answer
Is the CR 9 a standalone version? If so then you need to get the CR dlls not the ones for .Net.
mlmcc
First question, does the client machines have to have the dll's in order to exports ?
this is how I am populating my crviewer
Dim strtest As New ReportDocument
CrystalReportViewer1.Displ
strtest.Load("c:\job_Profi
strtest.SetParameterValue(
strtest.SetParameterValue(
strtest.SetParameterValue(
strtest.SetParameterValue(
strtest.SetParameterValue(
strtest.SetParameterValue(
CrystalReportViewer1.HasPr
CrystalReportViewer1.HasEx
CrystalReportViewer1.Repor
CrystalReportViewer1.Visib
CrystalReportViewer1.Refre
displays fine, soon as I try to export/print, gives me the option to save, but no matter the file format always 182k, and none of the different export apps can open it. I am running this on the same machine cr 9 enterprise is installed on.
Cristian.
Send to a Friend Printer Friendly
See Solution
Comment from dylanyee
Date: 03/29/2006 06:24PM PST
Comment
Is your application web/windows based?
What is your development environment? VS.NET 2003?
dylan
Comment from mlmcc
Date: 03/29/2006 06:55PM PST
Comment
How are you trying to print or export?
When it asks to save what are you entering?
What export apps are you using?
mlmcc
Comment from Term56
Date: 03/30/2006 05:14AM PST
Author Comment
the app is web based, and it is vs.net 2003. Recently upgraded to 9 so that I had the cr for .net updated dll's.
Before installing 9, I didnt have the hasprint or has export methods. Now it does. when I click on export, asks me which format, I choose it, and export. It pops up a save box, unfortunately no matter what the format, word, pdf, excel etc, it always comes out to be the same size.
also an error I am seeing in vs 2003 is this in the webform design mode
Error Creating Control crystalReportViewer1
Failed to create designer 'CrystalDecisions.VsDesign
Accepted Answer from mlmcc
Date: 03/30/2006 05:29PM PST
Grade: A
Accepted Answer
Is the CR 9 a standalone version? If so then you need to get the CR dlls not the ones for .Net.
mlmcc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Let me explain better. My setup is the same as the original post. I have VS.NET 2003 and Crystal Reports 9 both installed on my dev machine. I've created a web app uses the Crystal viewer to display rpt. Crystal Viewer options are set in code behind. App runs report display in viewer. I click export button, pick format, if I choose save everything is fine, if I choose open a dialog pops up saying file can't be found, no matter what export option I choose.
also an error I am seeing in vs 2003 is this in the webform design mode
Error Creating Control crystalReportViewer1
Failed to create designer 'CrystalDecisions.VsDesign er.WebRepo rtViewerDe signer, CrystalDecisions.VsDesigne r, version 9.2.3300.0, culture=neutral, publickeytoken=(numbers)'
I've checked the references for the project and they point to Crystal 9.2.3300 dll's
What gives?
also an error I am seeing in vs 2003 is this in the webform design mode
Error Creating Control crystalReportViewer1
Failed to create designer 'CrystalDecisions.VsDesign
I've checked the references for the project and they point to Crystal 9.2.3300 dll's
What gives?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Absolutely! Note that the Crystal viewer in .Net doesn't use the same export dll's as Crystal Enterprise so it doesn't matter that they're on the same machine.