Migration of Crystal Reports Server XI to new network server

We are running CR Server XI on an older network server that is becoming unstable.   We would like to migrate CR Server and all its reports to a newer network server.
Given that there are around 200 reports published and being run from its current location, is there any way to easily move the program and reports?    Any easy way to mass-change the ODBC database server info which is present in all these reports?

I wrote this a couple years ago and you may want to open a message with the deployment team to verify or get updated steps.
But this used to work fine when the version/patchwere the same in source/destination and was much faster then the import wizard.
you can migrate the CMS database from the CCM by selecting the copy from data source.
**CMS Source**
1) Prior to copying the CMS database it's easiest to simply disable auditing on the source CMS database to avoid errors on the destination.
**CMS Destination**
2) Create a CMS database or instance for the destination
3) Stop the CMS and all other services (page,cache,etc)
4) Double click on the CMS
5) Select the configuration tab
6) Choose copy from datasource
7) Click specify on the CMS Data source
8) Select source CMS database (make sure middle ware i.e. ODBC connection is installed)
9) Select destination CMS database
**CMS Source**
10) Stop CMS and all other services (page,cache,etc)
**CMS Destination**
11) Start the CMS
12) Login to CMC select servers, delete all servers associated with the source CMS if they exist
13) Stop CMS on the destination server
14) Double click CMS on the destination server
15) Select the configuration tab
16) Select the change CMS cluster name to (and choose your server or cluster)
17) Run regedit
18) Go to HKEYLocalMachine\Software\Businessobjects\suite 11.5\Enterprise\CMSClustermembers
19) Ensure that only the proper members are defined (i.e. your computer name only or your cluster members only). Remove anything that was added from the source system
**CMS Source**
20) Restart the CMS and all other services (page,cache,etc)
21) Login to CMC select servers, delete all servers associated with the destination CMS if they exist
22) Go to HKEYLocalMachine\Software\Businessobjects\suite 11.5\Enterprise\CMSClustermembers
23) Ensure that only the proper members are defined (i.e. your computer name only or your cluster members only). Remove anything that was added from the destination system
**CMS Destination**
24) Delete any directories in the businessobjects\businessobjects 115\filestore
25) Copy your FRS from the source businessobjects\businessobjects 115\filestore to businessobjects\businessobjects 115\filestore on the destination
26) Restart CMS - Done
NOTE: If XI replace 115 with 11. IF CE10 replace business objects with crystal enterprise and 115 with 10
Regards,
Tim

