Crystal Report Viewer Control error

Please Help, I have a web application developed in .net 2005 which is using crystal reports developer product version 10.0.0.533.
This web application with crystal is working fine on my local machine with OS windows xp, but on the windows server 2003 the application web form is running into "couldnot load file or assembly 'CrystalDecision.VSDesigner, Version=10.0.0.3300' or one of its dependencies"
I have compared the assembly information of my local machine with that of the server and could not see the crystaldecision.vsdesigner version 10.0.0.3300 on the server 2003. I have uninstalled microsoft .net 2005 and crystal reports and installed crystal first and visual studio .net 2005 next and vice versa but still could not see that particular assembly available in the windows 2003 server.
Please suggest as what to do for the assembly to be available on the server so crystal report viewer control can be created with out error. Thanks for any help.

Hello Sunitha,
Visual Studios 2005 ships with a bundled edition of Crystal Reports.  This bundled edition is based on the v10 code stream, but it is not CR10.  It's CR.NET for Visual Studios and it's v10.2. Crystal Reports 10.0 and the bundled CR.NET 10.2 for VS2005 are not interchangeable.
The stand alone version of Crystal Reports 10 is not expected to integrate correctly into VS2005.  If you have CR10 Developer installed on your VS2005 machine you can force VS2005 to use the CR10.0 assemblies, but it is not supported.
You need to clean up your application so that it's referencing the 10.2 version assemblies and then deploy the 10.2 runtime files.  You can visit the [Crystal Reports for Visual Studio .NET Runtime Distribution - Versions 9.1 to 12.0|https://www.sdn.sap.com/irj/scn/wiki?path=/display/bobj/crystalReportsruntimeforVisualStudio.NET] Wiki for a nice overview of the various versions of Crystal Reports, as well as a listing of the runtime files to match the version of Crystal Reports that is being used.  For VS2005 and bundled CR.NET look at the "CR 10.2 (VS .NET 2005)" section of the Wiki.
Sincerely,
Dan Kelleher

