Crystal Reports 2008 SP3 &VS Studio 2008

Hi,
i'm trying to use Crystal Reports 2008 with SP3, Visual Studio 2008 and OS Windows Server 2003 (I use this Server OS because i'm developing for Microsoft SharePoint).
Before upgrading to Crystal Reports SP3 i could not set a basic Visual Studio C# Dataset as the Datasource of my Report. Everytime i get the following Error:
Unknown Database Connector Error - Error in file temp_GUID.rpt
Then i read theis forum and it was mentioned that maybe SP3 could solve this problem. But after applying CR 2008 SP3 the following Error occur (VS cancel the debug mode and this error is logged to the Windows Server-Log):
Message: Could not load file or assembly 'crdb_adoplus, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)
I'm using the following Code-Snippet:
CrystalReport1 report = new CrystalReport1();
NewsDataSet nds = new NewsDataSet();
DataRow r;
r = nds.Tables[0].NewRow();
r["Title"] = "Title";
r["Body"] = "Body";
nds.Tables[0].Rows.Add(r);
//Now the exception will be thrown
report.SetDataSource(nds.Tables[0]);
Maybe someone can help me to solve this problem.
Thanks in Advance!
Christian

Well guys,
i spent the whole day with installing and uninstalling the CR2008 Service Packs with no success. My opion was that eventually the " CR2008 SP3 Full Build" from this download site
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
causes the error, but after applying SP1 the same error occurs.
As a reminder the error text:
Message: Could not load file or assembly 'crdb_adoplus, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)
or
Exception: System.UnauthorizedAccessException
Message: Access to the path 'C:\WINDOWS\TEMP\temp_51231be7-4c43-40f1-b0ee-67e76414e046.rpt' is denied.
StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.Delete(String path)
   at CrystalDecisions.CrystalReports.Engine.ReportClass.Dispose(Boolean bDisposeManaged)
   at CrystalDecisions.CrystalReports.Engine.ReportClass.Finalize()
Maybe its a permission problem, but the ServiceAccount which performs the action has full control on the temp and CrystalReports Installation folder, so i don't know what to do else.
Then i tried to  resolve the error, which occurs without any Service Pack:
Unknown Database Connector Error
Error in File temp_184c79e9-4eeb-41dd-9043-582b30ac7281 {82AF1B98-C271-4007-B793-723CCFD63FFD}.rpt:
Unknown Database Connector Error
Also with no success. I'm using the following Code-Snippets:
Simple XML-Schema (xsd) because i don't use a Database and the data is generated dynamically:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="NewsSchema"
    targetNamespace="http://tempuri.org/NewsSchema.xsd"
    elementFormDefault="qualified"
    xmlns="http://tempuri.org/NewsSchema.xsd"
    xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
  <xs:element name="News">
    <xs:complexType>
     <xs:sequence>
        <xs:element name="Title" type="xs:string" />
        <xs:element name="Body" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
</xs:element>
</xs:schema>
Then i add this as an ADO.NET (XML) connection an i'm able to integrated the two fields in the report.
Then i try to call the report with the following C#.Net Code:
+DataSet ds = new DataSet();
DataTable t = new DataTable("News");
+DataColumn title = new DataColumn("Title");+
+DataColumn body = new DataColumn("Body");+
+title.DataType = Type.GetType("System.String");+
+body.DataType = Type.GetType("System.String");+
+t.Columns.Add(title);+
+t.Columns.Add(body);+
+ds.Tables.Add(t);+
+DataRow drDataRow;+
+drDataRow = t.NewRow();+
+drDataRow["Title"] = "My Title";+
+drDataRow["Body"] = "My Body";+
+t.Rows.Add(drDataRow);+
//the exception is thrown here
report.SetDataSource(ds);
Now i'm really frustrated because i don't know what to do to resolve this problems and i stuck with this errors for a couple of days now. Any further help or suggestions would be great.
With kind regards,
Christian
Edited by: C.Kaiser on Oct 5, 2010 5:07 PM

