Setting Crystal report description.

When adding a Crystal report to CMC, there is an check box "Use description from report " to display the report description. Once I select this and add a report to CMC, is there away to remove this and add my own description?

Change it in the Report Designer and republish

Similar Messages

  • Setting Crystal Report data source at runtime

    In advance, I've read all of the posts on here about dynamically changing the data source for your report at runtime and none of it seems to work.
    I developed a report against my development database using an MySQL ODBC connection. At runtime I want to pull the data from the production database. I've tried clearing the DataSourceConnections. I've tried the SetDatabaseLogon as well as Table.LogOnInfo, Table.ApplyLogOnInfo, SetConnection, everything.
    I am using the pull method for getting the data, so CR has entire control over the mechanism used to fetch the data.
    But when I am setting some other data source I am greeted with a logon screen for the database, I i check use itegrated security then it says logon failed and if I uncheck use integrated security checkbox then it shows unable to load report and an exception is thrown
    Anyone have any ideas? I'm using Visual Studio 2010 and Crystal Reports 2011 developer edition.Apart from this my Database is in mysql and I am binding report with the MySQL Procedure.
    Note: Both these database just differ in name, Infact they are same database just I have changed the name, so the procedure and the fields are same.
    Thanks in advance.

    So if ODBC doesn't allow me to change the data source, can't it be done in some other way without mingling with each and every report.
    BDW I am able to change the data-source at designer mode,
    Currently the connection string being used is
    private readonly ConnectionInfo crConnectionInfo = new ConnectionInfo
                DatabaseName = "DB NAME",
                IntegratedSecurity = true,
                Password = "admin",
                ServerName = "localhost",
                UserID = "root"
    I just want it to read from same copy of database place at some other location so the connection string will be modified as
    private readonly ConnectionInfo crConnectionInfo = new ConnectionInfo
                DatabaseName = "Same copy of database record may change but structure will be same",
                IntegratedSecurity = true,
                Password = "admin",
                ServerName = "IP address of the machine",
                UserID = "root"

  • How to set Crystal Report  command timeout in runtime ?

    Hi, All !
    I have a report that is generating timeout error during execution command (Crystal Report command with SQL query). How can I set timeout  for the  command from application code ? I am using CR 12 and C#  (.NET framework 2.0)
    I have investigated CommandTableClass (CrystalDecisions.ReportAppServer.DataDefModel.CommandTableClass) but I didn't find timeout property or simething like that.
    Please help.
    Thank you in advance.
    Edited by: Bonowow on Feb 24, 2010 11:38 AM
    Edited by: Bonowow on Feb 24, 2010 11:42 AM

    I do not believe there is such an API. How long does it take before you get the timeout?
    Ludek

  • How to set crystal report image object's file path dynamically from file system in vb 2010

    I using visual studio 2010 and sap crystal report is installed on it.
    I have a report with picture box on it and i need to load image to this picture box from vb e.i.
    Dim imgPhoto As CrystalDecisions.CrystalReports.Engine.PictureObject = crShortReport.ReportDefinition.Sections(3).ReportObjects("imgPhoto")
    imgphoto.image= loadpicture("c:\abc.jpg")
    So, please help...
    Thanks

    Crystal reports is a thrid party program
    and is
    not supported by
    Microsoft, you will have a beter chance getting help here
    http://scn.sap.com/community/crystal-reports.

  • Set crystal report .rtp file with SAPbobsCOM.Recordset type object

    Hi Experts,
    I need to pass the resultset of my SAPbobsCOM.Recordset type query to the rpt file. what report object should i use. at the moment i am using reportdocument but at the point of calling .SetDataSource(rs) it says the datasource is not valid.
    Please help.
    Is there any addon sample regarding setting the recordsouce of a report by setting it with SAPbobsCOM.Recordset type object is availabel.
    Regards.

    Hi Maryam,
    In my sample I'm getting the values from a DataTable. But the procedure is the same for a RecordSet.
        Private Sub PrintDM(ByRef oCompany As SAPbobsCOM.Company, ByRef oApplication As SAPbouiCOM.Application, ByRef oForm As SAPbouiCOM.Form)
            Dim dt_h As Data.DataTable = Nothing
            Dim drh As Data.DataRow = Nothing
            Dim dt_r As Data.DataTable = Nothing
            Dim drr As Data.DataRow = Nothing
            Dim ds As Data.DataSet = Nothing
            Dim rsNotaRecepcao As SAPbobsCOM.Recordset = Nothing
            Dim rsMorada As SAPbobsCOM.Recordset = Nothing
            Dim rptConnectionInfo As ConnectionInfo = Nothing
            Dim rptPath As String = Nothing
            Dim myTables As Tables = Nothing
            Dim myTableLogonInfo As TableLogOnInfo = Nothing
            Dim rptDocument As ReportDocument = Nothing
            Dim FileName As String = "DiarioDeMovimentos"
            Try
                dt_h = New Data.DataTable("HEADER")
                dt_h.Columns.Add("Key")
                dt_h.Columns.Add("Empresa")
                dt_h.Columns.Add("DiaryCod")
                dt_h.Columns.Add("DiaryNam")
                dt_h.Columns.Add("FromNum")
                dt_h.Columns.Add("ToNum")
                dt_h.Columns.Add("FromDate")
                dt_h.Columns.Add("ToDate")
                dt_h.Columns.Add("G")
                dt_h.Columns.Add("A")
                dt_h.Columns.Add("F")
                dt_r = New Data.DataTable("ROWS")
                dt_r.Columns.Add("Key")
                dt_r.Columns.Add("Arquivo")
                dt_r.Columns.Add("DataLancamento")
                dt_r.Columns.Add("TipoDocumento")
                dt_r.Columns.Add("Conta")
                dt_r.Columns.Add("Debito")
                dt_r.Columns.Add("Credito")
                dt_r.Columns.Add("NumExterno")
                dt_r.Columns.Add("DataDocumento")
                dt_r.Columns.Add("DataVencimento")
                dt_r.Columns.Add("Detalhes")
                '#### Fill HEADER fields
                With oForm.DataSources.UserDataSources
                    drh = dt_h.NewRow()
                    drh("Key") = "1"
                    drh("Empresa") = oCompany.CompanyName
                    drh("DiaryCod") = .Item("DSDiaryCod").ValueEx
                    drh("DiaryNam") = .Item("DSDiaryNam").ValueEx
                    If .Item("DSFromNum").ValueEx = "" Then
                        drh("FromNum") = "0"
                    Else
                        drh("FromNum") = DateFromDS(oApplication, .Item("DSFromNum").ValueEx)
                    End If
                    If .Item("DSToNum").ValueEx = "" Then
                        drh("ToNum") = "0"
                    Else
                        drh("ToNum") = DateFromDS(oApplication, .Item("DSToNum").ValueEx)
                    End If
                    If .Item("DSFromDate").ValueEx = "" Then
                        drh("FromDate") = "0"
                    Else
                        drh("FromDate") = DateFromDS(oApplication, .Item("DSFromDate").ValueEx)
                    End If
                    If .Item("DSToDate").ValueEx = "" Then
                        drh("ToDate") = "0"
                    Else
                        drh("ToDate") = DateFromDS(oApplication, .Item("DSToDate").ValueEx)
                    End If
                    drh("G") = .Item("DSGeneral").ValueEx
                    drh("A") = .Item("DSAnalitic").ValueEx
                    drh("F") = .Item("DSCashFlow").ValueEx
                End With
                dt_h.Rows.Add(drh)
                Dim creditString As String = ""
                Dim oBP As SAPbobsCOM.BusinessPartners
                oBP.CreditLimit = IIf(creditString = "", 0.0, Convert.ToDouble(creditString))
                (continues)
    Hope it helps,
    Regards,
    Vítor Vieira

  • Crystal Reports 2008 Repository Explorer

    Hi,
    I am new to Crystal Reports 2008. I want to use Crystal Reports 2008 Repository.  My question is as it was done in Crystal Report 9 Professional edition that a crystal report developer can create a Repository while using Crystal Report 9 Professional edition without Crystal report Server, Is this also possible with Crystal Report 2008. If we only have Crystal Report 2008 designer or developer edition, can we create Repository's i.e.  Text Objects,  Images,  Custom Functions,  SQL  Commands etc without having Crystal Report 2008 Server, if yes please let me know the method.
    Thanks in advance
    Thanks
    Vipin

    Hi,
    I was on web found this link
    http://www.crystalkeen.com/articles/crystalreports/repository.htm
    which says that:
    Crystal Reports: Repository
    A solid understanding of the repository can really improve the the efficiency, accuracy, and cost-effectiveness of your reports. Hammerman and Associates offers classes on this very subject. We aren't going to cover all of it here, but will provide some highlights.
    Use the CR9 Repository for those commonly used objects
    The Crystal Reports 9.0 repository is a great place to store some commonly used items in your report. This includes text strings, images, SQL Commands (see next item) and Custom Formulas.
    The Repository is initially stored in an Access database and has an ODBC connection with the System DSN of u201CCrystal Repository.u201D But you can use any ODBC data source including a database in your network so you can all share the same common objects.
    Create a new database for the repository. We recommend you copy the existing MS-Access database, but you can start with an empty database. (The initial repository is Repository_en.mdb, stored in C:\Program Files\Common Files\Crystal Decisions\2.0\bin).
    Create an ODBC connection to the new database. The new database does not have to be an Access database. If you use your SQL Server or Oracle server then, by using server security you can control who can view and who can edit items in the repository.
    You next need to set Crystal Reports 9.0 to use this new Database connection. This control information is stored in an INI file and can be edited with any text editor such as NotePad. The INI file is at C:\Program Files\Common Files\Crystal Decisions\2.0\bin\orMap.ini .
    There is a line in this file that saysu2026 Crystal Repository=Crystal Repository .
    Edit this to say Crystal Repository=New ODBC DSN.
    Is this also possible with Crystal Report 2008 designer/developer edition.
    Thanks
    Vipin

  • Crystal report 2008 SP3 Ver 12.3.1.684  application crash on runtime

    hi all ...
    i have problem running my report using crystal crystal report 2008 SP3 Ver 12.3.1.684 .. it stop responding while i click preview the report ... and my report is connect to ODBC database source provider..  the crystal report will crash while connect using ODBC(RDO) but other than that all work fine ...
    here is the error log while try run the report ..thx and pls help as i am no idea for this .. and this report is come one of my SOLOMON SL 2011 while i want to edit my existing crystal report
    Description:
      Stopped working
    Problem signature:
      Problem Event Name:     APPCRASH
      Application Name:     crw32.exe
      Application Version:     12.3.1.684
      Application Timestamp:     4c3ddcf1
      Fault Module Name:     ntdll.dll
      Fault Module Version:     6.1.7601.17514
      Fault Module Timestamp:     4ce7ba58
      Exception Code:     c0000005
      Exception Offset:     0002e3fb
      OS Version:     6.1.7601.2.1.0.16.7
      Locale ID:     1033

    I have about the exact same error and it happens when I hit refresh to update the records.  When I go into the Formula Workshop, there is nothing in Report Custom Function.  Can you give me a little more detail on how you fixed the problem.
    Thanks.

  • Cannot Open Crystal Report

    Dear All,
    We set crystal report group and assign all crystal report for each group.  When they try to run the report, there's an error message: "you're not authorize to view or print this report".
    How do we solve this problem?
    Thanks and Regards,
    Lailus

    Dear Gordon,
    I've been through those process, create user group, assign users to the group and assign CR report to the group.
    Btw, user type is normal user not super user.
    Regards,
    Lailus

  • Why Would Crystal Reports read more than it prints

    Hi everyone,
    In my case My record selection is based on the following:
    {FACILITY}=1
    And {payment_code} In ["110","111","112","115","116","117"]
    And {service_code} = "COPAY"
    And {date_of_receipt} in [{?From Date} to {?To Date}]
    And yet for any parameter selection set crystal reports would read - say - 1000 records but prints only 25 records, the question is if the records found according to the selected values from parameter and the record selection formula, is only 25 records, then why would it read 1000 records? what is the reason? and how to avoid it?
    Thanks in advance!

    It may also be what the numbers are telling you is the filter (WHERE) cannot be pushed down to the Server so CR has to filter it client side on the second pass.
    Likely due to the data range, quite often the date format is not compliant to the Server so CR has to "interpret" the date format so it ends up filtering client side.
    Try commenting out that part of the selection formula and see if you get the same number of records read. If you do then you could try using a SQL Express to convert the date fields or possibly using a Command and Command Parameter to set the date range may work for you. This way the DB is definitely getting the date formatted for it's server side use.
    Don

  • How to set a new value for formula field in crystal reports xi?

    <p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text =  "&#39;Subreport Formula&#39;"  or</p><p>crxSubreport.FormulaFields.Item("description").Text =  "&#39;Subreport Formula&#39;"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • How to get Description of parameter filed in Crystal report 2008

    Hi expert,
    I am creating a crystal report from Query ,which is created in BEX    Query designer 7.
    In query designer i have some selection variable.
    The requirement from clint is that they want to see what value is selected for all  variable.
    when i tried to put all parameter field in crystal report it is showing only Technical name of value selected not  description and also it show only for variable which is single value variable  not for the range value variable and multiple selection variable.
    can any one help me How to get description of value in report and can it is possible to show Range value and multiple value for a particular variable .
    i am using Crystal report 2008 SP3 version.
    Thanks and regards
    devendra

    Moved to BEx forum

  • How to set printersettings for the crystal report viewer in SAP BI dynamically

    Hello
    I have set the URL method for my crystal report and with parameter passing as shown below, it was displaying the crystal report viewer by connecting to the SAP BI 4.0 server with this method.
    http://cr:port/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sDocName=CRLabelParam&sType=rpt&lsSnPrinted=0&lsSsTestProjectNr=1
    This URL will be called from Web application by different users, i would like to set the printer settings differently for different users for this crystal report viewer how shall i need to set the printer options?
    shall i need to set the printer settings programatically for each user. Please advise me how do i need to proceed.
    Thanks & Regards,
    Rajeswari.

    There are no BI / CR APIs that would do this for you. The way I see it, you'll have to have your own print button and populate it with the correct printer information for each user as they request the report. Of course, alternatively, use the viewer printer button and get the users to choose the correct printer.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Set As Default Crystal Report Layout in SAP B1 8.8 PL13

    Hi,
    I want to Set As Default a Crystal Report Layout. I know you can do that in Layout Desginer - Selection Criteria, but SAP B1 8.8 PL 13 has only a Manage Layout button in the Layout Desginer window which links to the Report and Layout Manager. There is no Set As Default button.
    Where can you select which layout to be default in PL13?
    Thanks!
    Cristina

    Hi
    If you want to Set as Default particular PLD then Open that Form
    For. Example
    Sales Ar > A/R Invocies (Item) document
    Then Click on PLD icon ans select your crystal report as Default by Set as Defaul button.
    Thanks
    King Kevin

  • Crystal Report - Set Parameter Value - Case sensitive

    Hi,<br><br>
    We are using Crystal report 2008 CR4E API to implement the crystal report in our application. When we use parameter report with different cases, the code is not setting values for all the parameter fields in the report. Kindly help us in achieving the solution.
    <br><br>
    In Report, SQL Command is used and a parameter is passed to the SQL. The name of the parameter is given uppercase but in the SQL Command it is given in lowercase. The report still pass the parameter to the query and it is running fine in designer.
    But in our application it throws the below exception. If the parameters are defined in same case then it works fine.
    <br><br>
    Code:<br><br>
    reportClientDocument = new ReportClientDocument();<br>
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);<br>
    reportClientDocument.open(reportName, OpenReportOptions._openAsReadOnly);<br>
    DatabaseController dbController = reportClientDocument.getDatabaseController();<br>
    Tables tables = dbController.getDatabase().getTables();<br>
    ITable table = tables.getTable(0);<br>
    IProcedure command = (IProcedure)table;<br>
    ParameterFieldController paramController = reportClientDocument.getDataDefController().getParameterFieldController();<br>
    for (int i=0; i< command.getParameters().size(); i++) {<br>
            ParameterField commandParam = (ParameterField) command.getParameters().get(i);     <br>                         
         String paramName = commandParam.getName();<br>
            String paramValue = getParmeterValues(paramName);<br>
            paramController.setCurrentValue("", paramName, Integer.valueOf(paramValue)); <br>
    }<br>
    <br><br>
    Exception:<br>
    <br>Assertion Failed:
    <br>java.lang.Throwable
    <br>     at com.crystaldecisions.reports.common.asserts.CrystalAssert.ASSERT(Unknown Source)
    <br>     at com.crystaldecisions.reports.common.asserts.CrystalAssert.ASSERT(Unknown Source)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:2558)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:645)
    <br>     at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)
    <br>     at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)
    <br>     at com.crystaldecisions.reports.queryengine.Table.for(SourceFile:709)
    <br>     at com.crystaldecisions.reports.queryengine.b.yk(SourceFile:512)
    <br>     at com.crystaldecisions.reports.queryengine.b.yl(SourceFile:878)
    <br>     at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:241)
    <br>     at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:628)
    <br>     at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
    <br>     at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
    <br>     at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
    <br>     at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
    <br>     at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
    <br>     at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
    <br>     at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
    <br>     at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
    <br>     at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
    <br>     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fo(SourceFile:526)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(SourceFile:613)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:578)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(SourceFile:387)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:78)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
    <br>     at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
    <br>     at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
    <br>     at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
    <br>     at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
    <br>     at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
    <br>     at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)
    <br>     at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)
    <br>     at com.mysystems.myapp.common.CrystelReport.print(CrystelReport.java:387)
    <br>     at com.ibm._jsp._ShowReport._jspService(_ShowReport.java:316)
    <br>     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
    <br>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    <br>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
    <br>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    <br>     at com.mysystems.myapp.common.MyServletFilter.doFilter(MyServletFilter.java:107)
    <br>     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
    <br>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
    <br>     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
    <br>     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
    <br>     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
    <br>     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
    <br>     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
    <br>     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
    <br>     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
    <br>     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
    <br>     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
    <br>     at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    <br>     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    <br>     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    <br>     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    <br>     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    <br>     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
    <br>     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
    <br>     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
    <br>     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
    <br>Rowset restart: moveToStart true
    <br>Rowset execute
    <br>Executing query using command text:
    <br>Select DeptName from Dept where DeptNo = {?deptno}
    <br>
    <br>detected an exception: Unexpected database connector error
    <br>...
    <br>Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
    <br>     at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2958)
    <br>     at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944)
    <br>     at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)
    <br>     at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776)
    <br>     at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)
    <br>     at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)
    <br>     at com.crystaldecisions.reports.queryengine.Table.for(SourceFile:709)
    <br>     at com.crystaldecisions.reports.queryengine.b.yk(SourceFile:512)
    <br>     at com.crystaldecisions.reports.queryengine.b.yl(SourceFile:878)
    <br>     at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:241)
    <br>     at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:628)
    <br>     at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
    <br>     at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
    <br>     at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
    <br>     at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
    <br>     at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
    <br>     at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
    <br>     at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
    <br>     at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
    <br>     at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
    <br>     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fo(SourceFile:526)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(SourceFile:613)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:578)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(SourceFile:387)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:78)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    <br>     ... 49 more
    <br>Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
    <br>     at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
    <br>     at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2953)
    <br>     ... 91 more
    <br>Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '?'.
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    <br>     at com.mysystems.myapp.connection.StatementImplementaion.execute(StatementImplementaion.java:269)
    <br>     ... 94 more

    Hi,
    Can some one please help with the solution

  • Trying to programmatically set the data-source for a Crystal reports report.

    I've got the following existing procedure that I need to add to in order to programmatically set the data-source (server, database, username, and password) for a Crystal reports report.
     I added the connectionInfo parts, but can’t figure out how to attach this to the existing
    this._report object.
    This is currently getting the connection data from the report file, but I now need to populate this connection data from a 'config.xml' text file.
    Am I trying to do this all wrong?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using CrystalDecisions.CrystalReports.Engine;
    using WGS.Reports.Reports;
    using CrystalDecisions.Shared;
    using WGS.Reports.Forms;
    namespace WGS.Reports
    public class ReportService
    ReportClass _report;
    ParameterFields paramFields;
    ConnectionInfo connectionInfo; // <- I added this
    public ReportService()
    public void DisplayReport(string reportName, int allocationNo)
    if (reportName.ToLower() == "allocationexceptions")
    this._report = new AllocationExceptions();
    PrepareConnection(); // <- I added this
    PrepareAllocationExceptionReport(allocationNo);
    this.DisplayReport();
    private void PrepareConnection() // <- I added this
    //test - these will come from the config.xml file
    this.connectionInfo = new ConnectionInfo();
    this.connectionInfo.ServerName = "testserv\\test";
    this.connectionInfo.DatabaseName = "testdb";
    this.connectionInfo.UserID = "testuser";
    this.connectionInfo.Password = "test";
    this.connectionInfo.Type = ConnectionInfoType.SQL;
    private void PrepareAllocationExceptionReport(int allocationNo)
    this.paramFields = new ParameterFields();
    this.paramFields.Clear();
    ParameterField paramField = new ParameterField { ParameterFieldName = "@AllocationNo" };
    ParameterDiscreteValue discreteVal = new ParameterDiscreteValue { Value = allocationNo };
    paramField.CurrentValues.Add(discreteVal);
    paramFields.Add(paramField);
    private void DisplayReport()
    frmReportViewer showReport = new frmReportViewer();
    showReport.ReportViewer.ReportSource = this._report;
    showReport.ReportViewer.ParameterFieldInfo = paramFields;
    showReport.ShowDialog();
    showReport.Dispose();
    Any help would be much appreciated.

    Hi Garry,
    Please post SAP Crystal Reports questions in their own forums here:
    SAP Crystal Reports, version for Visual Studio
    We don't provide support for this control now. Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Reg: Top_Of_List Events in ALV GRID Display

    Hi , How can i use the the the Top_of_list Event Alv grid Disply. I have passed Events table with event name and form name to GRID FM it_events. Form details:- T_LISTHEADER header deatils table with data. .  FORM TOP_OF_LIST. CALL FUNCTION 'REUSE_ALV

  • Security deposit deduction in the invoice

    Dear All, My client want to deduct the security deposit in the invoice and the deducted amount has to be shown as open iitem in the vendor open items with special G/L indicator. please guide me on this issue. Thanks & Regards KANNI CHOWDARY

  • How do you get a new domain name?

    I know it must be very simple to do but I just can't understand this process. Do you have to buy a domain name from places like godaddy.com first? Or can you created it on MobileMe for free? Does it take 48hours to take effect? Thanks

  • Novell client on Vista log-in problem.

    (Netware 6.5) Installing a Vista pro with the latest Novell VISTA client ( 1.0), I ran into problems. It's like the client won't browse the tree and therefore can't log in. If I enter the server's IP address in the tree field, it finds both the conte

  • Dual network switching

    I have a multi-network adapter workstation. Lets say its a ethernet and a wifi. The ethernet is somewhat restrictive, blocking alot of blogs and other resources, and is behind a proxy server that f*** things up for some indie-apps that i use (such as