Similar Messages

  • Problem in crystal report viewer control's toolbar "export"button using SSL

    Hi,
    I would like to ask. My project is using BO XI Release 2 and VS-Studio 2005. Initially my project doesn't use SSL... At that time when i view the report with crystal report viewer control and can export (using built-in toolbar "export button"). Now project is using SSL and canu2019t export the error is
    u201CInternet Explorer cannot download file from server.
    Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.u201D
    Actually this error can solve "Cache-control" change to "no-cache". But I donu2019t know in crystal reportu2026
    Anyone can help ???
    Thanks

    In Internet Explorer, go to Tools -> Internet Options -> Advanced and ensure "Do not save encrypted pages to disk" is unchecked.
    Default is to have that option checked. 
    It was considered a IE security issue that IE saves all content to temp disk location unencrypted, even those pages served by HTTPS (for example, let's say you use HTTPS to download your bank info, and it's stored to temp disk for someone else to retrieve later).  So more recent versions of IE implemented that option setting.
    How that option setting works is strange - it downloads the file, saves to disk, then deletes the copy from the disk immediately, before passing it to the application responsible for the MIME type.  So the application tries to open a directory path to a non-existing file.
    Issue is specific to IE, and it's not something you can control via the SDK.
    Sincerely,
    Ted Ueda

  • I couldn't use Crystal Report Viewer Control in my ASPX page.

    Please I'm having a problem with crystal report viewer control which I couldn't resolve. I'm using VS 2008 and Framework 3.5.
    I building an ASP web application and when I add a CrystalReportViewer to my ASPX page I'm getting the following
    error.
    "Error     20     Type 'CrystalDecisions.Web.CrystalReportViewer' is not defined."
    I think maybe because I'm not having the right reference file. I'm using Crystal Reports 2008 and also I installed the following
    Service Packs:
    cr121_redist_install
    CR2008-SP1
    CR2008SP1-Fixes 1 and 2
    cr121_clickonce
    I check all the reference files in my project and they are as follow:
    CrystalDecisions.CrystalReports.Engine  (12.0.2000.0)
    C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.CrystalReports.Engine.dll
    CrystalDecisions.Enterprise.Framework  (12.0.1100.0)
    C:\Program Files\Business Objects\Common\4.0\managed\CrystalDecisions.Enterprise.Framework.dll
    C:\Program Files\Business Objects\Common\4.0\managed\CrystalDecisions.Enterprise.InfoStore.dll  (12.0.1100.0)
    C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.ReportSource.dll  (12.0.2000.0)
    C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.Shared.dll  (12.0.2000.0)
    Please Why I'm getting this problem? How I can resolve it?
    Thanks.

    If you have a viewer on one of your forms, delete it off the form and re-add it, ensuring that the crystalreports.web assembly referenced in your project is version 12.
    Ludek

  • Fonts are not diplayed correctly in the Crystal Report Viewer control

    Post Author: Farid
    CA Forum: General
    Hello,
    I have designed a report in the Crystal Reports XI Designer (version 11.5.3.417) using the default printer. When I view it through the preview mode of the Designer, fonts are displayed like expected using the default printer driver.
    Now, I view this same report at run time in the Crystal Report Viewer control on the same computer with the same default printer. Fonts appear then differently they were in the preview mode : sizes are differents and some texts are truncated. It seems that the default printer driver are not used.
    Can anybody tell me if this behaviour is normal ? If it is the case how should I do to display a report in the Report Viewer using the default printer driver like I have specified it in the Designer.

    Post Author: V361
    CA Forum: General
    You may want to select the "no Printer" option instead, this will force CR to use a higher resolution.  Look in page setup, printer options.

  • 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 Report Page Control error...

    Using Visual Studio 2008, Crystal Reports 2008
    I am trying to build report interaction features like group expand,collapse, show hidden section etc at run time into my application that is based on VS 2008 and Crystal 2008 .
    I have had good success and the Crystal Viewer exhibits expected behavior if I  do not meddle with the sections of the Page control of the viewer. Instead if I  just remove the Page control from the viewer and add a new one that is passed by a run time viewer that I create on the fly just to get the new Page control. Unfortunately, this approach causes the report viewer control to do a momentarily disappearance act that makes the whole thing look less intuitive.
    As a work around, I just pass the sections of Page control that I have created on the fly to the actual viewer and follow it changing the Zooming scale marginally on the page control of the actual viewer on the form. This causes the Page control to reflect all the changes that I have done on the page control of the run time viewer and works like a charm without any flicker or refresh like behavior.
    But the good things stop here, as apparently, the Page control holds a different collection of section instances and report object instances than the one is displayed on report.
    Clicking on most of the objects after this change causes the below exception. The whole concept falls flat and I do not want to use the adding/removing page control approach as it not intuitive at all.
    All the subs mentioned in the error log are protected crystal procedures. That leaves me with no option but to wait for a reply for the experts at SAP.
    Regards,
    Faisal
    Error Source = CrystalDecisions.Windows.Forms
    Error Message: Index was outside the bounds of the array.
       at CrystalDecisions.Windows.Forms.PageControl.PageControlAccessibleObject.NotifyClients(Int32 sectionInstanceIndex, Int32 objectInstanceIndex, AccessibleEvents accEvent)
       at CrystalDecisions.Windows.Forms.PageControl.TabTo(Int32 sectionInstanceIndex, Int32 objectInstanceIndex, Boolean scroll)
       at CrystalDecisions.Windows.Forms.PageControl.TabTo(Int32 sectionInstanceIndex, Int32 objectInstanceIndex)
       at CrystalDecisions.Windows.Forms.PageControl.OnMouseDown(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.WndProc(Message& m)
       at CrystalDecisions.Windows.Forms.PageControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)

    Thanks a ton for the help and suggestions...
    Actually, I figured out a new approach where I don't have to meddle with the individual sections of the PageObject object of the viewer Page control and then leave it to the  mercy of the Crystal engine, if it likes what I done to the viewer object. But it does not negate the fact that the Crystal engine behaves funny if the PageObject sections of the viewer control are added or modified. You may argue that calling report refresh will fix it but  then it is not an option when you are building user interaction feature to a report.
    Regards,
    Faisal

  • Crystal Report Viewer Control on SAP Form?

    We are using Crystal Report XI to create custom SAP reports.  We have integrated this into our Add-On by adding the Report Viewer Control to a Windows form and setting it's report source at runtime.  This works ok but is a bit cludgy looking and causes some focus and redraw problems with SAP.  I have tried for weeks to figure out how to get the ActiveX control onto an SAP form but with no luck.
    Here is my code sample:
    SAPbouiCOM.Item oItemX;
    SAPbouiCOM.ActiveX oActX;
    CrystalDecisions.Windows.Forms.CrystalReportViewer oCRX;
    oItemX = this.sboForm.Items.Add("U_CRCtl", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X);
    oItemX.Left = 0;
    oItemX.Top = 0;
    oItemX.Height = this.sboForm.Height;
    oItemX.Width = this.sboForm.Width;
    oActX = (SAPbouiCOM.ActiveX) oItemX.Specific;
    oActX.ClassID = "{5E093535-5A5D-4E72-ACCD-F10B6D065BC9}";
    oCRX = (CrystalDecisions.Windows.Forms.CrystalReportViewer) oActX.Object;
    oCRX.ReportSource = @"c:\Test\Test.rpt";
    I am not sure why this will not work.  I always get either 'Specified cast is not valid' or 'Invalid Class ID'.  If anyone has done this successfully or has any suggestions that would be great!  Thanks for your help!
    David

    Hi Ibai,
       Thank you for your interest in CrystalWave. I tried sending this info to the email address you gave but got an undeliverable message.
    The links are as follows:
    (please use Internet Explorer while accessing the download link)
    1. CrystalWave info: http://www.twbs.com/CrystalWave.html
    2. CrystalWave download: http://www.twbs.com/cwrfiv2004.asp (You need to fill in your info and the download will start.)
    Please do let me know if you are not able to access these links and I can setup a temporary link for you to download the program.
    Thanks,
    Gopal Viswanathan

  • Crystal Report Viewer Control 11.5

    I have Crystal 2008 but I need to be able to use the Crystal Report Viewer when viewing reports through a website.
    I have the activex in my AddOn Manager but when I view the files in my Downloaded files folder the viewer control is not there.
    How do I download the CR reports viewer?
    thanks

    I am giving myself points for stumbling onto the solution to this.
    I had basically given up that I would not be able to view my reports on this computer.  I tried everything I could think of to either fix or remove the ActiveX control.
    I had to do some stuff on Access today and in the Tools menu there is an item called Active X controls.
    I clicked on the Crystal Report Active X Controll 11.5 and then clicked on the Unregister button.
    I opened the IE add-on manager and the control was nowhere to be seen.
    I logged on the site where I need to view the reports and what do you know it asked me to install the
    Active X control.
    Two IE restarts later I am now able to see my reports.
    So if you need to remove an Acitve X control from IE and it won't let you delete try unregistering it in Access.

  • Crystal report viewer version error

    Now I am tring to call reports in crystal reports server by asp.net.  My server is crystal reports server xi, and for develop I also installed crystal report server client-side part on my develop machine, and crystal reports xi designer xi,r2.
    My program is to call the rpt files on server and show them by CrystalReportViewer control, however I get the error message below:
    Parser Error Message: The base class includes the field 'CRViewer', but its type (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer).
    Source Error:
    Line 10:     <form id="form1" runat="server">
    Line 11:     <div>
    Line 12:       <CR:CrystalReportViewer ID="CRViewer" runat="server" AutoDataBind="true" />
    Line 13:     </div>
    Line 14:     </form>
    My code is:
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CRSTest._Default" %>
    <%@ Register assembly="CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
          <CR:CrystalReportViewer ID="CRViewer" runat="server" AutoDataBind="true" />
        </div>
        </form>
    </body>
    </html>
    code behind:
               ReportDocument rd = new ReportDocument();
               string sampleReportName = "MyTest";
                SessionMgr sessionMgr = new SessionMgr();
                EnterpriseSession enterpriseSession;
                EnterpriseService enterpriseService;
                InfoStore infoStore;
                InfoObjects infoObjects;
                InfoObject infoObject;
                ReportAppFactory reportAppFactory;
                // Logon to an Enterprise session.
                  enterpriseSession = sessionMgr.Logon("Administrator", "1Qaz2wsx", "MOSSDEV-COYD:6400", "secEnterprise");
                // Query for the sample report from the Enterprise CMS.
                enterpriseService = enterpriseSession.GetService("InfoStore");
                infoStore = new InfoStore(enterpriseService);
                infoObjects = infoStore.Query("Select SI_CUID From CI_INFOOBJECTS Where SI_NAME='" + sampleReportName + "' And SI_INSTANCE=0");
                infoObject = infoObjects[1];
                string reportCUID = infoObject.CUID;
                rd.EnterpriseSession = enterpriseSession;
                rd.FileName = "cecuid:///" + reportCUID;
                rd.SetDatabaseLogon("sqluser", "123456", "172.31.69.90", "AVIS_FMIS");
                CRViewer.ReportSource = rd;
    I check my assembly folder, I found three CrystalDecisions.Web dlls with different version, 11.5.3700.0, 11.5.3300.0, 10.5.3700.0, I try to refer to 11.5.3700.0 it says there is two CrystalDecisions.Web ddls exist in GAC.
    Could you tell why? and how to refer to the right dll?
    Thanks in advance

    11.5.3700.0, is CrystalDecisions.Web.dll for XIR2 and the 2.0 framework
    11.5.3300.0, is CrystalDecisions.Web.dll for XIR2 and the 1.1 Framework
    10.5.3700.0, is CrystalDecisions.Web.dll for Crystal reports basic that ships with Visual Studion2008
    all of these can co-exist in the GAC, so that part is fine.  The problem is that you most likely have multiple references to CD.Web.dll in the config file of your application... IE an additional reference was added to the <add assembly..../> tag in your web.config.
    delete all <add assembly ../> tags from web.config except the one adding 11.5.3700.0
    If you have more than one project in your solution, make sure there are no other versions of CD.Web.dll in those projects as well.

  • SAP 9.0 PL10 Crystal Report Viewing/Editing error

    When trying to preview any crystal document in SAP, I'm getting a "The procedure entry point could not be located in the dynamic link library C:\Program Files (x86)\SAP Business Objects\SAP BusinessObjectEnterprise XI 4.0\win32_x86\rasauditingw.dll". I've manually registered the dll, and still get the error on the first view of any document. Subsequent previews no longer show the error, until you log out of SAP. This is all happening in the SAP Client, and only happens after I install the Crystal Server Integration piece required by the Crystal Report Addin to edit Crystal Reports. Anyone else getting this?

    This isn't the issue. Crystal Reports runs fine. Opening from all programs works fine. It's when in SAP, and you try to preview any marketing document for the first time only, I get a windows error box stating "The procedure entry point could not be located in the dynamic link library C:\Program Files (x86)\SAP Business Objects\SAP BusinessObjectEnterprise XI 4.0\win32_x86\rasauditingw.dll". Clicking OK on the box allows the document to be previewed, and crystal viewer opens properly. This above note does not reference this issue, or is it relevent to this version of SAP 9.0.

  • Crystal Reports Web Viewer Control Error

    I have a very odd problem that I am trying to solve.  I was able to dumb the problem down to the Crystal Report Viewer control.  I am using the control in an web user control and using that control in a web page.  The problem is that when I use the control inside a web user control I get the following error:
    A string is required here. Details: errorKind Error in File Client_Info {D911348D-2CAA-49F8-B77D-1288E7D5ABA2}.rpt: Error in formula Project_Labor_Multiplier: 'if ' A string is required here. Details: errorKind
    However, when I use the control in the page itself I do not get that error.  I have tested the report via the design/preview in the VS IDE and it works fine.  I have about 30 reports and they all fail like this if they have a formula.  If they do not have a formula, they work fine.  They do not fail on my personal development machine, but they do fail on our test server.  So this is VERY hard to identify and fix. 
    All that I know is that the formula's are causing this.  They do not occur on my development machine (win7 64-bit) and they do occur on the the test server (winServer 64-bit)... but NOT when I put the Report Viewer control directly in a page and not in a user control.   
    Odd stuff.  Not sure what is going on here.  Why would nesting the viewer control in a web user control cause this?  This was migrated from an application written in 2005.  So maybe the RPT files from 2005 are causing this?
    Any thoughts as to what might cause such an odd effect on Windows Server?  
    Any suggestions or thoughts would be very much appreciated.  This one has me stumped.
    Best regards, 
    Jon

    Hello Jon
    Some thoughts on the issue:
    The error is thrown with a 64 bit runtime, but not 32bit.  Iu2019m guessing that on your development computer, you may be testing \ running from the .NET IDE. E.g.; Cassini, which runs in 32bit process. On the server we're running in a 64bit process.
    Since it is a formula throwing the error, I wonder if you are using any Crystal Reports User Function Libraries (UFL)? If these are compiled as 32 bit, they will fail when run in a 64 bit process. Or, these libraries must be deployed in addition to the normal CR runtime. Failing that will also cause formula errors.
    Are you able to run this app from IIS on your development computer as a 64 bit process (e.g.; HTTP, not Cassini or file system)?
    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 Viewer 2008 paging error.  Unable to process your request

    Hi everyone,
    I encountered this error today when clicking on the next page button on the Crystal Report Viewer.  I am running Crystal 2008 SP0.  When i click on show detail i get this:
    Programming Error520|/wEWPQL/uNqsCgKLovFcAtm0IoIAoScvAHAoqK76EFApyD1ugPApqWlPcMAsX1vAHAsX1198BAsCEq8AHAtuulPcMAoaMm/kHAoaMg/YCAoSGgI0OAs/lg/YCAsWelPcMArPesvYEAreG34oIAqKak5INAtzilMNAtD9h8wDApmmIoPAti0IoIApuWgI0OAubdht0DAsSe5NMPAqOak5INAqOa9/ICAr39wAOAp79l8IOApnFpvwJAo2nlP4BAsWFxAGAsHe54QMAs/Ok/EBAp7Eo3kCgvyr9gEC9POo2gkC2qGU/gEClfLUnAMCvuWnwQgCmuLjgg4Cnv3bgg8ChuPz6gMCpeOPzAMCl6zX3wECpuuLzAMC3eqToA4CvuWXgg4Czs7nhAwCveXvww0C3OrjoQ0C3eqn4wkCvuW7wQgCnv3Hgg8Cvf3b4A4Cnv2fwg4C0e7nhAwCxei3zAMCw97nhAwC6OONrwUYE9w8XzGf1oPuoIcvJLRvyIbTWg==
    I have a simple .Net page that has a dropdown control that a user can select to pass the parameter for the report.  I have a server side button that gets the report on the onclick event. The code behind is as follows:
    protected void btnReport_Click(object sender, EventArgs e)
            CrystalDecisions.CrystalReports.Engine.ReportDocument Myreport = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            Myreport.Load(Server.MapPath("Reports/rpt_equipment_summary.rpt"));
            ConnectionInfo crLoginInfo = new ConnectionInfo();
            Database crDatabase;
            Tables crTables;
            CrystalDecisions.CrystalReports.Engine.Table crTable;
            TableLogOnInfo crTableLogOnInfo;
            crLoginInfo.ServerName = "----";
            crLoginInfo.DatabaseName = "------";
            crLoginInfo.UserID = "-----";
            crLoginInfo.Password = "------";
            //Get Table or SP information from report
            crDatabase = Myreport.Database;
            crTables = crDatabase.Tables;
            //Loop through all tables in the report and apply the
            //connection information for each table.
            for (int i = 0; i < crTables.Count; i++)
                crTable = crTables<i>;
                crTableLogOnInfo = crTable.LogOnInfo;
                crTableLogOnInfo.ConnectionInfo =
                crLoginInfo;
                crTable.ApplyLogOnInfo(crTableLogOnInfo);
            //Add Parameter
            ParameterField paramField = new ParameterField();
            ParameterDiscreteValue spValue = new ParameterDiscreteValue();
            ParameterFields ParamFields = new ParameterFields();
            paramField.Name = "@txComments";
            spValue.Value = ddlPastInvoices.SelectedValue.ToString();
            paramField.CurrentValues.Add(spValue);
            ParamFields.Add(paramField);
            CrystalReportViewer1.ParameterFieldInfo = ParamFields;
            CrystalReportViewer1.ReportSource = Myreport;
    Is there something i am missing for paging to work?
    Thanks in advance

    Sorry i forgot to include more information.
    .Net 3.5 and I can view this report fine in Crystal report designer.  I get no error message when I switch pages.  The issue happens when i view the report inside a Crystal report viewer control that i have on the page. 
    <%@ Register assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    I haven't tried your sample reports.  Where can i find those?  i have other reports with multiple pages so I can also try using those reports as well. 
    Thanks again,
    Pablo

  • Problem on using Crystal Report Viewer on windows application ("specified type is not valid ")

    Hi
    I am having problem on using Crystal Report Viewer on one of my windows application.
    I am not sure how to put the Crystal Report Viewer 11 Control onto the tool box.
    I could found a Crystal Report Viewer control on my computer, but it is version 8.5.
    I have also found another one which is Called Crytal ActiveX Report Viewer, i don't think it is the one I can use. As when I try to load a dummy report on to the Crytal ActiveX Report Viewer, It return an error. "specified type is not valid"
    Please see the Code sample below.
    private sub loadReport()
         Dim r as New ReportDocument
         'v is the name of the Crystal ActiveX Report Viewer Control
         r.Load("C:\Report1.rtp")
         v.ReportSource(r) <---It throw error on this line.
    End Sub
    Could you give me some advice about what have I done wrong, How to check if I have set up the Crystal Report Component correctly in my Visual Studio 2005 Standard edition.
    Thanks in advances.
    Many thanks
    Chi

    VS 2005 Standard and Express editions do not come with Crystal Reports; only the Professional and higher editions will have CR bundled. However, I believe you can purchase CR XI R2 Developer and it will give you the components you need to create a VS .NET 2005 application using the Standard edition.
    -MJ

  • Multiple instances of Crystal Reports Viewer possible in WPF?

    Hi, I've dragged and dropped three Crystal Reports Viewer controls on my WPF application. The goal is to be able to select up to 3 reports from a listbox and click run to generate the reports simultaneously. When I select just one report, it works fine. However when I select multiple reports it throws errors (object not found, etc). It seems there is a problem with multiple threads. Is it possible to have multiple instances of the Crystal Report Viewer display reports simultaneously? I am using version 13.0.9.1312 from the link below along with VS2013 C# WPF.
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Thanks,
    Syed

    I was able to quickly cobble together a two viewer app that looks like this:
    The code is like this:
    Public Sub New()
            ' This call is required by the designer.
            InitializeComponent()
            ' Add any initialization after the InitializeComponent() call.
            Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            crReportDocument.Load("C:\tests\formulas.rpt")
            CrystalReportsViewer1.ViewerCore.ReportSource = crReportDocument
            Dim crReportDocument2 As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            crReportDocument2.Load("C:\tests\report1.rpt")
            CrystalReportsViewer2.ViewerCore.ReportSource = crReportDocument2
        End Sub
    For more details see the document WPF Project Using the Crystal Reports WPF Viewer in 8 Easy Steps
    Now a couple of things to keep in mind;
    1) The report engine is based on 3 Concurrent Processor License (CPL) model. Meaning you can process at most three reports at the same time. In my test, doing the above code for four reports worked, but the reports are very, very simple - and with saved data. What a "real" world reports will do, I am not sure. I do know that in a web app, the reports are queued up until one report is done and thus a CPL is freed up. You will also need to keep in mind any database connection limits, etc.
    2) There is also a Print Job limit. This by default is set to 75. In a nutshell, almost anything done with a report is a Print Job. E.g.; paging, zooming, drilling, searching, etc., etc. In addition subreports are considered to be Print Jobs. Thus a report with one subreport in a detail section that returns a thousand rows of data and therefore running 1000 subreports will error out.
    You can read more about Print Job limits here:
    Crystal Reports Maximum Report Processing Jobs ... | SCN
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Report Viewer Collapse Unneeded Lines

    I have a CR open sales order report grouped by sales order number. Crystal report viewer outlines Sales Order #, customer name and doc total in the master line. Underneath that, it shows multi line items contain in that SO.
    I am wondering, is there a way I can collapse the multi line items and only shows the master line item? We need this sometimes to present to management just to show the big picture.
    Is it we can add a drill-down event to the crystal report viewer control? Not sure how to accomplish that. Any help will be appreciated.
    Thanks.

    Hi, 
    If the detail information is in the Detail section, you can set the Detail Section to Hide.  This will only show the Sales Order information and have the ability to drill down to the Details when you need them. 
    Good luck,
    Brian

