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

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, 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 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 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 viewer is empty (Crystal Report Server with Visual Studio)

    Hello everyone,
    I've some issues to display a basic report from a Crystal Server 2013 and Visual Studio 2010
    Below, the code:
    WebForm1.aspx.cs
    CrystalReport's DLL are in revision 14.0.3500
    using CrystalDecisions.Enterprise;
    using CrystalDecisions.Enterprise.Viewing;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    SessionMgr sessionMgr = new SessionMgr();
    string username = "Administrator";
    string password = "password";
    string server = "server-name";
    string auth_type = "secEnterprise";
    EnterpriseSession enterpriseSession = sessionMgr.Logon(
                     username, password, server, auth_type);
    EnterpriseService enterpriseService = enterpriseSession.GetService("InfoStore");
    InfoStore infoStore = new InfoStore(enterpriseService);
    enterpriseService = enterpriseSession.GetService("RASReportFactory");
    Object psrfObject = enterpriseService.Interface;
    ReportAppFactory psReportFactory = (ReportAppFactory)psrfObject;
    string queryString = "Select * From CI_INFOOBJECTS "
                    + "Where SI_PROGID='CrystalEnterprise.Report' "
                    + "And SI_NAME Like 'TestRapportTexte'";
    InfoObjects infoObjects = infoStore.Query(queryString);
    InfoObject infoObject = infoObjects[1];
    ReportClientDocument client = new ReportClientDocumentClass();
    client = psReportFactory.OpenDocument(infoObject.ID, 0);
    CrystalReportViewer1.ReportSource = client;
    WebForm1.aspx
    <CR:CrystalReportViewer  ID="CrystalReportViewer1" runat="server" AutoDataBind="True"
                            Height="550px" Width="1300px" BestFitPage="False"/>
    The project has 7 references from Crystal:
    CrystalDecisions.CrystalReports.Engine
    CrystalDecisions.Entreprise.Framework
    CrystalDecisions.Entreprise.InfoStore
    CrystalDecisions.Entreprise.Viewing.ReportSource
    CrystalDecisions.ReportAppServer.ClientDoc
    CrystalDecisions.ReportAppServer.Controllers
    CrystalDecisions.Web
    Actually, I have no error and no exception but the 'CrystalReportViewer' is always empty.
    In the C# file, ReportClientDocument client seems OK with the ID and the name of the report.
    Thanks for your feedback

    Hi Marie
    As you are using RAS I'd like you to have a look at a sample application called "NET-CS2003 RAS-Managed BE115 Add Tool-Tip" available for download from here:
    Look at the code as used in the viewer.espx.cs page and pattern your code on that.
    For a summary listing of more sample apps, please see:
    Sample Applications for Business Intelligence Software Developer Kits
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    https://twitter.com/SAPCRNetSup

  • 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 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 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

  • Integrating crystal report into the visual studio standard edition IDE

    I have visual studio 2005 standard edition. I need to upgrade some asp.net reports that were done using visual studio 2003.
    I have just install Crystal Reports XI developer edition version 11.0.0.1282.  How can I integrate Crystal into the Visual Studio 2005 IDE?

    Hi
    I would like to inform you that VS 2005 is only compatible with CR XI R2 and CR 2008.
    Have look in supported platform guide:
    https://websmp105.sap-ag.de/bosap-support
    You need to upgrade CRXI to CRXIR2 then try to solve this issue.
    To download the CR XI R2 follow the instructions given below:-
    Crystal Reports XI is installed on your computer. You need to manually uninstall Crystal Reports XI for one of the following reasons:
    u2022 To verify that all Crystal Reports XI components have been completely removed prior to installing a later version of Crystal Reports.
    u2022 To remove the remaining Crystal Reports XI components that have not been removed using the 'Add/Remove Programs' command (Start > Settings > Control Panel).
    u2022 To remove the remaining Crystal Reports XI components that have not been removed using the Setup.exe file from Crystal Reports XI installation CD.
    How do you manually uninstall Crystal Reports XI?
    Resolution
    Before getting started, uninstall Crystal Reports XI by launching the Setup.exe file from the installation CD or by using the 'Add/Remove Programs' command. If either of these methods fails to remove all Crystal Reports directories, files and registry keys, then continue with the resolution of this article.
    ==========
    WARNING:
    This resolution can be applied if Crystal Reports XI is the only software installed on the computer that uses the Business Objects directories, files and registry keys.
    For example, Crystal Analysis, Crystal Enterprise and BusinessObjects Enterprise XI are applications that may share the same directories, files and registry keys.
    Removing these directories, files and registry keys may cause other software to function incorrectly.
    ==========
    1. To manually uninstall Crystal Reports XI, delete the following directories:
    u2022 C:\Program Files\Common Files\Business Objects\3.0
    u2022 C:\Program Files\Business Objects
    ====================
    NOTE:
    Do not remove the directory C:\Program Files\Common Files\Business Objects\3.0 if you have BusinessObjects Enterprise XI or Crystal Reports Server XI installed. These files are shared by both applications and removal of these files will cause Business ObjectsEnterprise XI and Crystal Reports Server XI to function incorrectly.
    ====================
    2. Delete the following registry keys:
    ====================
    WARNING:
    The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk.
    HELP:
    For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
    RECOMMENDATION:
    It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
    ====================
    u2022 HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects
    u2022 HKEY_CURRENT_USER\Software\Business Objects
    u2022 HKEY_USERS\S-#-#-##-...-####\Software\Business Objects
    (The number signs (#) represent a series of numbers that are different on each computer.)
    ====================
    NOTE:
    After making changes to the registry, restart the affected service or application as required.
    After deleting the CR XI from the system install the CR XI R2 full build and provide the same key as you provided in CR XI.
    URL to download CR XI R2 is: - http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CRXIR2
    Click on
    Service Pack 2 - Full build  - ZIP - 1.03 GB - released April 2007
    I would suggest to use the latest service pack of CR XI R2 i.e. Service Pack 4.
    to download SP4 click [here|http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CRXIR2].
    Note:- before installing SP4 - you must have installed CR XI R2 SP2
    Hope this helps!!
    Regards,

  • Error when running the Crystal Report 9.1 (visual studio 2003) in the deployed server

    Hello,
    1) I am suddenly getting an error message ‘Load Report failed’ in a production server (where the VS2003 application is deployed) when the Crystal Report is executed. This has happened maybe because of the Windows/Crystal Report Updates!
    I am able to see the same report perfectly fine in the development computer using VS 2003.
    I am using the 9.1 version which is part of the Visual Studio 2003.
    The event logs show 'Either the keycode library is not registered or it cannot be loaded ...EventID=10029'. See attached screen shot.
    Please help?
    2) Since I was getting a registration suggestion window  for using Crystal Reports, I registered twice using different email address and it said that it will send me the KeyCode for the Crystal report but after successful registration I never got any keycode but just an email acknowledging the Registration.
    I believe the KeyCode is required to use it in the server to execute/run a report.
    Can SAP representative email the keycode to my gmail account?
    My product key is: 
    Please help to resolve both my problems
    Thanks in advance,
    Sanjay Chudasama

    If I memory servers, you have to open the Crystal_Regwiz2003.msm in the .NET deployment project. One of the properties of the msm was Keycode (or similar). You entered the keycode here. To find your keycode; in VS2003 IDE, go to the Help | About screen. You will see one of the installed components as Crystal Reports and the keycode will be on the right of that. Copy the keycode from here, paste in the above.
    For more details see the article Crystal Reports and Visual Studio .NET - Application Deployment.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • How to get Crystal Reports Editor in Visual Studio 2013 Preview?

    In Visual Studio 2005, if I double-click a *.RPT file in Solution Explorer, the file opens in the Crystal Reports editor.
    In Visual Studio 2013 Preview, if I double-click a *.RPT file, it opens in Notepad.  How do I get it to use the Crystal Reports editor again, please?
    Thanks and RICKgards
    Rick Raubenheimer

    Hi Rick,
    Since Visual Studio 2013 is still Preview version, I don't think you can find  something like this:
    SAP Crystal Reports, developer version for Microsoft Visual Studio - 2012
    Please notice that you will need to install additional packages for latest VS version, such as Visual Studio 2010 and Visual Studio 2012,
    For more details, please reopen a new case on this forum:
    http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=content~objecttype~objecttype[thread]
    Or contact SAP for support since it is a third party feature to Visual Studio.
    Best regards,
    Barry Wang
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