Similar Messages

  • An error in Crystal Reports Basic for Visual Studio 2008

    Greetings from Peru,
    We have a problem with one of the Crystal Reports products weu2019d like you to help us with. We work with Crystal Reports Basic for Visual Studio 2008.
    The error weu2019ve detected is in one of our systemu2019s reports; this report shows data inside frames. When the content to show is larger (in height) than the space left in the page, the container object of the report makes a line break keeping the title and the frame empty at the end of that page, but  the information is shown in the next page. What we need is that not empty frame is displayed.
    Weu2019ve tried to solve this problem by adjusting the report in different ways (by programming coding), but unfortunately this problem is related to how much data is displayed, because if this data fit in the space left in the page, the line break would not occurs and the data is shown at the end of the same page.
    We hope you can help us with this issue.  I look forward to your comments.

    All I can think of is trying CR 2008 (v.12.x). You can obtain an eval copy from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    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]

  • Deploying Crystal Reports Basic for Visual Studio 2008

    I have Windows Forms project using Crystal Reports Basic for Visual Studio 2008
    I can't find the merge module to include in the setup project like I used to do in Visual Studio .NET 2003
    Everyone seems to say that they don't exist for that version of Crystal Reports
    After searching for a long time I found something about a package located at
    C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\CRRedist2008_x86.msi
    Tried it and it seems to work.
    Do I have to install this to the client computer ? Is that the only way having a "Crystal Reports Basic Runtime for Visual Studio 2008" in the program list of the client computer ?

    Hi Victor,
    We can download all the runtimes from the following link:
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
    Try to search Business Objects Note regarding this from  [here|https://www.sdn.sap.com/irj/sdn/businessobjects-notes]
    More info regarding deployment can be found from DevLibrary:
    [https://boc.sdn.sap.com/node/8546]
    Regards,
    Shweta

  • Deploying crystal reports basic for visual studio 2008 for VB6

    My application has a module in .net and other in vb6.
    I have a problem on deploying crystal reports in client machines, for module in vb6.
    The vb6 application uses crystal viewer control obtained from crystal reports basic for visual studio 2008.
    What type of deployment should I use?
    Currently, I have a setup with prerequisite "crystal reports basic for visual studio 2008".
    But I think it misses the dlls crviewer.dll and craxddrt.dll, so I put them in setup and with the register COM options, and it works, but it's not working very well.
    When I open a form that uses crystal viewer, the setup (I have created) is lunched and says that have to restart machine. Then it opens the report, but the next time I use the application it does the same thing.

    Ok, thank's for the posts, they help so much.
    So I'm going to discard vb6 and move to .NET, but... there is a problem:
    Many reports have parameters that are asked before showing the report.
    The Crystal Viewer that is used in VB6 version isn't the same used in .NET.
    The viewer of VB6 asks the parameters in the way we want, however the .NET crystal viewer ask's the parameters in way that we don't like, because we have to do next -> next -> next...
    The links above show the diferences:
    VB6 ->  http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249249283702618322
    .NET -> http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249246459437178242
    There is a way to configure Crystal Viewer, so that parameters asking form will work like the vb6 away?

  • Keycode missing in Crystal Reports Basic for Visual Studio 2008

    I just upgraded from Visual Studio 2005 Professional to Visual Studio 2008 Professional (with SP1 installed also).  Crystal Reports Basic for Visual Studio 2008 is listed as installed under the VS Help dialog, but no key code is shown.  And when I attempt to open a Crystal Report, I get a dialog saying 'Please wait while Windows configures Crystal Reports Basic', which eventually terminates with an 'Invalid Keycode' message.
    I've tried repairing the Visual Studio install, and even uninstalling and reinstalling the whole thing.  To no avail.
    Other facts: My VS 2005 version still works with its version of Crystal Reports.  I am running Vista Professional.  Looking in the registry, under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | VSNET | Keycodes | CR9 NET, I see a Type REG_SZ with a data value in the form xxxxxx-xxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxx [6 chars-7 chars-26 chars].
    Help! How do I get Crystal Reports Basic for Visual Studio 2008 to work?

    Hi Elaine,
    Thanks for your response.  I do have versions of Visual Studio 2003 and Visual Studio 2005 on my machine, and the earlier versions of Crystal Reports worked with these versions.  In addition to the registry key I cited earlier (which I now understand is a VS 2003 version), there is an entry under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | 10.2 | Crystal Reports | KeyCodes | CR Ent.  I see that you are correct, and this corresponds to my VS 2005 installation (which still works).  However, there is NO entry under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | 10.5 (the CR  Basic for Visual Studio 2008 path you indicated).  There is an entry under HKEY_LOCAL_MACHINE | SOFTWARE | Business Objects | 10.5 | Crystal Reports, but it has only keys for ChartSupportPath, CommonFiles, DisablecheckForUpdates, and Path.
    The Windows\assembly folder has 25 files that are CrystalDecisions.xxx, version 10.5.3700.0.  This is consistent with my seeing 'Crystal Reports' listed as installed in VS 2008 Help.  But no KeyCode!
    I tried a complete uninstall and reinstall of VS 2008, without luck.  I can't clean my system of earlier verions of Crystal Reports, because I am still supporting a body of work that I did under VS 2005, and I can't convert all this stuff to 2008 -- at least until I have a fully working VS 2008 suite.  After this experience, I fear that if I were to uninstall an earlier version, i might never get it back!
    I've spend quite a few hours on this with no luck, so any help would be enormously appreciated.

  • Crystal Reports 10 and Visual Studio 2008

    Hi All
    I've got an application that I recieved from my cleint. This is running Visual Studio 2008 and Crystal Reports 10 backend being Oracle 10.2
    However, when I try to run the applincation and open any report it pops up an error "crdb_oracle.dll" not found.
    I have searched this on the internet and found that there were many suggestions there. I've tried all the suggestions like reinstalling the Oracle client, Re Installing Crystal etc.,
    But the error remained as is.
    When i try to do a regsvr32 on this dll it fails. Am really not sure why this is happening
    Any help from any one out there is highly appreciated.
    Pavan
    UPDATE:
    I've verified the versions though. They are workign fine at the customer place.
    Here is what they have done.They have got Oracle, VS 2008 and Crystal Reports 10. They got the reports embedded into .NET environment and are able to view the reports.
    But when we try to execute the same code, it pops up the error, "Crdb_oracle.dll" could not be loaded.
    Wanted some support on this.
    Additionally, could you suggest on what needs to be done? Do we need to upgrade crystsal to crystal 2008? Will this work without any errors on the execution side (I'm sure that the customer of mine will not be happy or willing to upgrade but atleast if I get a confiramtion from you I can atleast quote this to the customer) and without any extra redesiging of the reports or any other work on the reports
    Pavan Kumar
    Edited by: pavan kumar on Jul 30, 2008 4:01 PM

    Hi, Pavan;
    Likely the problem is that the report was created with a different version of Crystal Reports than the one that ships with VS.NET 2008 (Which is Crystal Reports Basic for VS.NET 2008 - version 10.5). If the report was created with a full version of Crystal Reports, then it would have access to our native Oracle driver, the dll that is giving you the issue.
    The full version of Crystal Reports would install that dll, but the .NET version would not. In order to distribute that DLL, yes, the client would need to develop with the full version of Crystal Reports, in this case Crystal Reports 2008.
    Regards,
    Jonathan

  • Crystal Report 10 in Visual Studio 2008

    Hello,
    Is there a formal process to make Visual Studio 2008 work with Crystal Report version 10? Are there specific files that need to be installed? Any problems to watch for. I currently tried to port Visual Studio 2003 solution that had working Crystal Reports 10 code and I have received some errors relating to ReportDocument (but there could be other). Anyway, maybe there are some basics I am missing.
    Thanks.

    When I double click on the report (.rpt) file, I am getting Microsoft Windows dialog with the following message:
          Microsoft Visual Studio 2008 has stopped working.  
          Windows can try to restart the program.
          --> Restart the program
         --> Debug the Program
    When I click Debug the Program, I see following:
       Unhandled exception at 0x18205950 in devenv.exe: 0xC0000005: Access violation.
       Top 3 Call Stack lines at this point are:
       18205950()
       CRDesigner.dll!3e043d7a()
       [Frames below may be incorrect and/or missing, no symbols loaded for CRDesigner.dll]
       When I click Break in debug window I see:
       No symbols are loaded for any call stack frame. The source code cannot be displayed."
       Windows has triggered a breakpoint in devenv.exe.
       This may be due to a corruption of the heap, which indicates a bug in devenv.exe or any of the DLLs it has loaded.
    I do not see Crystal Reports 10.xx under reference list. How do I go back to the version of reports originally created in? If I am not able to work the Crystal Reports 2008, I want to go back to 10.xx and drop the idea of considering upgrade to Crystal Reports 2008.
    Any help is appreciated. Thanks.

  • Crystal Reports Bundeled With Visual Studio 2008

    We are currently using the version of Crystal Reports that comes with Visual Studio 2008.  Many reports have 5-10 sub reports.
    We are running a ASP.NET application and this application passes to the reports a XSD File as the data source. It can take up to 5 minutes sometimes for a report to process.
    A couple of questions.
    1. Is there a concurrent user limit (I have read 3 or 5)
    2. Do the reports get queued up if more than 3 users are running a report?
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    3. Would upgrading to the 2008 version help us at all?
    Any other recommendations?
    Thank in advance!

    1. Is there a concurrent user limit (I have read 3 or 5)
    concurrent user limit is 3
    2. Do the reports get queued up if more than 3 users are running a report?
    + Yes. If you go to the Event viewer, you should be bale to see messages along the lines of; license not found, waiting x seconds+
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    + There are two distinct counts. Users, and print jobs. The print engine, can process 3 concurrent users. A print job, consists not only of the report, but also it's subreports. A page through is a print job. A search through the report is a print job. Print job limit is set in the registry and by default it is set to 70. The upshot of this is; if you have one report and one subreport in the detail section and the detail section has 100 records, you will run 1001 print jobs.
    4. Would upgrading to the 2008 version help us at all?
    Probably not. The same structure exists in CR 2008. Now, you say that you pass an XSD file to the report. Are you actually passing and XSD or a Dataset?_
    Finally, remember that if you have 10 subreport in a report, you are running 11 print jobs right there. If one or more of those subreports are in the detail section, the number of print jobs increases accordingly.
    For more information see the article [Crystal Reports Maximum Report Processing Jobs Limit  v2.doc|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Edited by: Ludek Uher on Dec 16, 2009 10:06 AM

  • Using Crystal Reports XI with Visual studio 2008 C#

    Hi,
    I am trying to add some reports which have been created to a C# web application using the Crystal Reports web viewer in Visual Studio 2008. The reports use SQL authentication instead of integrated authentication.
    Everytime the page with the report viewer is loaded, im prompted for my logon details. I dont want the end users to be doing this. How do i integrate the logon details into my application so that it doesnt keep prompting using C#?? Also i have parameters which produce a drop down box of available values...this does not work within the web application but does in Crystal Reports.
    Any help would be good with examples in C# please. Ideally i would like to hold the connection info in the web.config however i dont know if this is possible.
    Thanks
    Vish

    Hi Vishal,
    Here's a link to the platforms for SP5:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/907e6412-a7ac-2b10-23a8-f837fcc78a37
    If the link doesn't work then go to this one: Articles
    And select the the CR version and look for the specific patch level. If you don't have patches installed I would suggest downloading and installing to get up to SP5.
    It does not indicate .NET 2008 so it's not been tested, it may work but if you run into any issues we don't have an escalation path to get it fixed.
    Thank you
    Don

  • Crystal Reports Basic for Visual Studio 2008 - Export to PDF in arabic font space issue

    When exporting the crystal report having Arabic contents to PDF , space characters are replaced with " . Please find the attachment . Is there any way to sort out this issue??

    Try searching on "RTL"
    Here's a few posts that may help
    http://scn.sap.com/thread/909635
    http://scn.sap.com/thread/3444105
    And this KBA - 1322752 - Does Crystal Reports support Arabic characters?
    And this one is the ultimate answer:
    1926379 - SAP BusinessObjects BI Right-to-Left (RTL) Support
    CR for VS 2008 is CR Basic, it may not be able to. Upgrade to CR for VS 2010+.
    Don

  • Crystal Reports Viewer Control  - Visual Studio 2008 WEB Application

    My question is this:  Has ANYONE on this planet been able to get the ASP .NET CR Viewer control to actually work?
    Why does this editor NOT recognize End-of-line or CR characters or any whitespace??
    I have developed a Crystal Reports "Viewer" web application in VS2008 using C#.
    It's a simple app, in that it's a single page with a treeview control (containing the grouped names of the reports to which the user has access) and the CR Viewer control.
    The report files live on a network share, and permissions to them is controlled via a SQL Server database, which, for each report, stores the UserID and Logion for the oracle database, as well as any required parameter values.
    The reports themselves are all hititng an Oracle 10g database.
    I managed to do this in a Windows desktop applcation using Visual Studio 2005 and VB .net, but now, upon trying to make this a web application in VS2008, I have completely failed. The application works when run locally, but when deployed to the web server, I experience database login prompts when I should not, (the dreaded "Report requires further information" message) even thought the setdatabaselogin has already been set. I have tried saving the reportdocument in viewstate and re-assigning the viewer Datasource property to it, that also fails. However, it only does it on some reports, and not others. (admittedly, the reports may have been created using different CR versions)
    The viewer also displays data it should not be displaying when I attempt to scroll, when I do manage to get a report to run.
    I am setting parameters dynamically at run time, whose values are stored in the SQL database.
    Code Sample:
    protected void ShowReport(int ReportID)
            SQLDataPortal2005.Common sql = new SQLDataPortal2005.Common();
            Hashtable outParms = new Hashtable();
            string sAccess;
            IDataReader dr;
            CrystalDecisions.CrystalReports.Engine.ReportDocument rptDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            System.Security.Principal.WindowsPrincipal p = System.Threading.Thread.CurrentPrincipal as System.Security.Principal.WindowsPrincipal;
            sAccess = p.Identity.Name;
            int j = 0;
            int i = -1;
            if (!IsAdmin())
                sql.ExecNonQuery("CrystalReports", outParms, "proc_CRM_Check_Permissions", sAccess, Convert.ToInt32(TreeView1.SelectedNode.Value));
                if (outParms["@Allow"].ToString() != "True")
                   Response.Redirect("ErrorPage.aspx");  // redirect to  error page
            string sPath = System.Configuration.ConfigurationManager.AppSettings["WareHouse"].ToString();
            sPath = sPath + TreeView1.SelectedNode.Text.Trim() + ".rpt";      
            rptDocument.Load(sPath);
            dr = sql.GetDataReader("CrystalReports", "proc_CRM_Get_Report", Convert.ToInt32(TreeView1.SelectedNode.Value));
            while (dr.Read() == true)
                j += 1;
                if (j < 2)
                    rptDocument.SetDatabaseLogon(dr["DB_Login"].ToString(), dr["DB_Pwd"].ToString(), "PLAW", "LAWDB", true);
                    pList = dr["ParmList"].ToString().Split(',');
            dr.Close();
            dr.Dispose();
            if (pList.Length > 0 && pList[0].ToString().Trim() != "")
                foreach (CrystalDecisions.Shared.ParameterField x in rptDocument.ParameterFields)
                    i++;
                    switch (x.ParameterValueType)
                        case CrystalDecisions.Shared.ParameterValueKind.BooleanParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToBoolean(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.CurrencyParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDouble(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.DateParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDateTime(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.DateTimeParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDateTime(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.NumberParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToInt32(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.StringParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToString(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.TimeParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDateTime(pList<i>));
                            break;
            Session["CReport"] = rptDocument;
            CRV1.ReportSource = rptDocument;
            CRV1.DisplayGroupTree = false;
            CRV1.HasRefreshButton = true;
            CRV1.ShowFirstPage();
    Is there a better/different way of accomplishing this very simply process? All I need this application to do is to view a report, while setting it's parmeters (if required) dynamically at run time. I don't EVER want the user to be prompted for DB LOGIN INFO.
    Edited by: RichardK on May 10, 2010 4:14 PM
    Edited by: RichardK on May 10, 2010 4:14 PM
    Edited by: RichardK on May 10, 2010 4:16 PM
    Edited by: RichardK on May 10, 2010 4:18 PM
    Edited by: RichardK on May 10, 2010 4:22 PM
    Edited by: RichardK on May 10, 2010 4:23 PM

    To answer you question; Yes, I suspect that most of the users in this community have managed to successfully create web apps. And this is the tiniest of sampling of the developers out there...
    A few suggestions;
    1) Keep the posts to under 1200 characters. Otherwise, the formatting is lost which makes it difficult to read.
    2) Try out a few sample apps from here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Suggest; csharp_web_simplelogonengine.zip, csharp_web_simplelogonviewer.zip and csharp_web_subreport_logon.zip.
    3) Start simple; one table, one field, no subreports. Hard code the database logon parameters. Convince your self that this does work. Increase the complexity - add fields, tables, subreports. Do not mix connection methods (e.g.; if ODBC for main, than ODBC for sub is a good idea, though not a requirement).
    4) See the article [Troubleshooting Guide to Database Connectivity Issues with Crystal Reports in Visual Studio .NET Applications|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de].
    5) See  [this|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e?quicklink=index&overridelayout=true] article.
    6) Consider creating a phone case here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • 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

  • Crystal Reports 2013 SP3 crashing

    Hello,
    We installed Crystal Reports 2013 SP3 to all developers and they have been noticing that Crystal is crashing.
    It basically crashes on different scenarios and Crystal freezes and shows the error Crystal Stopped Working.
    I have gathered different scenarios like:
    1. Report was open, doing nothing when getting error crystal stopped working.
    2. Report was open, re-titled a column, saved the file click on refresh button to re-run query with same parameters and got the same error
    3. Open the report set parameters for the past month to run it and get error not responding.
    We have re-installed Crystal on different computers and the same issue persist, even in Citrix we have noticed this as well.
    Has anybody seen this behavior and found any solution for this?
    Thanks,
    Daniel

    Hello,
    I got new logs, but shows exactly the same as before. The same error lines
    But It failed few minutes ago, around 3.10pm and as you see the log the error show at 1.45, so I'm not sure if it's related to database issue.
    I'm checking the database logs and show the same error message coming from multiple desktops (which we believe are all the crystal developers, but this probably means that they sometimes use wrong password for that in their report...)
    This is what happened this time:
    Crystal 2013 SP3
    This time it failed when developer was trying to update a command object, it stopped working
    Crystal 2013 SP5
    In 1 day it stopped working twice (when you have to close crystal completely), and stopped responding multiple times (screen grays our and shows the stop responding)
    Thanks,
    Daniel

  • Crystal Report 2008 in Visual Studio 2008

    Greetings all,
    I faced a problem here when trying to implement a web application on a Windows Server 2003 Release 2 64bit. The web application is developed using Visual studio 2008 on a development PC running on Windows XP 32bit. The application basically will pass some parameters to the crystal report before loading it for viewing. When this application is implemented on one of our client's server which is running on Win2003 32bit, it was perfectly fine. However, when this same application is implemented on a windows 2003 r2 server x64, it somehow prompted an error on top of the page (just before the report viewer object) of the below message:
    This field name is not known. Error in File [temp_location_of_rpt]: Error in formula '{Vendors.company_code}={?Company_Code} and ' This field name is not known.
    As the application was working fine running under win2003 r2 x32, I configured the x64 server to enable the 32bit IIS mode on the server by running the below command:
    cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 u201Ctrueu201D
    Then proceeded with reinstallation of 32bit .net framework which surprisingly able to run the web application just fine (including viewing the report). When I deactivate the 32bit on the IIS (as the client needs to run the IIS on 64bit mode), the error appears again stating the formula error and field name not known when trying to load the report.
    Anyone faced similar to this problem or any gurus and expers here can help? Would appreciate all help and guidance.

    Hi Brian,
    I did try to create a report without any parameters passing through the web application, in which merely to load the report that connects to the database and grab records for viewing but to my amazement, the rows of record displayed is max up to 1 row (even there are many rows in the database table). I am curious if the problem lies in the connectivity issue between crystal and oracle. Now I am wondering if there is anyone out there who manage to get the web application (visual studio) interfaced successfully with crystal report to load data directly from oracle running on IIS 64bit? Or even any other database engine where the web application is running on IIS 64bit mode?
    For the time being, I am re-constructing the report to use XSD for the intention to pass the data through dataset from the web application to crystal report. It's a time consuming but I guess that's the only way to work around it.
    Would appreciate if anyone have any leads to get the crystal report working on IIS x64 mode.
    Thanks.
    Edited by: eklim8 on Jan 19, 2010 3:51 PM

  • Problem with crystal report that comes with VStudio 2008 Database edition

    Hello,
    I'm using crystal reports that comes with Visual Studio 2008 Database edition. But I'm having a problem these days. When there are more than 4 pages in the report, the summary field in the pagefooter(usually sum of data in the Details section) show 0 in the first page.It will be displaying in all other pages. I couldnt sort out the problem.I'm binding data to the report from an SQL Server 2005 table.
    Thanks in advance.I really appreciate if some one can sort out the problem quickly.

    Have not heard of the issue, but download SP1 and see if that helps:
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

Maybe you are looking for

  • Dual Display Issues, Mini Display Cable, Firewire, USB, Nothing Works

    I am working on a project for my supervisor, the specifics of each machine are listed below to the best of my ability: Machine 1: iMac9,1 Intel Core 2 Duo Version: 10.6.8 Build: 10K549 Machine 2: iMac10,1 Intel Core 2 Duo Version: 10.6.8 Build:10K549

  • Is there a way to close the PO even if one of the item is blocked?

    Is there a way to close the PO even if one or more item is blocked?

  • GLPCA data extraction...

    I need to extract GLPCA table data into BW. Is there any Standard Business Content available for doing the same?

  • Making click track for drums, help needed!

    Hello, newbie here.  I don't have that much experience with Logic and am using Logic 8.  Our band is making a backing track with midi bass panned one way and metronome click the other for our drummer.  My keyboardist managed to programme the metronom

  • CA Clusters

    With Windows Server 2012 or 2012 R2, is it possible to create a CA cluster at the main location with two nodes (Active/passive) and place a third node at a remote location for site failover?  I seem to recall that only two nodes were allowed in a CA