Help: Crystal Report displays decimals on X-axis when published in Infoview

Hi everyone
I've been banging my head on my keyboard trying to get past the following issue:
We have a Crystal Report (XI R2 SP3) containing a bar chart that has numbers on both the X- and Y-axis.
On the Y-axis I can control the "Number" settings to remove decimals after the comma. So far so good.
On the X-axis on the other, the numbers are the result of an extensive formula trying to breakdown
numbers into ranges. Numbers are always whole (no decimals). The X-Axis is an Ordinal scale, which
does not allow to set any number formatting. Numeric scale does not work in this case because it
compresses the entire chart into a few bars. And this is where the problem is:
In Crystal Reports I have a global setting for "Numbers" not to show any decimals. This works, when
generated in Crystal, I have no decimals past the comma in the graphs on the X-axis.
when I publish this report to Business Objects Infoview portal and schedule and run it there, all of a
sudden the PDF displays an X-axis that has 2 decimals past the comma (1234.00). It's driving me nuts.
I suspect this is a bug, because I've not managed to get rid of these decimals without a text-conversion in
the formula (does not suit me, I need data ordered properly).
Can anyone help? Has anyone had this issue?
Much appreciated!
Thanks.
The latest of version of my formula truncates and converts ToNumber. Nothing helps:
Tonumber(
truncate(
IIF (InStr ({Command.SUB_SPECIFICATION},'XF') > 0
    IIF ({Command.X_TIME} <= 300,300,
         IIF ({Command.X_TIME} <= 5000,
         Ceiling ({Command.X_TIME}, 200),10000
,IIF(InStr ({Command.SUB_SPECIFICATION},'XT') > 0 Or InStr
({Command.SUB_SPECIFICATION},'XY') > 0,
        IIF ({Command.X_TIME} <= 1000,Ceiling ({Command.X_TIME}, 50),
             IIF ({Command.X_TIME} <= 5000,
             Ceiling ({Command.X_TIME}, 200),10000
        IIF ({Command.X_TIME} <= 300,Ceiling({Command.X_TIME},10),
             IIF ({Command.X_TIME} <= 5000,
             Ceiling ({Command.X_TIME}, 200),10000
Edited by: FREDERIC AGOSTINI on Nov 6, 2008 3:43 PM

Hi Frederic,
I tired the following on my machine having CR XI R2,  just as a sample report i created the following formulas,
Reproducing the issue:
u2022 Create a formula field u2013 FiscalCurrentHeader u2013
"FY " & year(DateAdd ("m",+6,CurrentDate))
u2022 Use a text box and place this formula field
Summary for {@FiscalCurrentHeader}
u2022 In the designer, the string exports to .pdf as 'FY 2009' , but on the scheduling/distribution server (BOE XI), the string exports to .pdf as 'FY 2,009.00' (as a number).
Cause:
u2022 The datatype of the field u2013 FiscalCurrentHeader is considered as number, because of which when scheduling/distribution server (BOE XI), the string exports to .pdf as 'FY 2,009.00' (as a number).
Resolution:
u2022 To remove the comma use ToText in the formula
"FY " & ToText(Year(DateAdd ("m",+6,CurrentDate)), "0")
u2022 To remove the comma we can even use
u201CFY u201D & ToText(Year(DateAdd ("m",+6,CurrentDate)), "0","")
The last "" defines your 000 separator.
Try using ToText in place of ToNumber.
I hope this works at your end.
Regards,
Abhijeet Taskar.
Edited by: Abhijeet Taskar on Nov 6, 2008 6:02 PM

Similar Messages

  • Crystal report displays only a part of a field

    I created a Crystal report based on a BW Query. The user enter a comment about a sales order in SAP. This field has only a key but no text in BW.
    So the text is the key. The whole comment can be seen when I run the query with Bex Analyzer. The key is displayed on the report.
    However Crystal report cuts the length of this field although I use the key in the Crystal report as well. Only 143 characters can be seen.
    I adjusted the font or can grow option of the field but it doesn't work.
    I tried this formula as well but it did not work.
    Stringvar s1:={field} [1 to 100];
    Stringvar s2:={field} [102 to 200];
    S1&s2;
    Can somebody help me about this issue?
    I will be very thankful.
    Deniz

    That would be CR 2013, Service Pack 2. CR 2013 is now on SP 5 and it would be good to update to that. Links to updates are here:
    https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/patch_download/main_public.htm
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Need help Crystal Reports running in BO 4.1 while using Universe as database connection.

    Sorry, I may not know how to describe this in the correct technical manner, but I'll explain in as simple terms as I can.
    I open up Crystal Reports 2013 click new document
    and it begins to ask for Database Expert.
    I select Universes and log in to my Business Objects Enterprise Explorer.   I then select the Universe that I want to write my report with,
    then i save the rpt on my local machine.
    then I log into my Business Objects 4.1 CMC or BI and upload this rpt file so that I can begin to schedule the report for example...
    but the problem i have is whenever I try to run the report, 
    it asks for a prompt for my database connection...  
    it displays the Universe name, but User Name Password, I am not sure what to write,
    do I write My login for Business Objects?  do I write the user name password of the database that Universe uses?
    in CMC I see a database configuration,  I tried many combinations and still have been receiving the following error message
    The viewer could not process an event. The database logon information for this report is either incomplete or incorrect. []
    ---- Error code:0 [CRWEB00000119]
    From all I read the point of using the Universe in Crystal reports is to be automatic in such a way that it doesnt need the database conneciton, because its technically using the Universe as the database connection....
    so what am I doing wrong here?    maybe its my database configuration,    I keep reading that it doesnt need anything...   that you upload the Crystal Reports and it would just work...
    any help with this issue would be greatly appreciated..
    thanks
    -Daniel

    Hi Daniel,
    What is the reporting DB used?
    The trick with your configuration is the following:
    - Universe Designer: 32bits application that may work fine on your desktop
    - Crystal 2013: 32bits application as well
    - When you export to the repository, Web Intelligence (64bits) has to process the Universe to extract the query.
    Your server should have the drivers required for Crystal + Universe: 32bit and 64bit versions.
    See more details on this KBA:
    https://service.sap.com/sap/support/notes/1821625
    Regards,
    Julian

  • Number field on crystal report displays Exponential form.

    Number Type field on crystal report printed in Exponential form when digits in this field are more than 17.

    Hi Jay,
    The same issue is addressed in the K-Base article c2005336. This is the limitation in Crystal, If you have more than 15 digits of numberic field it will convert into Exponential
    Use database-level syntax to convert the numeric database field to a string so that Crystal Reports will interpret it as a string type, and display all of the characters.
    For example, in Oracle, cast the number using to_char() and in Microsoft SQL Server use CAST() or STR() prior to adding the field to the report.
    As a workaround to display all the number, I would suggest you to convert it to text using a SQL Expression Field. A SQL Expression field will be evaluated on the database server.
    I would suggest you to follow the below mentioned steps to create SQL Expression field and convert a database field to a string:
    1. Open the report.
    2. Right click the SQL Expression field which is present in the Field Explorer.
    3. Select New and copy and past the below-mentioned text.
    CAST ("Database Field" as varchar)
    Note u201CDatabase Fieldu201D Here you have to mention your database field.
    After you create the SQL Expression Field, insert it on the report and it will display the full number.
    Please note that no calculation can be made on that field since it is now a string.
    I hope this helps you.
    Regards,
    Prashant

  • Crystal report displays only few pages,

    Hello,
    We have problem with crystal report preview option. Basically its a cross tab report and when we have a preview it displays only two pages. Even though we have 40 pages worth data.
    When we export to PDF we see all pages of data. If we print directly from crystal only 2 pages gets printed.
    Thanks
    Sridhar.

    May i know the pages spreads over horizontal or vertical?
    Regards
    venkat

  • Crystal report display problem--urgent

    i am trying to display to display crystal report in jsp page..
    i have mentioned the entries in web.xml as below
    <env-entry>
              <env-entry-name>clientSDKOptions</env-entry-name>
              <env-entry-value>C:\ProgramFiles\Common Files\Crystal Decisions\2.0\jars\clientSDKOptions.xml</env-entry-value>
              <env-entry-type>java.lang.String</env-entry-type>
         </env-entry>
         <env-entry>
              <env-entry-name>crystal_image_uri</env-entry-name>
              <env-entry-value>/crystalWeb/crystalreportviewers/</env-entry-value>
              <env-entry-type>java.lang.String</env-entry-type>
         </env-entry>
    crystalWeb is webproject folder.
    waiting for an earlier response.
    thanks to all
    krish..
    [11/05/04 11:01:33:164 GMT+08:00] 41c3089e WebGroup I SRVE0180I: [crystalWeb] [crystalWeb] [Servlet.LOG]: /CrystalReportsInteractiveViewer.jsp: init
    [11/05/04 11:01:40:404 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/css/default.css has not been defined
    [11/05/04 11:01:40:444 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/js/search.js has not been defined
    [11/05/04 11:01:40:515 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/js/fw_menu.js has not been defined
    [11/05/04 11:01:40:525 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mlogo.gif has not been defined
    [11/05/04 11:01:40:555 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mviewlist.gif has not been defined
    [11/05/04 11:01:40:575 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mfirstgrey.gif has not been defined
    [11/05/04 11:01:40:585 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mprevgrey.gif has not been defined
    [11/05/04 11:01:40:595 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mnextgrey.gif has not been defined
    [11/05/04 11:01:40:655 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mprevgrey.gif has not been defined
    [11/05/04 11:01:40:675 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mgotopage.gif has not been defined
    [11/05/04 11:01:40:685 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mexport.gif has not been defined
    [11/05/04 11:01:40:655 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mfirstgrey.gif has not been defined
    [11/05/04 11:01:41:015 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/msearch.gif has not been defined
    [11/05/04 11:01:41:045 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mprint.gif has not been defined
    [11/05/04 11:01:41:055 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mzoom.gif has not been defined
    [11/05/04 11:01:41:065 GMT+08:00] 6d40488e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mhelp.gif has not been defined
    [11/05/04 11:01:41:015 GMT+08:00] 41c3089e OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mlastgrey.gif has not been defined
    [11/05/04 11:02:21:463 GMT+08:00] 20668882 OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mhelpover.gif has not been defined
    [11/05/04 11:02:25:940 GMT+08:00] 20668882 OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /crystalreportviewers/images/toolbar/mhelp.gif has not been defined

    Possibly it's a path problem try to rewrite env-entry-value for clientSDKOptions with either double backslashes or simple slashe.
    Furthermore the blanks in the path migth be a reason for your problem.
    David

  • Crystal Report Displaying Problem

    Hi Guys,
    i had developed many more reports ie crystal reports 10 successfully in my Pc.But while going to my client place not able see my reports while clicking added reports in B1 module ie Purchase A/p -> purchase reports in that my report is added while clicking that report it displaying following Error ie myaddon.exe is Encountered or Addon Crystal report is Disconnect we are not able to fix this issue what problem but in my PC its displaying all reports this is OS problem or some other issue i am using windows 2000 proffesional in my Client PC ie windows 2003 server sp1.what is this issue can any solve with brief explantion asap.
    Regards
    ANAND

    One question!
    How are you sending the data to the reports?  Are you connecting the reports directly to the SQL Server tables?  If so, I believe you have to take into consideration the fact that connectivity parameters will vary in your client.
    Maybe you have taken this into account already! Just in case
    hope it helps

  • Help - Crystal reports 2008 - will not work

    I am a Systems Administrator for a small company of 450 users.
    I am unfamiliar with Crystal reports
    We have a recent problem with Crystal Reports 2008, only 1 user in the company uses it.
    Since I recreated a windows profile on this users PC who has Crystal installed. 
    She is using .CSV files as her data sources. These CSV files are on her local machine. 
    She is trying to load an RTM template file, then do a refresh, and it asks for a datasource? 
    We try to select Excel, but it asks for a username and password to connect to the excel Datasource, and anything we type in fails. 
    Previously a refresh just worked. 
    I uninstalled reinstalled, still asking to select datasource. 
    I installed this originally 4 months ago and we did not have this problem. 
    Can you please assist?

    Hello,
    Sounds like possibly a Microsoft update which altered the security settings either on the CSV or the folder where it's located.
    Can she create a new report off the CSV if she copies it locally? I assume the csv is on a network share?
    Don

  • Crystal Reports -  missing dynamic parameters when published to InfoView

    Hi all,
    I'm facing a problem when I publish Crystal Reports 2008 V1 which includes dynamic parameters on InfoView (either on BO EDGE 3.1 or Crystal Reports Server 2008 V1). Problem manifests itself in missing dinamic parameters - I get only static parameter panel and need to write in the value by myself... All other documents like Webi, Deski (on BO EDGE) works fine.
    I have tried to install all latest Service Pack's for Crystal Reports 2008 V1 but it didn't solve the problem. Btw, Crystal Reports 2008 V1 designer is installed on client machine.
    Here are the details of both installations:
    BO EDGE 3.1.
    OS: Windows Server 2003 SP2
    Repository database: MS SQL Server 2005
    CR Server 2008 V1
    OS: Windows Server 2003 SP2
    Repository database: MySQL
    Does anyone had a same problem?
    I will appreciate any help!
    Best regrads

    I had the same situation when I changed from a SQL server 2005 data source to a SQL server 2008 data source while using CR 2008.  Change printer option default in the report designer to use u201CNo Printer (optimize for screen display) and republish to InfoView.   Not sure why this would work, but it resolved the issue for us.
    Wendy

  • MySQL 5.5, Crystal Report for Visual Studio not working when hosted IIS

    Software and Component detail
    Microsoft visual studio 2010
    MS .NET Framework
    Version 4.0.30319 RTMRel
    MYSQL SERVER Database
    Version 5.5
    MySQL Connector 6.6.4 64 Bit
    MySQL ODBC Driver Version 5.2.a
    Crystal Report for Visusl Studio 64 Bit 13.0.5
    (CRforVS_redist_install_64bit_13_0_5)
    Current Setup
    1. I have WebSite in ASP.NET Visual Basic which works fine and is connected to MySQL Database, using MySQl Connector 6.6.4 64 bit
    and is using a connection string,defined in web.confg.
    2. I am using a Crystal report( It is very complex report, so cannot dare to redo it). Data Source for the report is set using a connection string
    DRIVER={MySQL ODBC 5.2a Driver};SERVER=Licensedb;DATABASE=License;pwd=root;PORT=3306;OPTION=3 and this report is called from website using the below code
    Dim crystalReport As ReportDocument = New ReportDocument()
    Dim repPath As String = Server.MapPath("~/Reports/") + "LicenseReport.rpt"
    crystalReport.Load(repPath)
    CrystalReportViewer1.ReportSource = crystalReport
    crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))
    crystalReport.Refresh()
    crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))
    CrystalReportViewer1.Visible = True
    3. The above setup works fine, when I run the website from Visual studio 2010. But when i use IIS 7, the aspx page having crystal report viewer control load and its blank.
    However it work very well from studio it self.
    4. So I changed the setup in point 2, by having a ODBC Data source defined. And changed the report accordingly. It work fine in Visual studio , but from IIS
    it gives error "Failed to Open Connection, Failed to Open Connection <Crystal Report File name.rpt>"
    5. I tried creating a System DSN and same connection string in IIS Application Connection string. But nothing changed.
    Please can anyone point in correct direction. I must admit this is my first website development work, so I might have overlooked some minor details.
    Any help would be much appreciated.
    Thanks
    Dilpreet ([email protected])

    hello again. I fear that what is said in that article does not apply to my particular case.
    First of all i am using the Crystal Report Basic 2008, which I think is not the same product as Crystal Reports 2008.
    In addition, printing fails always, on my PC and on the web server.
    On the other hand I can not find anywhere printcontrol.cab file or printcontrol.dll, just do not exist either in my PC or on the web server.
    The folder where the report viewer is located is not CrystalReportViewers12, is CrystalReportWebFormViewer4, and is located at wwwroot\aspnet_client\system_web\2_0_50727\
    Investigating I found something, but has not helped me:
    [http://social.msdn.microsoft.com/forums/en-US/vscrystalreports/thread/0af08d25-dd71-41ce-92fa-ca374f933eaa/]
    This problem is what always happens to me when on my local PC I access my web server by its public IP.
    I think I must resign myself to use only the PDF print
    thanks anyway

  • Crystal reports and SAP BI--------BAPI error when executing the report

    Hi All,
    I am getting a problem accessing the data from the SAP BI system into the crystal reports.I created a report in CR2008 on a query built in SAP BI.When I execute this query,I am getting the following error.
    Database Connection Error:'BAPI Error #:0
    Error Occured when starting the parser:timeout during allocate / CPIC-CALL:'ThSAPCMRCV"
    CAN ANYBODY HELP ME OUT Please.
    Thanks,
    Kumar
    Edited by: Madan Koka on Dec 15, 2008 5:47 PM

    Hi,
    I have the same problem. I can create report in Crystal Reports on a query but can`t get data from BW.
    Thx in advance for help
    Jacek

  • Crystal Reports 2008 Merge Modules SP1 Fails when installing Wise 7.0

    Hello all,
    We are packaging our software solution .NET 2.0 Visual Studio 2008, with Wise Studio 7.0 using Crystal Reports 2008 Merge Modules (SP1). (We use CR2008 for reporting)
    There is a point (fix service) in the installation when an error message appears saying, " cannot register Businessobjects.enterprise.sdk cannot be register because of dependencies.
    We have tried installing in a XP, a Windows 2003 Server, and Vista. The three of them with the same error.
    Any ideas???
    Thank in advance.
    Adrián.-

    I believe this thread will help:
    warnings on build with CRRunTime_12_1.msm
    Ludek

  • Crystal report runs one way in designer and another in Infoview

    Post Author: jasonp
    CA Forum: Crystal Reports
    I have a Crystal report with a number formula that runs correctly in the designer, but comes up with incorrect values on the server. The formula is used to determine a range in the select expert, so I end up with completely different data. I'm not using any custom functions, just what Crystal gives you. We recently migrated the Infoview server and I suspect this is what is causing this since it worked before. The formula:
    CDbl (Mid ("1" + Mid (CStr (Year (date(dateadd("d",-(day(currentdate)),currentdate)))),3 ,2) + CStr ((date(dateadd("d",-(day(currentdate)),currentdate)) - CDate (Year (date(dateadd("d",-(day(currentdate)),currentdate))),01 ,01))+1),1 ,6))
    returns 107273 in the designer (correct), but returns 100273 in Infoview (incorrect).
    Any suggestions?

    Post Author: SKodidine
    CA Forum: Crystal Reports
    CSTR is not functioning as you expected because you are not accounting for the decimals and commas.  Here is what is happening. Results are step by step and color coded assuming you run this on 10/01/2007.
    The first half of the formula is the problem.
    Mid ("1" + Mid (cstr (Year (date(dateadd("d",-(day(currentdate)),currentdate)))),3 ,2)
                                                                                    09/30/2007
                                                                                    09/30/2007
                                                                                    2007
                                                                                    2,007.00 This is causing the problem.
                                                                                    00
    The second half of your formula brings in 273, combine that with above gives you 100273.
    You could change the MID values from (3,2) to (4,2) but I suggest using the optional arguments, which will give you the following:
    Mid ("1" + Mid (cstr (Year (date(dateadd("d",-(day(currentdate)),currentdate))),0,"",""),3 ,2)
                                                                                    09/30/2007
                                                                                    09/30/2007
                                                                                    2007
                                                                                    2007
                                                                                    07
    Combined with the second half of your formula it will give you 107273. 
    I suggest, for the second CSTR be used with the optional arguments for decimal places, thousands separator and decimal character, for uniformity.  The CDBL makes it numeric and puts the commas and decimals.
    Your final formula:
    CDbl (Mid ("1" + Mid (cstr(Year (date(dateadd("d",-(day(currentdate)),currentdate))),0, "",""),3 ,2) + cstr ((date(dateadd("d",-(day(currentdate)),currentdate)) - CDate (Year (date(dateadd("d",-(day(currentdate)),currentdate))),01 ,01))+1,0, "",""),1 ,6));

  • Crystal Reports XI Release 2:  Error message when trying to install

    I am unable to install Crystal Reports XI Release 2 onto my computer.  After putting CD1 into my computer and clicking install, I get the following error message: 
    "Error applying transforms.  Verify that the specified transform paths are valid."
    A couple members of my companies' I.T. department tried to help, but the error message was foreign to them.  Tthey even built me a new hard drive, but unfortunately it gave me the same error message.
    I am able to install Crystal Reports XI without a problem, but for some reason, Crystal Reports Release 2 will not install.
    Any help you can provide in this matter would be greatly appreciated.

    1.Are you able to neglect the installation window completely.
    Like,can you just open your drive which accepts the cd and copy all the files from the win32 folder to another folder say "test".
    2. If not on this machine, could you please try this on some other machine.
    3.Otherwise you can download it from the following URL:
    http://resources.businessobjects.com/support/additional_downloads/servic
    e_packs/crystal_reports_en.asp#CRXIR2
    Please select the "Service Pack 2 - Full build - ZIP - 1.03 GB -released April 2007" hyperlink.
    Let me know if this helps
    Thanks

  • Crystal Report That Uses Stored Procedure Errors when connecting to the DB

    We had developed reports a few years ago, including one that calls a Stored Procedure on an iSeries AS400 DB2 database.  We upgraded our environments to Crystal Reports 2008 and BO XI 3.1.  Now, the existing report that previously ran in the old environment is not running (note that the other SQL-based reports work without a problem, only this one which uses a store procedure is not working).  I downloaded the report into my local Crystal Reports designer and tried to run it from there and I got the following error message:
    ======
    Failed to retieve data from the database.
    Details: ADO Error Code: 0x
    Source Microsoft OLE DB Provider for ODBC Drivers
    Description: [IBM][iSeries Access ODBC Driver] Statement violates access rule:  Connection is set to read only.
    SQL State: 37000
    Native Error: [Database Vendor Code: 30186 ]
    ======
    {CALL "<database>"."<library>"."RELEASEDNOTINVOICE"({d '2010-03-01'})}
    This call will still work from on a SQL client running on a JDBC connection.  Is there some problem with the new verion of BO and Crystal Reports with using the iSeries ODBC driver?

    ...my issue was resolved by setting the ODBC.INI registry entry for AllowProcCalls from 0 to 1.

Maybe you are looking for

  • Can you see this video?

    Hi, Trying to convert my wife to an Arch user.  She doesn't have much of a chance :-),  but she usually enjoys finding media on the web which does not seem to be managed with mplayer.  Most times, it ends up being something to do with Java scrips whi

  • How "not to set locale " in user's profile?

    In the "Oracle Universal Content Management 11gR1 Differences between 11gR1 and 10gR3" document http://www.oracle.com/technology/products/content-management/ucm/diffsbetween10gand11g.pdf says: "If locale is not set in a user's profile, Content Server

  • Windows 2000 or XP

    I want to purchase a gps but it will only use windows and internet explorer for support. Has anyone had trouble with Safari if they load internet Explorer on the windows side? I don't want to use MS Internet Explorer as my primary internet server.

  • FROM EXCEL FILE TO INTERNAL TABLE

    HI GURU'S, i'm using the following code to conver the excel file into internal table. CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'     EXPORTING      I_FIELD_SEPERATOR          = 'X'     I_LINE_HEADER              =       I_TAB_RAW_DATA             = IT_T

  • Info banner display time reduced?

    Is it me, or did the display time of the info bar get significantly reduced? It used to be around five seconds, but now it seems to be more like 2 seconds. Dunno when the change happened. I only noticed it just now.