Similar Messages

  • Migrating from Crystal Reports Charts using TopN and "Other" to Reporting Services

    I am currently migrating several Crystal Reports that have charts.  The chart series is set to use the TopN values in a count, and combine the rest of the series into one series titled "Other".  I see how to filter the chart using TopN, however I need to still show the rest of the data grouped as "Other".  I think the solution I need is to create a group expression that uses some sort of IIF function to create the "Other" group, but I haven't found a function that I can use to get the results I need.  Any ideas?
    Scott

    We were looking at report deployment options and evaluating SSRS vs Crystal Report Server.  There were several reasons we decided to go with SSRS:
    Cascading Parameters
    Ability to use multiple data sets in one report
    SSRS seemed more user-friendly than CRS
    There were a few other considerations I can remember now, but the final reason was price.  My company already had the licenses for SQL Server.  However, even if that was not a consideration I still would have gone with SSRS.
    Hope this info helps.
    Scott

  • Crystal Report and SAP BW and BOE Server

    Hi,
    I have installed the following on my local PC:
    1) Crystal Report (51038906 CRYSTAL REPORTS 2008 V1 SP3 Win Server on IA32 32bit) on my local machine.
    2) SAP Integration Kits XI 3.1 SP3 (follow Ingo's document, but under the "Component", I only select the "Client" as I installed this on my local machine)
    In Crystal Report, I can build new report on top of SAP BW Query. I can save into BW System via menu SAP ->Save as
    In Crystal Report, menu File ->Save as, there I have the option Enterprise. When I click on the Enterprise, I can logon and save the crystal report into the BOE folder that I created, but encountered this error:
    Failed to commit objects to server:
    Create operation fails
    Do you know what's the problem?
    At the moment, I have installed BOE XI 3.1 SP2 and SAP Integration Kits XI 3.1 SP2 on the BOE Server. Do you think this is the cause of the problem (I am using SAP Integration Kits XI 3.1 SP3 on my local PC)?
    Any help will be appreciated.

    To start with there is no SP1 for XI 3.1
    The version number 12.x.y.z can be read as follows:
    12 means that you have BusinessObjects XI 3.something
    x is the Service Pack Number. If x=1 this means that BOE XI 3.1 is installed. XI 3.1 is considered to be BO XI 3.0 with SP1.
    z is the number of fix pack.Note that 0 means that you do not have any Fix Pack installed.
    So if you see something like:
    12.2.4.z
    you can assume that you have BO XI 3.1 with SP 2 and FIx Pack 2.4 installed
    In your case
    12.1.0.z
    means that you have BOE XI 3.1 installed.
    Regards,
    Stratos

  • Error after migration to Crystal Reports 12 for existing reports

    Hi,
    We had reports written using Crystal Reports Version 8.5. These reports were not modified for a long time. Recently, we had migrated to Crystal Reports 12 (2008). Some of the these existing reports were modified using the Crystal Reports 2008 designer. After installing our application (we ship Merge Module of Crystal Reports 12 i.e. 2008 which gets installed in GAC)
    1)  If we create new reports in 2008 designer and try to view these reports, it works as expected without any issue(s).
    2 ) However, if these modified reports are tried to be viewed, there is an error which states "Database Logon Failed".
    Details:
    CrystalDecisions.CrystalReports.Engine.LogOnException     {"Database logon failed."}
    ErrorID     CrystalDecisions.CrystalReports.Engine.EngineExceptionErrorID.LogOnFailed
    InnerException     {"Database logon failed."}
    Message      "Database logon failed."
    Source     "CrystalDecisions.ReportAppServer.DataSetConversion"
    Stack Trace        at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
    TargetSite     {Boolean ThrowDotNetException(System.Exception)}
    Also, it is worth to note that if we try to view these modified reports from any environment which has both Crystal Reports 10 and Crystal Reports 12 in GAC, then these reports work as expected.
    P.S.  We have mechanism in application's code to reset the database connections when any report is being viewed using ReportDocument class' method.
    From the above scenario I believe issue is specific to migration to Crystal Reports 12 (2008).  Any help /workaround to solve this problem will be highly appreciated.

    Make sure you have the latest SP for CR 2008  installed;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ensure you are deploying SP 2 runtime;
    MSM
    https://smpdl.sap-ag.de/~sapidp/012002523100009159092009E/cr2008sp2_mm.zip
    MSI
    https://smpdl.sap-ag.de/~sapidp/012002523100009159002009E/cr2008sp2_redistinstall.zip
    If that does not help;
    1) Do these reports work in the designer?
    2) What database are you using and what is the connection type?
    3) Compare the dlls loading on the systems where this app works (environment which has both Crystal Reports 10 and Crystal Reports 12 in GAC) and a system that is giving you the error. Use the [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] utility.
    4) Open the reports in the designer and look at the properties in the Database menu -> Set Datasource Location. Check to see if there are any differences between the two reports.
    5) If there is a subreport in the report that causes the issue, remove it and see if the report works without the subreport.
    Ludek

  • How to configure Crystal Reports 2008 and IIS7 and Windows Server 2008?

    I have downloaded and installed the trial for Crystal Reports 2008 on our Windows 2008 server.  I can open Crystal Reports on the server just fine, but I get HTTP 500 errors when I attempt to view a report hosted on that server via the web.
    As far as I can tell, the handler mappings in IIS7 are not configured properly, although I confirmed that the Crystal Reports 2008 install did add several handlers.  I read that I must configure the application pool to enable 32-bit applications.  I did that and am still getting the same error.  Documentation seems sparse and I've spent the better part of the day searching the forum here with no luck.  What am I missing?

    Don,
    Thank you for the quick response!
    We will ultimately be using ASPX/C#, but this simple case has a very basic report with no databind, just a single text label that reads "test succeeded" and I'm attempting to access it by direct URL (i.e. "http://192.168.99.21/crystalreportviewers12/test.rpt").  This works on our Windows 2000 server running Crystal Reports 8.
    I've also tested with a simple test.aspx file with only the line "Response.Write(System.DateTime.Now.ToString())" and that works just fine.  This file is in the same folder as the test.rpt file.
    If I leave the Application Pool set for the "Integrated" managed pipeline mode, I continue to get a rather generic "500 - Internal server error".  If I switch it to "Classic", I get the following error:
    Failed to Execute URL.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.HttpException: Failed to Execute URL.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [HttpException (0x80004005): Failed to Execute URL.]
       System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +2004965
       System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +390
       System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +223
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8674594
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

  • Migrating from crystal report 8.5 to 10.0 giving error

    migrating from crystal report 8.5 to 10.0 giving error
    I am working in migrating my cr application to 10th ver from the existing 8.5 where we have to explicitly make a query in query builder and then attach it. I was using dsn in ms odbc for oracle driver to connect the DB. Now in 10.0 i have removed the query file created using 8.5 query builder and trying to write directly to command editor. the report as stand alone is working fine. but when i try to generate the pdf using my vb application then on .export option it is giving error as "Logon failed.
    Details: 01S00:[Microsoft][ODBC driver for Oracle]Invalid connection string attribute". i think the problem might be with cddb_oracle.dll or crdb_oracle.dll file as i am using a evaluation version of crystal report 10. as input to dsn i am providing

    migrating from crystal report 8.5 to 10.0 giving error
    I am working in migrating my cr application to 10th ver from the existing 8.5 where we have to explicitly make a query in query builder and then attach it. I was using dsn in ms odbc for oracle driver to connect the DB. Now in 10.0 i have removed the query file created using 8.5 query builder and trying to write directly to command editor. the report as stand alone is working fine. but when i try to generate the pdf using my vb application then on .export option it is giving error as "Logon failed.
    Details: 01S00:[Microsoft][ODBC driver for Oracle]Invalid connection string attribute". i think the problem might be with cddb_oracle.dll or crdb_oracle.dll file as i am using a evaluation version of crystal report 10. as input to dsn i am providing

  • Migrating from crystal report 8.5 to 10.0 giving error 01S00:error

    migrating from crystal report 8.5 to 10.0 giving error
    I am working in migrating my cr application to 10th ver from the existing 8.5 where we have to explicitly make a query in query builder and then attach it. I was using dsn in ms odbc for oracle driver to connect the DB. Now in 10.0 i have removed the query file created using 8.5 query builder and trying to write directly to command editor. the report as stand alone is working fine. but when i try to generate the pdf using my vb application then on .export option it is giving error as "Logon failed.
    Details: 01S00:[Microsoft][ODBC driver for Oracle]Invalid connection string attribute". i think the problem might be with cddb_oracle.dll or crdb_oracle.dll file as i am using a evaluation version of crystal report 10. as input to dsn i am providing
    1.dsn
    2.usid
    3.database
    4.password
    what else is missing . plz help.....

    Well, you can migrate, you can not upgrade (semantics I suppose). E.g.; the RDC was deprecated in CR XI r1 and retired in CR 2008. Thus there is no way for you to upgrade to version 12 of the RDC as there is no such thing. So, from here, you have two options: migrate / port the app to .NET, or Java SDKs.
    Re. RDC, see my blog here:
    /people/ludek.uher/blog/2008/10/20/report-designer-component--past-present-future
    For porting the app to .NET, see this article:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0eb394f-931e-2b10-3b82-9413bfc3f457
    Ludek

  • Migrate from Crystal Report XI R2 to Business Objects XI R2

    Hello friends,
    As per end of licence life cycle for Crystal report, we need to migrate our 30 crystal reports to BO xi r2.
    First thing i need to ask is that ...is this possible to migrate from Crystal report XI R2 to BO xi R2 ?
    If yes than where i can find migration guide..i tried import wizard but its not showing crystal reports in list.
    please help..
    thanks.

    Ok. We used the same Administrator user.
    It seems first we need to move report to Report Samples than only it shows in list.
    If we keep *.rpt under user folders its not being imported.
    Import is possible this way only. Now we need to call the report from java.
    Which API should we use to print this crystal report migrated to BO?
    Regards.
    MNBdev

  • Crystal Reports published on Business Objects Enterprise Server

    Hi all,
    I am having a few difficulties after i save my crystal report to the Business Objects Enterprise Server XI 3.1.
    1) for the reports with static parameters the "Crystal Reports Print Control" doesbnot work. It gets stuck and i guess cannot load the print function. Don't know what exactly causes it but i made two similar one field reports and saved them to the server. One with a dynamic parameter and the other with a static parameter.
    The report with static parameter could not be printed.
    This happens when i use the HTML viewer for crystal reports. I cannot use the activeX or Java viewers as they mess up the formatting of my Arabic reports.
    2) For some reports i get one type of parameter screen (like we get while running through the designer) while for other reports i get a different type of Parameter Entry Screen. Sometimes when i view the report first time i get the former type of parameter screen and when i refresh the report i get the later screen.
    3) Also my dynamic parameters are not showing all the values when the reports are saved to the above mentioned server. On my desktop i made the LOV registry tweak and it works fine. I did the same tweak on server registry but it is not working.
    Thanks a lot even if u read it

    Moved to BOE forum

  • Migration from crystal reports 8  to 11 - Formatting Issue(Criticial)

    Post Author: DJ Gaba
    CA Forum: General
    I have migrated my crystal report version from version 8 to version 11 (evaluation version) but I am seeing some formattiong issue
    My entire report data has moved little bit toward right so my rightmost line (table) wraps up in next page and hence leaving every second page blank.
    is it that I am using evaluation version that is casuing problme. Report is opening up properly but it's the  formatting issues
    Or it's something else
    Let me know
    DJ

    Post Author: DJ Gaba
    CA Forum: General
    Well I will definately try that. Currenlty I am in process of downloading licensed version to observe the behaviour
    But just looking at font sizes in both pdf's (version 8 and 11), it seems that font sizes are same in both pdfs. But I will confirm that once I open the crystal report 11 designer
    Probably you can send me your e-mail ID so that I can send you both pdf's
    I am also planning to compare property/obect values in crystal report 11 designer to see if anything else got changed that needs to be reverted as it was in crystal report 8.
    Thanks
    DJ

  • Physically moving CW2000 Server to a new Network

    Recently I've installed a CW2000 LMS Server in my Test environment. After successful operation I moved this Box to a new Network and changed the SNMP Communities on the Server. After that ANI Server gives me an error.
    I can't syncronize RME with the ANI Server, because the ANI Server is not running.
    When I have a look at the Service the following appeares:
    "ANIServer is running - but busy flag is set"
    I din't found usefull Informations on the Web.
    Does anybody have an idea?
    Thanks for a Hint

    CW2000 requires a static ip address. Since you moved the box to a new network, the ip address is chnaged now (so could be the hostname). In this case, you can either:
    1) Re-install CW2K on the new network server or
    2) Update the necessary files with the new info as in the tech tips:
    http://www.cisco.com/warp/public/477/RME/sol_hostname.html
    http://www.cisco.com/warp/public/477/RME/winnt_hostname.html

  • Move Exchange 2010 Server from AD Server to a new Member Server

     
    Hi All,
    I would like to get some suggestion on a particular task which i have presently , In my organisation i have a Exchange Server 2010 installed on Win2008 R2 DC (FSMO role Holder), also i got a ADC on Win2003 R2 Server for the same Domain , My
     task is to move Exchange 2010 from DC to a new Member server without loosing mail boxes and present configuration  ,Kindly guide me with the steps to achieve this task easly
    Thanks & Regards
    Sameer

    Hi Sameer and thanks for posting. Its good that you are moving exchange server from DC, because installing exchange server on DC its not recommended. To get the job done: 1.Install exchange server on the new Member server. (You can spread the roles on
    the different servers if you are in the enterprise level organization.) 2.Create MailBox Databases according to your management style. 3.Move the mailboxes from DC server to the new Exchange server. 4.Move System Mailboxes to New server. 5.I would move FSMOs
    to the ADC and shut down the old exchange for a week. 6.If everything was alright uninstall old exchange and move FSMOs back. I hope this helps. Farhad

  • Migrate from Crystal Report Server XI R2 to new Eclipse RAS SDK Question

    Hi,
    I am migrating Crystal Report Server XI R2 RAS SDK to Eclipse RAS SDK which seems to be quite easy.
    I have the following old code which basicly programmaticly creates a Report from scratch adds a Table and then
    populates the Report with a Pojo Collection.
    <br> <br>
    Now before I would have : <br>
    <br>
    Table oTable = new Table(); <br>
    oTable.setName("reportTable"); <br>
    pbConnAttributes.putStringValue("QE_DatabaseType", "Java Beans Connectivity"); <br>
    pbConnAttributes.putStringValue(PropertyBagHelper.CONNINFO_DATABASE_DLL, "crdb_javabeans.dll"); <br>
    PropertyBag pbLogonProperties = new PropertyBag(); <br>
    pbLogonProperties.putStringValue("Java Bean Classes", className); <br>
    pbLogonProperties.putStringValue("SSOKEY", ""); <br>
    pbConnAttributes.put("QE_LogonProperties", pbLogonProperties); <br>
      pbConnAttributes.putBooleanValue(PropertyBagHelper.CONNINFO_SSO_ENABLED, false); <br>
    oTable.getConnectionInfo().setKind(ConnectionInfoKind.CRQE); <br>
    oTable.getConnectionInfo().setUserName(""); <br>
      oTable.getConnectionInfo().setPassword(null); <br>
      oTable.getConnectionInfo().setAttributes(pbConnAttributes); <br>
    //following statement throws Exception <br>
    doc.getDatabaseController().addTable(oTable, null); <br>
    <br>
    getDatabaseController().setDataSource(pojoCollection, pojoClass.class,"reportTable", "reportTable");
    <br>
    <br>
    Now wenn using the c <br>lient eclipse RAS SDK which pbConnAttributes should I use? <br>
    No matter which ones I choose I get a Bad Driver Exception or Named Exception. <br>
    Can anybody help?
    Edited by: snake-john99 on Aug 11, 2010 10:35 AM
    Edited by: snake-john99 on Aug 11, 2010 10:39 AM

    Hi Mikael,
    Since you're already on CR Server XI R2, you can use the Upgrade Management Tool to migrate all the content to CR Server 2013.
    Anwers to your questions:
    1) Yes, the Upgrade Management Tool does support this kind of migration
    2) It does seem that the UMT allows you to move all report instances as well as the scheduled jobs over to the new server
    3) I've always had issues with Business Views when using Import Wizard however I'm not sure whether they work well with the new UMT. In any case, I always prefer to export the LOVs and BVs from within the Business View Manager to a .xml file and then import them in the higher version of the Server, again, from within the Business View Manager.
    -Abhilash

  • JRC bug: apostrophe in string parameter passed to Crystal Report with Command datasource to SQL Server

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

  • Cannot save Crystal report layout or view new layout of report

    I am trying to make a change to a system crystal report (cust. recievables detailed aging). I had to make the date feild a little wider, so I edited the "system layout" that came with SAP (in my test DB of course), and I go to add-ins>sap business one>save. I get the following error "current user has no permissions for this operation". I am logged in as a superuser and full perm.
    If I "save-as" and save it to a layout in sap....when I go to open the aging with my newly created layout it freezes and asks for DB logon info to connect to my server from crystal. I do not normally have to do this when I preview my reports in the out of the box layouts. WHat am I doing wrong? I am new to crystal.

    The system will not allow me to export the system crystal report....it is grayed out, and it IS a crystal report. HOwever I can open it in crystal, then save it to my desktop, then from INSIDE of SAP in the report and layout manager I import the crystal report I made the changes to from my desktop into SAP and it saves and imports no problems. However when I go to view the report (and this is only the ones I import), it prompts me with the db login for our server to connect, and it is only with that report, once I enter sa credentials it is fine and shows up from there on in, but not if I log out of SAP and back in...then I have to put in my credentials again. Is this something having to do with the report when I make changes to it? I cant have users entering login info each time they run the new aging details report. Please advise what I may be doing wrong when I make changes to a crystal report. It was a very minor change....just moved a feild width.

Maybe you are looking for