Parenthesis in a parameter throws error in Crystal Reports Web Viewer.

The application that I am working on is passing a parameter which contains user data like section numbers....
So when we pass the value 123.1(a) , here what is happening behind the scene of CR viewer
webSource0.AddParameter "promptex-NAMEOFPARAMETER", "123.1%28a%29"
and it throws up the following error
"The syntax of the value for prompt 'NAMEOFPARAMETER' is incorrect. Please correct the syntax and try again"
I have no idea why it is throwing up this errror.... and we cannot avoid parenthesis.
It works without any error in the actual crystal report developer.
Is this some kind of bug or is there any workaround for this.
Version that I have:
Crystal Report web Viewer Control 11.5
Crystal Developer 11.0.0.1282
Thank you,
Xavier

I figured out the answer. It was the ASCII notation for double qoutes which was confusing crystal.
%22 is the ASCII for ", but it is then converted to %2522 which confuses crystal
so I used HTML notation for  double quote instead of %22 and is converted to %22 , and it works fine.
Thanks for the help anyways
Edited by: xavier on Dec 18, 2008 4:03 PM

Similar Messages

  • Crystal Reports Web Viewer Control Error

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

    Hello Jon
    Some thoughts on the issue:
    The error is thrown with a 64 bit runtime, but not 32bit.  Iu2019m guessing that on your development computer, you may be testing \ running from the .NET IDE. E.g.; Cassini, which runs in 32bit process. On the server we're running in a 64bit process.
    Since it is a formula throwing the error, I wonder if you are using any Crystal Reports User Function Libraries (UFL)? If these are compiled as 32 bit, they will fail when run in a 64 bit process. Or, these libraries must be deployed in addition to the normal CR runtime. Failing that will also cause formula errors.
    Are you able to run this app from IIS on your development computer as a 64 bit process (e.g.; HTTP, not Cassini or file system)?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Parameters Panel empty in Crystal Reports web viewer (infoView)

    Hello experts,
    here is my situation:
    While viewing my reports, any of them, even the examples that come with installation, and I click on the button to show the Parameters Panel it just shows a blank (gray) panel....
    so then I'm unable to change any parameter like a range of dates for example, and my report shows only the information related to the parameters I choose when I was in Crystal Reports 2008 and published it.
    How could I solve this issue enabling again that panel?
    Thanks in advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil.

    Hello Tracy,
    thanks for the reply.
    yes, I already have some parameters set up there as you said and I can view them while developing in Crystal Reports 2008 and I can change whenever I want......
    the issue is just when viewing in infoView, or also in the HTML preview in CR2008. In this case it shows me a panel without anything in it (gray), it's like something is missing to load it properly.
    Please advise.
    Thanks in Advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil.

  • Crystal Reports (Web Viewer) Configuration Problem

    Hi,
    I am trying to show a simple report via JSP. But it gives an error that I could not understand. I think it is related with configuration files. Any recommendations would be helpful!
    The error's print stack trace and my configuration file's contents are below.
    Thanks in advance.
    [15.04.2005 11:11:09:570 EEST] 200a3132 WebGroup E SRVE0026E: [Servlet Error]-[Failed to setup the formula service!]: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Failed to setup the formula service!---- Error code:-2147467259 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
         at org.apache.jsp._deneme._jspService(deneme.jsp :4)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:669)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    Crystal-config.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <crystal-configuration>
         <shared-location>
              <crystal-jar-location>C:\Program Files\Common Files\Crystal Decisions\2.5</crystal-jar-location>
         </shared-location>
         <build-language>
              en
         </build-language>
         <build-number>
              10
         </build-number>
    </crystal-configuration>
    CrystalReportEngine-config.xml
    <?xml version="1.0" encoding="utf-8"?><CrystalReportEngine-configuration>
    <reportlocation>../..</reportlocation>
    <timeout>10</timeout>
    <keycode>A2960-01C00EA-00000YK</keycode></CrystalReportEngine-configuration>
    helloworld.jsp (code part)
        String report = "helloWorld.rpt";
        IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
        IReportSource reportSource = (IReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
        CrystalReportViewer viewer = new CrystalReportViewer();
        viewer.setReportSource(reportSource);
        viewer.refresh();
        viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
        viewer.dispose();//-----------------------------------------------------------
    I use WepSphere, Crystal Reports 10.
    My web project folder hierarchy:
    /WebContent/WEB-INF/classes/Crystal-config.xml
    /WebContent/WEB-INF/classes/CrystalReportEngine-config.xml
    /WebContent/crystalreportviewers10/
    /WebContent/helloworld.jsp
    /WebContent/helloworld.rpt
    Any information would be greately appreciated!!
    Thanks,
    Ismail.

    Hi,
    Yes I have copied all the far files into web-inf/lib directory. I think .jar files are not the problem. But I can try any proposal about this. Because I have to solve this problem.
    If you have any idea please tell me.
    isturk.

  • Getting syntax error in Crystal Report Viewer

    The web application that I am supporting has reports that are presented through CR Viewer. The problem that I am facing is that if I pass a value to get the report, its giving the following error.
    The syntax of the value of prompt 'name_of_paramente_passing' is incorrect. Please check the syntax and try again.
    I am not getting this error if I run the same report through the actual Crystal report program.
    So when I pass 123.1 to the crystal web viewer it wont give me any trouble. But If I pass 123.1(a) , it throws that error.
    somehow the combination of pareanthesis and the alphabet is causing some trouble....
    Is this a bug or some other problem.?
    Version that I have:
    Crystal Report web Viewer Control 11.5
    Crystal Developer 11.0.0.1282
    Please reply if you have any work around for this.
    Thank you,
    Santhosh

    Thanks Mohammed. But our application is trying to pass a parameter which contains user data like section numbers....
    So when we pass the value 123.1(a) , here what is happening behind the scene of CR viewer
    webSource0.AddParameter "promptex-NAMEOFPARAMETER", "123.1%28a%29"
    and it throws up the error
    "The syntax of the value for prompt 'NAMEOFPARAMETER' is incorrect. Please correct the syntax and try again"
    I have no idea why it is throwing up this errror....

  • Multi Value Parameter in SP  error in Crystal Report SAP B1 ?

    Hi Experts ,
    i am Getting an error in Crystal Report
    "Failed to retrieve data from the database.  Details:  42000:[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '('. [Database vendor code: 120]" 
    I an executing the SP In Command  , I want to pass multi value parameter in SP
    When Pressing  ok
    than  On Ok Button  Error come
    So I have Some Question
    1> Why All parameter in Commend Are  Automatic getting  Compulsory  and How to Avoid It?
    2> How to Solve  this error ? this error is only coming with multivalued parameter ?
    i have many report in which i have to send the multi value parameter into query it self  so , Plz Help Me
    I am New to Crystal Report so it will be Kind Of you  if explain  with example .
    Thankks in Advance !!!
    Regards,
    Mayank Shah

    Hi Shachar,
    i will explain one because i think some thing is misunderstood
    please the images
    when all parameter record selected and no parameter record selected ... i want all record should display
    this blank report is problem
    Regards,
    Mayank Shah

  • Error deploying Crystal Report XI R2 to Enterprise - Failed to read paramet

    Error deploying Crystal Report XI R2 to Enterprise - Failed to read parameter object.
    I know this issue has been addressed several times and the solution recommended was to install Service Pack 2. I have done that. It started working for me too; however recently I got some error saying some UDF***.DLL is missing. I re-installed Crystal Reports XI R2 and Service Pack 2. Unfortunately though, this error is back. I have restarted the machine n number of times but keep on getting this error.
    My report file has dynamic parameters defined through command object (SQL Query). My understanding is that once I publish the report to BoE Enterprise, BO will create LOVs and BV's in the repository. Now that is not happening.
    has any one else had this issue before and resolved it?
    Thanks

    Hi,
    do you export your CR report in your BOBJ repository using an account with administrator rights?
    Regards,
    Stratos

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • How to transport Parameter changes in a crystal report

    Hi All,
    Very Good morning!!!
    I have designed a crystal report with static parameters. Earlier i used to have a dropdown kind of input selection for my parameters.
    Now i got a new requirement for a direct input in the field....tht means no dropdown ...single date field is to be entered directly.
    Accordingly i have removed the dropdown and changed to a single direct date field. I saved these changes to a request and transported to quality. Not sure whether the parameter changes are collected into a request.
    Whereas i couldn't found any changes of my parameters in quality. They are as same dropdown manner in the quality whereas i need them to be a direct field date entry which did not affected the quality server after transporting the changes.
    Could some one please let me know how to reflect these changes in quality server regarding parameter changes in a crystal report for BW.
    Thanks in Advance.
    Jitendra

    Please re-post if this is still an issue or purchase a case and have a dedicated support
    engineer work with your directly

  • How to get actual error from Crystal Report

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
    Xception E NSF NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
    Xception E NSF NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
    at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
    at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
    at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
    at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
    at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    Same as
    crystal report unexpected error in Web service (IIS)
    Closing this thread.
    Ludek

  • Error Crystal report When viewed through SAP B1

    Dear Experts
    SAP B1 8.8 PL 16,SQL 2008
    I am facing error (Unable to retrive data from database)(Vendor code-156) while accessing Crystal report from client machine throgh SAP B1.I have imported Crystal report through manage layout.The crystal reported is in shared in SAP server B1 SHR folder.I am able to access data from crystal report when viewed otherwise.When accessed crsytal report through SAP b1 on SAP Server crystal report is working fine.
    Thanks & Regrds
    Saurabh Lamba

    Hi Saurabh Lamba,
    Go To Administration / System Initialisation / Authorisation / General Authorisation & Set Authorisation for user.
    If you have to Set Authorisation for user allready then follow this steps.
    1.Restore Database as Test Company.
    2.Export Report From Live Company.
    3.Import this Report in Test Company as different name.
    4.Export Report from Test Company have you Imported as deifferent name.
    5.Again Import this Report in Live company as different name
    I don't know what's the logic behind it.
    Thanks,
    Srujal Patel

  • Error with crystal report using SAP GUI

    Hi,
    While using crystal report in sap gui i get the following error. I already googled and only found one thing on this forum that talks about this and it was never solve. Can you please help me? Thank you
    Errors in Crystal Reports Installation(SupportsSAPQuery)
    Message no.ALVHT218
    Diagnosis:
    This function requires that Seagate Crystal Reports and the Functional Area drivers(InfosetDrivers) from Seagate software are installed.
    This sotware is either not available on your frontend or has been installed with errors
    System Response:
    The action has been terminated
    Once again
    thank you

    Hi
    Please check if you have installed all the SAP transports which are required for Crystal Reports to run based off SAP.
    Regards
    Sourashree

  • Crystal Reports 2008 viewer, print function, Comunication error

    I installed cr2008 on a web server and isntalled sp0
    if I bring up a reprot in smartviewer from a client it works and I can print
    once I installed sp1, sp2 and or sp3 for crystal reports 2008 the print button in crystal reports viewer gives an error when I click the print button.
    If I remove and re-isntall cr2008 and just installed sp0 the print button works again
    Is there a fix to make the print button work in crystal reports smart viewer once sp1 or above have been installed
    thank you
    ted

    Translating the error message on bablefish I get:
    Mistake with the store of the data bank information. Mistake in the file Report {C6512421-348A-4621-B1ED-895D28646A0A} .rpt
    Which I'm sure is not 100% accurate, but it gives a good hint. As well, because of this:
    "Do I need to install an additional / diffrent runtime than 2008 Runtime"
    I wonder how you installed the CR 12 runtime on that computer? For more info on CR runtimes, see [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0] wiki.
    If my suggestion above does not help, make sure the Win\temp directory can be accessed buy the application. Crystal Reports runtime needs to write and read files from the temp directory.
    Ludek

  • How to Resolve Join Syntax Errors in Crystal Reports 11.5

    Weu2019re upgrading form Crystal Reports Runtime Client 10.0 to 11.5.  I have a registry fix that resolves the join syntax errors in Crystal Reports 10.0 by updating the registry key:
    [HKEY_LOCAL_MACHINE\Software\Crystal Decisions\10.0\Crystal Reports\Database\QueryBuilder\JoinBuilder]
    "SQLServerJoinBuilder"="adbc"
    What is the fix for Crystal Runtime 11.5?

    Create a new key under:
    HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\Database\QueryBuilder\JoinBuilder and add the values
    "SQLServerJoinBuilder"="adbc"

  • Getting "The product key is not valid. INS00140" error during Crystal Report 2013 installation

    We are getting “The product key is not valid. INS00140” error during Crystal Report 2013 installation. We are trying to install crystal report on Windows 7 64 bit OS.
    Can anyone help?

    What is CrystalReportsJava-2013? Where did this come from - download link? CD?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
      Follow us on Twitter

Maybe you are looking for

  • How do I create a new event from a section of a long video clip

    When I try to select a section of a long clip and drag it to a new event in the iMovie event library, the whole clip moves into the new event.  Isn't there a way to just select and move a section to the new event?

  • Re: Skype To Go no not working correctly

    I have same problem. I asigned special number for contact i often use. When i call it, it says the number you have dialed doesn't exist. If i call the normal way and add in number i want to call, it says they did not recognize the number. pls help Re

  • Form doesn't open

    we have a 3po solution, to get E-Mails from GroupWise to our DMS. The function is displayed in the menue an after a click an form opens. This is working fine on about 600 user-pcs. But we have now two pcs which worked well and overnight the function

  • Webdynpro Table

    Dear All I have a webdynpro application having  a Table Control in it. Table Controll has four columns and 10 rows filled with data. How can I passed this in SAP R/3 using BAPI.Source Code used for this purpose is also appreciated. Thanks

  • Tablet + PS CS5 = strange lines

    Hi all, First of all I would like to let you know I have already searched the forum and the internet, found lots of threads in different forums of people who have exactly the same issue as I have. But until now there is no fix for it yet (maybe there