Installing Crystal Report AddOn for 8.8
Dear All,
Please let me know how to install Crystal Report AddOn for 8.8 B one ? After installing the Addon When I am starting the Add On I am getting as error as External Connection to the database failed. SAP Crystal AddOn may not function properly. Please rerun the account setup with superuser login.
And when I click on Administration>>Crystal Reports Administration>> Account Setup screen to setup the account, I am getting error as Item- Could not commit action because the item is currently in focus [66000-23].
Regards,
Noor
Dear Noor,
You may check this thread:
Crystal reports for Business One 8.8
Thanks,
Gordon
Similar Messages
-
Installing crystal reports 9 for the first time
Hi,
I am trying to install Crystal Reports 9 for the first time. We just received a package with 4 envelopes including Crystal Reports 9 Advanced, Standard, Professional, and Developer. Each envelope also includes Crystal Enterprise Report Appliation Server which I don't think I need (or I'm not sure). I have read a little bit on how I can go online to the SAP Service Marketplace and request license keys. I have not requested a permanent license key yet. I believe that I can install Crystal with a temporary key and then input the permanent key later. What I have done is insert the installation CD for Crystal Reports 9 Developer and then input the product key code found on the back of the Crystal Enterprise Report Application Server CD cover that was packaged with the Crystal Reports 9 Developer CD. However I get a message saying that the product key code is not valid or has expired. There is no product key code on the cover for the Crystal Reports 9 Developer CD but there is one on the Crystal Enterprise Report Application Server CD cover so that is why I input it.
Why is this key code expired? Please note that I am installing on a test PC before I install on the PC of the user who will be using Crystal for work purposes. Therefore I wanted to just install with a temporary key if there is such a thing at this time.
thanks
JWHi Josh,
I would like to add few things with above suggestion
For a new key code :
Request key codes for new orders via SAP Marketplace (SMP), will receive a download letter on new purchases providing them with their SMP login credentials. Using these credentials you can login and click in the "Keys & Requests" tab > Request a License key .
If your existing Key code does not work :
You need create a customer message [https://websmp107.sap-ag.de/message] using component XX-SER-LIKEY-BOJ .
Hope this helps,
Regards,
Shweta -
How do I resolve error 1310 while installing crystal report version for visual studio 2010.
How do I resolve error 1310. I try to install crystal version for visual studio 2010, but I got this error message. Error 1310. Error writing to file. mcf80.dll.verify that you have access to that directory. My pc is window 7 (32 bit). Please I need help
urgently to work with this program in my system successfully. Please help.Hello Dorohidea,
Do you mean that when you install crystal report in virtual studio 2010, you receive the error message about error 1310?
Please take a look at the following KB.
Support for Crystal Reports for Visual Studio
https://support.microsoft.com/kb/317789/en-us
In Visual Studio 2010, to create a Crystal Reports project or Web site or to import existing projects or Web sites that were created by using older versions of Visual Studio or Crystal Reports, you must first install a version of Crystal Reports that is
compatible with Visual Studio 2010.
For more information about how to use Crystal Reports in Visual Studio 2010, visit the following SAP Crystal Reports website:
http://www.sap.com/crystalreports/vs2010
Best regards,
Fangzhou CHEN
Fangzhou CHEN
TechNet Community Support -
Hi All,
I have successfully installed Crystal Report Addon Version 2.0.0.7 on B1 (Patch 0) . I have already installed Dot Net framework 3.5 on my machine and I use to design Crystal Reports in VS.Net 2005 Crystal Reporting tool .
The proble is that everything works fine but as I click on the button 'preview and print ' it flashes an error "Could not load file or assembly CrystalDecisions.Windows.Reports Version 12.0.2008......"
Iam not able to understand exactly what is lacking ? Do I require to install Crystal Report 2008 also . I do only have Crystal Report 10 (shipped with VS .NET 2005)
If yes then please help me how to proceed to crack this problem...
Thanks in advance.Hi Pooja,
Yes, you need to install Crystal Reports 2008 Runtime. Alternatively you can install Crystal Reports 2008 or Crystal Reports 2008 for B1.
Regards,
Vítor Vieira -
Crystal report addon : preview error
Hi All,
The question has been answered a number of times on SDN but the workaround does not work in my case. please guide.:
I am working on 2007 B PL 10. I have installed crystal report 2008 for B1 downloaded from SAP portal. I have installed crystal report addon. it gets connected but when I preview the report it gives me the error :
*Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=12.0.2000.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.*
I have .net framework 1.0, 2.0 and 3.0 installed. I have gone through the demo of crytal report installation and publishing and ,have installed in the same order as shown. As instructed there, if I have crystal 2008 installed , I dont need to install the crystal report runtime. but if I dont have it, from where should i download it? is it from the following thread ? :
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567
Thanks,
Binita
Edited by: Binita Joshi on Jan 28, 2010 7:57 AMThanks Nazar. i downloaded it and on running it gives me the error : this installation package could not be opened. contact the software vendor to verify that this is a valid windows installation package.
can anybody tell from where you guys get this 'CRRuntime_12_0_mlb.exe'?? -
Problems to install crystal reports XI
Post Author: y_para_siempre
CA Forum: General
Hi,
I have a problem to try to install crystal reports XI for developers, the SO in the pc is WinXP Sp2, and the user have before installed the crystal reports 9 and crystal reports XI professional, but he need it to work with the developer version, we must to uninstall the older versions but when i try to install the crystal reports XI for developers i receive the message where said that i can't install because i don't have the administrator privileges in local machine, so, i can't understand why said this, because, first, the user is the administrator to the machine and i don't have any policies for restricted the user. Somebody can help me with this? i really to appreciate any helper.
Desde ya muchas gracias
AdrianaHi,
Do you have any antivirus installed on your machine if yes "turn the antivirus OFF" and then try installing
Also Are you trying to install from the CD if yes then try to copy the software into your drive and try to install.
Do you have the administrator permission to your work station. If no then try to login using an administrator account and try to install the software.
Are you trying to install CRXI from the network drive if yes then try to copy it on to your workstation and install the software.
Regards,
Vinay -
Crystal Reports Version for Visual Studio 2010 Fails to Install
Hi -
I am trying to install the CR redistribution package for .Net 4. When I run CRRuntime_32bit_13_0.msi I get an Error 1904 when it tries to register the commonobjmodel.dll. If I manually register the dll using regsvr32 I get the following message:
"The module 'commonobjmodel.dll' failed to load. Make sure the binary is stored
at the specified path or debug it to check for problems with the binary or dependent .DLL files."
The dll does exist and is in the correct directory. Is there another installer I should be using?
Thanks.
- AndrewEntering "1904 crystal" into the search box at the top right corner of this page, gives the following KB:
[1534393 - "Error 1904. Module C:Program FilesSAP BusinessObjects..dtsagent.dll failed to register ..." when installing Crystal Reports for Visual Studio 2010 MSI runtime|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333334333333393333%7D.do].
See if that helps. If not, there are other KBs that will come up for CRVS2010...
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Crystal Report Addon Error : ActiveX Component Can't Create Object
Hello Experts,
We are facing an problem when we start the Crystal Report Addon .The error message getting
displayed is "CR_Crypto ActiveX Component Can't Create Object".This issue is happening only on the
server its working fine on the client. We had even unistalled and re-installed the addon in the server but
still it throws the error when we start the addon.
Please help us to resolve this issue
Thanks,
VishwanathDear Friend,
I had described the problem to our technical support team, and they replied as follows u2013
They solved the Script related error by several stages.
They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
Then they tried by installing the following patches from Microsoft u2013
http://support.microsoft.com/kb/949140
Windows Script 5.7 for Windows XP
http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
Windows Script 5.6 for Windows Server 2003
http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
Windows Script 5.6 for Windows XP and Windows 2000
The internal matter to this problem was about the following DLL and its version u2013
C:\WINDOWS\system32
vbscript.dll
5.5.0.8820
Desired
5.6.0.8820
Check, if the information helps you. -
Not able to install crystal reporter in SAP Business One PL 42
Hi All,
I had been using the evaluation version of crystal reports. Now when the free licensed version was launched I uninstalled the version and tried to instal the new one which I have downloaded from the portal. I have uninstalled the crystal reports runtime and the SAP crystal reports from the control panel. Now in the same process as mentioned I am installing the crystal reports again. In the ADD-ON istallation part when I am click on start the system shows the following error-
"An earlier version of crystal reports is found. Please ensure that the current installation is a higher version."
Inspite of the fact that my system showed no instance of crystal reports installed after the uninstall run by me.
Please guide me.
Edited by: debraj bhattacharyya on Nov 3, 2008 6:05 AMThe following is the Instructions Extract from "SAP_CRYSTAL_InstallInstructions.pdf":
Un-installation of previous version:
If a previous version of the Add-on exists , it is highly recommended the previous add-on be fully uninstalled before installing the new version. To uninstall the add-on, follow the 3 simple steps below.
1. Using SAP Business One Administration | Add-Ons | Add-On Administration: remove and un-register the add-on.
2. Log off SAP and Log back in for the un-installers to run.
3. Using Windows Control Panel | Add-Remove programs: uninstall the u201CSAP Business One Crystal Reportsu201D ( Do not un-install Crystal Run time )
Installation of New Version:
1.The Add-On runs using the compatibility licence of SAP Business One.
2.Copy the installation files to a suitable location.
3.The installation disk or folder will contain a file called SAPCrystalSetup.exe.
4.Log on to the target PC as an administrator or admin type user (windows).
5.Copy the SAPCrystalSetup.exe to a convenient location on the target PC and run SAPCrystalSetup.exe (confirm all overwrites - you may keep the CrystalDesignerPath.txt intact if the path specified is different to the defaults).
6.SAPCrystalSetup.exe will install the add-on components on the local PC. It is recommended that you keep the path selected by the installer. The default installation path for the Add-on files are C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR.
7.Locate the folder u201CDotNetFramework_3.5u201D , make sure the PC is connected to the internet and run the u201CdotNetFx35setup.exe u201C. An automatic download will occur, to get the suitable files for .Net Framework 3.5. This will take several minutes depending on the bandwidth. The installation of the .Net Framework will happen once the download finishes.
8.Locate the folder u201CCrystal_2008_Runtime_exeu201D and run the u201CCRRuntime_12_0_mlb.exeu201D. if a product ID is requested, leave the Text Box blank and proceed with install. This installs the Crystal Reports Runtime for Version 2008 on the local PC.
9.Once the setup.exe has completed, log on to SAP as manager or any other superuser.
10.Using Administration | Addons | Add-On Administration, register the Crystal Add-On, set the desired settings and restart SAP.
11.Log on to SAP, as a super user.
12.Run Account setup from Administration | Crystal Reports Administration | Account setup
13.Type in the sa password for the SQL server that holds SAP databases, and click Update. ( this process needs to be performed for each new PC, Once. )
14.Click the Create Ext tables button. Add-on will now create the additional tables (this process must be performed for each new SAP company once u2013 and can be performed from ANY PC). This creates the External SQL tables needed for the add-on.
15.THE TASKS 5, 6, 7, 8, 9, 12, 17 WILL NEED TO BE RUN ON ALL PCS THAT NEEDS THE CRSYTAL ADD-ON.
16.Crystal add-on is ready to use. A help file is provided and you may test the add-on with the sample reports found in u2026\ SAP_CR\SampleReports. The help file can be found in u2026\SAP_CR\Documents\UserHelpFile
17.If the Crystal Designer has been installed on the local PC, the following file needs to be edited ( or checked to be correct). The file gives the path to the Crystal Reports Designer exe. The add-on will read this file to launch Crystal Designer.
C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR\Resources\CrystalDesignerPath.txt -
Invalid Key code Error while installing crystal report server 11
While installing crystal report server 11,i am facing an erro which says Invalid Key code Error.I had raised this issue to SAP customer support and attaching the conversation that we had.PLEASE HELP me to resolve the issue.
MAILS--Dear Mohit,
Thanks for the patience.
We have received the below update from the Licensing Team.
You received your permanent key in respect of these licenses - the key is for Crystal Reports Server XI.
You did not purchase these licenses for Crystal Reports Server, but purchased it for Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer. The software included was version XIR2, but you elected to use version XI instead and received key .
You would need to enroll the licenses in maintenance if you want to upgrade them.
In case of any queries please create a ticket via the Service Market Place.
Regards,
Jessy
Customer Interaction Center
SAP Active Global Support
Hello Jessy,
The customer received their permanent key in respect of these licenses - the key is for Crystal Reports Server XI.
They did not purchase these licenses for Crystal Reports Server, they purchased Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer. The software included was version XIR2, but they elected to use version XI instead and they received key .
They cannot decide to upgrade now - they must enrol these licenses in maintenance if they want to upgrade them.
Kind regards,
Rosemary
From: BOSAPASIA
Sent: 29 September 2009 05:49
To: Savage, Rosemary
Subject: FW: Crystal Reports Server Installation Issue
Importance: High
HI Rose ,
Need your assistance on the below issue.
Customer purchased Crystal Report Server XI R2 in 2005. When he is trying to install it now, he is getting an Invalid Key code Error.
He has provided us the Scanned copies of the Key code and the registration number.Can you please help and check if he can be provided with a Keycode.
Regards,
Jessy
CIC Team Lead
Customer Interaction Center
Global Support Centre India
SAP Labs India Pvt Ltd
Hi,
Providing you with the required details to proceed further
Registration Number-
Registration Email Address-taxmantra.support
And also please find attached the scanned copy of the Registration key we got for the Crystal report server.
Dear Mohitk,
Thank you for your information.
I checked with the concerned colleague and received the below update:
Please check from where you got this key code. If from a paper, please scan it to us. Please let them track to the original paper or email.
If you have registered the key code, please provide us the registration number or registration email address so that we will try to check for you.
If you did not register before, as the promotion is over so the key code could not be replaced.
I request you to kindly check the same at your end and revert with the details.
Moreover, there are two ways for Crystal Report customer to get support.
One is customer with bundled product such like BOE and under maintenance. These customers will have an S-user ID and password to log a case in service market place via http://service.sap.com/message
A learning map was provided, listed on left column.
The other is customer with only Crystal report product, the support is via SDN.
http://service.sap.com =>Crystal Reports and Xcelsius Support=>Crystal Reports and Xcelsius Forums
Customers can first check whether other customer has got the same issue and find the reply from our engineers.
You may also post your own thread for support.
Anything else I could help, please do not hesitate to contact again.
Hi,
I am providing you with the details required to resolve the issue related to Crystal report installation,for reference of the issue please refer the mail below.
Please find attached the Scanned Document containing the details as per the details required by you.
Hope to see a quick resolution for the issue.
Dear Mohit,
Thank you for your e-mail.
As discussed, I understand that youu2019ve procured Crystal Reports Server 11 in 2006. However youu2019re facing issues with key codes while reinstalling the same. We request you to kindly provide us with below details for further assistance.
Your customer number:
Your customer name and address:
Purchase order number:
Any other products purchased along with Crystal Reports Server 11
Any S-User Id:
Any old case ID:
Please feel free to contact us if any further queries.
Hi,
I am raising this concern on behalf on Taxmantra project (Tata Consultancy Services noida).
We have bought licensed Crystal Reports Server 11 near by 2006.We are trying to install the crystal server but while installing ,we have encountered with an error message that:-
"The product key code you have entered is incorrect"
We are facing the same issue in 2006,I am attaching with this email the conversations that was held in 2006 to get the correct key code.
Please help us to resolve the issue as early as possible.
My contact number:
If you need any further information do let me knowAjit,
By design, the product is not able to be installed under the superuser account.
1. Create a new user and specify a home directory for the user without a quota set.
2. Copy or move the installation files to a directory that the new user can read. I suggest you move the installation files directly into the new user's home directory.
3. Logon as the new user (or su - newuser)
4. run the installation shell script using that new user's account.
NOTE: Ensure the system meets the requirements from the supported platforms documents.
.Tony -
Getting an error trying to install Crystal Reports 2008 on a 64 bit Windows
reformatted my computer and now I'm trying to install Crystal Reports 2008 on 64 bit windows 7 box. When the "Registering modules" portion of the install comes up, I get a message that a dll has failed to register. I saw something about not having the Microsoft Visual c++ 2005 redistributable pack (x86) installed but that was not it either.
The cd label say Crystal Reports to Crystal Reports 2008 Upgrade, but it does not seem like I have to have the older version of Crystal insatlled.
Any ideas how to fix this ?Hello together,
i've had the same problem. Tried to install CR SP 2 "cr2008win_sp2.exe" onto an existing CR 2008 SP1 installation, and got the above error. After extracting the cr2008win_sp2.exe to an folder using Winzip (or just start Installation, the source would be extracted to "c:\temp" ), navigate to the subfolder "\package" and execute the CrystalReports.msp (in my case: c:\temp\package\CrystalReports.msp). This start's the Installation of SP 2. If you get an version mismatch, use parameter SKIP_PATCH_VERSION_CHECK=1 by typing command in an dos prompt "c:\temp\package\CrystalReports.msp SKIP_PATCH_VERSION_CHECK=1" but remember, you need to have an SP1 installed (somebody said, SP's are incremental).
Reboot and apply then the CR 2008 SP2 FixPack 7 "cr2008fp27.exe". Use this Link to Download CR and Xcelsius Stuff:
[https://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm]
I would suggest you not to use IE for downloading, use an alternative browser. I got only bad downloads (IE8 on Win7).
This is the way i did and this works pretty good.
Good Luck
Matthias -
Unable to install Crystal Report 8.5
Hi all,
I really need some help as I have problem installing Crystal Report 8.5 on another hard disk as my previous hard disk crashed.
I have tried the calling tech support hotline @ 800-4922129 but they said they are not able to find my company's name in their database.
It might be due to the merging of SAP + Crystal Report and this crystal report is installed way back in Year 2001.
The technical support personel said there is nothing she's able to help me if I do not have the customer no and the only way is for me to post @ the forum at this website.
My company is currently based in Singapore.
The only information I have is the CD Keycode,Product Keycode and Crystal Decisions Registration Number.
I have 5 license Key which was bought way back in Year 2001.
The problem arises during the installation after I entered the "CD Keycode" and they prompt me to enter the "License Key" which I do not have it.
Would really appreciate your fast response from you guys as I really hope to settle this issue asap.
Thanks in advance.
Regards,
Ryan Teo
Edited by: Ryan Teo on Jul 23, 2008 9:44 AMHello Ryan,
as CR 85 is long out of support I am happy to share my keycode
A6A50-0900000-00000ZP.
Hope this helps
Falk -
After install Crystal Report Server 2011, can not access control tools
Afte install Crystal Report Server 2011, can not access control tools from web or from application.
My server OS is Windows 2008 R2 SP1. I follow the default setting. How to fix it?
Error message is above.Is Tomcat started? On your Start menu you should have an option to get to "Tomcat Configuration" or, under the CRS menu you can run the "Central Configuration Manager" to start Tomcat.
What URL are you using to connect to the web app? By default Tomcat runs on port 8080 so your URL should look something like this: "http://<servername>:8080/BOE/CMC" or "http://<servername>:8080/BOE/BI".
If Tomcat is running and you're trying to access it from another computer, check to see if the Windows Firewall is turned on for the server - if it is, turn it off for "Domain" access.
If Tomcat won't start, go to the folder where Tomcat is installed and then look in the "logs" folder. There should be a file called "stderr.log" which you can open in Notepad to see what types of errors might be occurring (you can ignore any errors having to do with "persisted sessions".) If there are other errors, post in the BI Platform space to get assistance.
-Dell -
CRYSTAL Reports 2010 for VS 2010 Installation and Deployment issues
On Installing Crystal Reports for Visual Studio 2010 the Crystal Report Viewer in the Toolbox reports itself as Version 13.0.2000.0. When dragging said viewer onto an ASPX Page it: -
1) Comes up with the wrong version: - Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304", NOT 13.0.2000.0!
2) The ADE visualisation of the ASPX Page comes up with the following error: - "Error Creating Control - ContentPlaceHolder1. SessionState can only be used when enableSessionState is set to true. ...............
In my Web.Config file enableSessionState is set to true AND System.Web,SessionStateModule is referenced in <httpModules> the message is therefore less than helpful.
3) Surprisingly when I correct the Version to 13.0.2000.0, the same error happens. Even more surprisingly the page builds and in the development environment the CrystalReportViewer works@#@!! Unfortunately when deployed to a production Web Serrver W2K8 x64 and IIS7.x the page loads but the viewer does not, no errors are caught, the event viewer log is happy. (The click-once Runtimes x32 and x64 have been installed on the server).
The same code works fine in VS2008 targetting CR 2008.
How do I:
1) Get CR2010 for VS2101 Installed Correctly?
2) Deploy The Viewer to a production server?This is a known issue (unfortunately, no KB created yet as I just duplicated and reported the issue to QA (tracking number; ADAPT01506220) two days ago).
The issue appears only on computers with side by side install of .NET 2008 and .NET 2010.
Follow these steps to resolve the issue:
1) Remove the following from the web.config:
<add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
2) Open the form that has the viewer on it, go to code behind and replace this:
<%@ Register assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web"; tagprefix="CR" %>
with:
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web"; tagprefix="CR" %>
3) Go to the Properties of the project, select references and remove crystaldecisions.web of version 10.5.3700
4) In the Properties, click the Add button and then the .NET tab and select crystaldecisions.web version 13.0.2000.0
5) Recompile.
Distribute the CRVS2010 runtime.
MSM:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0.zip
32 bit MSI:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0.zip
64 bit MSI:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0.zip
BTW. the same issue exists with WIN apps. The fix here is much easier; Remove all CR 10.5.3700 references from the project and add references to 13.0.2000 assemblies. (tracking number; ADAPT01506310).
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Crystal Reports, version for Visual Studio 2010 Problem
Dear all,
I encounter a problem after installed the crystal report version for Visual Studio 2010. Once I call
ReportDocument.PrintToPrinter(1,False, 0, 0)
The error message prompt:
Report is unavailable(Index was out of range. Must be non-negative and less than the size of the collection. Parameter name:index)
If I try
ReportDocument.PrintToPrinter(1,False, 1, 1)
It can print the 1st page of the report.
I also try to create a simple report. It works.
After installed this version, my reports also encounter the same problem in Visual Studio 2008.
My report has sub-reports. My PC is Windows XP.
Anybody has idea on this issue!?Now you can set the various printer options using the PrintOutputController. I'm using a UI box to select the printer but your developer should be able to figure this out. If not you can include him in the e-mail, it would be fine to go direct. Of course you will stay in the thread:
private void btnSetPrinter_Click(object sender, System.EventArgs e)
System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
// Use the next line if you need to, you'll ahve to test. Depends on how the reports were saved.
//CrystalDecisions.CrystalReports.Engine.PrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
//CrystalDecisions.ReportAppServer.ReportDefModel.ISCRPrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
//pDoc.DefaultPageSettings = pgSettings;
PrintDialog dlg = new PrintDialog();
dlg.Document = pDoc;
if (dlg.ShowDialog() == DialogResult.Cancel)
MessageBox.Show("Cancel Button clicked", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
else
CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions MYPRTOpts = new PrintOptionsClass();
if (rdoCurrent.Checked)
pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
// the next 3 lines may not be necessary.
MYPRTOpts.PrinterName = cboCurrentPrinters.Text;
MYPRTOpts.PaperSize = (CrPaperSizeEnum)
pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
MYPRTOpts.PaperSource = (CrPaperSourceEnum)
pDoc.PrinterSettings.PaperSources[cboCurrentPaperTrays.SelectedIndex].Kind;
MYPRTOpts.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationLandscape;
//MYPRTOpts.PageMargins.Bottom = .1;
//MYPRTOpts.PageMargins.Top = .1;
//MYPRTOpts.PageMargins.Left = .1;
//MYPRTOpts.PageMargins.Right = .1;
else
pDoc.PrinterSettings.PrinterName = cboDefaultPrinters.Text;
MYPRTOpts.PrinterName = cboDefaultPrinters.Text;
MYPRTOpts.PaperSize = (CrPaperSizeEnum)
pDoc.PrinterSettings.PaperSizes[cboDefaultPaperSizes.SelectedIndex].Kind;
MYPRTOpts.PaperSource = (CrPaperSourceEnum)
pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
rptClientDoc.PrintOutputController.ModifyPrintOptions(MYPRTOpts);
//MessageBox.Show("Printer set.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
//MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
Thank you
Don
Maybe you are looking for
-
Service Desk: How do i Reply back to a support message?
I am in the process of configuring the servcie desk. I am using Solution manager 4.0 sp13. I am recieving the messages in the Service desk, and the suport team members are able to get their respective messges based on the PFAC responsibility rules
-
Well I was following some instructions on possibly syncing the Mac Address Book with Google and its created havoc. I dont know if the instructions might have been for a previous OS or what. I originally was looking for ways to sync the Address Book
-
Wheh to use abap proxy and when to use idoc
Hi All, Please provide some clarifications for the below points : What is Sproxy? 2. Why we are using Sproxy instead of Idocs 3. When we are going Proxy ? 4. What are the types of proxy ? 5. How to Create to Proxy ? 6. What the Difference
-
Personalized reader enabled forms
HI, Here is my use case: 1) Visitor completes an HTML form on website 2) Info is stored in local db, some transformations are done etc 3) Some info is then populated into fields of a PDF reader enabled form 4) pdf saved and emailed to visitor 5) Visi
-
Motion Tweening - How to keep part of it in place?
Is there any way of keeping say, the bottom of a line fixed, and motion tweening only the top? (Think grass or hair, for instance, bending in a wind) Unfortunately this item cannot be shape-tweened. But is there something, not unlike shape hints, for