Maybe you are looking for

  • Margin or indenting problem with table?

    Hi, I'm creating a rather long crosstab report. I've successfully made the table wrap down the page instead of across pages (thank you to this: http://winrichman.blogspot.com/2009/05/cross-tab-by-limiting-number-of-colums.html). I notice, however, th

  • I need help badly with my ibook and palm pilot

    Good day. I recently fixed my ibook and my palm to sync with each other. I configured my palm to sync with entourage. I then realized that it would be much better that if I sync my palm pilot with the palm desktop. Gow do I now reverse this? How do i

  • Converting audio samples using libav*

    Hello guys, I've been looking for a solution for several days by now and have not gotten any smarter, I hope that someone of you is able to help me What I'm currently working on is an application able to generate audio fingerprints (specifically acou

  • Can't find my printer from my MacBookPro. Canon MX870 connected via ethernet to my Airport Base station

    I have a MacBookPro3,1. My Canon MX870 is connected to my Airport base station via ethernet. It was working fine until two days ago. I restarted my computer, the printer and the airport and router. Reinstalled the driver for the printer and even rese

  • ITunes is temporarily unavailable message

    Since my last update I have been getting this message on my MacBook Pro.  I can access iTunes on my iPhone and iPad and download and update but on my Mac I can access the store but can not buy, download, or update.  Any ideas?