Maybe you are looking for

  • Help w/ dynamic sql in form based on proc.

    First, I'm not the most brilliant at this so I might be missing something basic. I have a form based off a stored procedure. In that procedure, I have an update statement that is built dynamically from session variables. It won't work because I am pu

  • How to send an iDoc from XI to flat file

    hi, I have send an IDoc from R/3 to XI.The iDoc is being received by XI.Now,I need to send this iDoc to Flat file. For this,What i need to do? can any body help me step by step in this regard.......... Thanx in advance.. Sridhar Raju Mahali

  • How to unregister a personal white balance in DPP

    I'm fairly new to DPP.  I registered a personal white balance using the WB pen tool.  I completed the task I was using the tool for and want to get the white balance tool back to the default.

  • ITunes loads but doesn't appear

    I recently upgraded to the newest version of iTunes (I think 10) and upgraded my iOS for my iPhone to 5 when I reconnected my phone iTunes would not open to get backup files for my iPhone so I was forced to set my phone up as a new iPhone. Yet, iTune

  • Bates numbering not recognized in Acrobat XI Pro (through Creative Cloud).

    Several times recently, I bates-numbered the pages, had to shuffle or add or remove pages, did so, and then tried to renumber. Each time I got the message that Acrobat could not find any Bates numbering even though I had added Bates numbering via Acr