Crystal Report and Oracle SDO_GEOMETRY

Hi,
<br />
<br />
I'm using Crystal Reports for Eclipse version 2.0.4.r825 with Eclipse 3.5 and Oracle 11g as database. I configured the database connection using ojdbc14.jar. Some of the tables i want to use in the report contains columns using the SDO_GEOMETRY data type and if i try to drag this table in the data tab of the report i get the following "Unexpected ValueType" error:
<br />
<br />
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not Add Object.
Unexpected ValueType: ValueType=[255]---- Error code:-2147215362 Error code name:unknownError
     at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:65)
     at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.throwExecFailure(ReportCommand.java:253)
     at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.internalDoCommand(ReportCommand.java:126)
     at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(ReportCommand.java:237)
     at com.businessobjects.crystalreports.designer.uibase.gef.commands.CoreCommand.execute(CoreCommand.java:70)
     at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(DSEDropHandler.java:114)
     at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
     at org.eclipse.core.runtime.Platform.run(Platform.java:888)
     at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
     at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
     at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
     at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
     at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
     at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
     at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
     at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
     at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
     at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
     at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
     at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
     at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
     at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559
     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
     at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected ValueType: ValueType=[255]---- Error code:-2147467259 Error code name:failed
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:741)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
<br />
<br />
I tried the same with the Crystal Reports 2008 trial version and i'm having the same problem.
<br />
<br />
I don't wanna use the geometry column in my report but because of this error i can't use the whole table. Is there a way to avoid this error and still use the other columns of the table. Or maybe there is another way to connect to an Oracle database which can handle this special data type.
<br />
<br />
Thanks in advance,
<br />
<br />
Jens Keller

Hi Jens,
Views would work also as you noted.
No, if DB manufacturers change/update their Servers/clients they need to follow ANSII 92 standards. If they don't return the correct data type then CR will not "hack" our drivers to fix their issues. We did that for years and was a code nightmare, when they got around to fixing the problem it broke CR again. We decided to follow the standards, it may be our issue sometimes but in this case unique data types typically are not supported by CR. If you want support and it's not a client issue then add your request to the Enhancement Request2 post.
So yes in your case it would make it easier but for others they'll be asking why CR doesn't show all fields. Same reason.... not a CR issue.
Thanks agian
Don

Similar Messages

  • Select multiple items from a list box as values for a parameter of crystal report and Oracle procedure

    -  I have a  Product list box (asp.net) used as multiple selected values for  a parameter. 
    - The Product ID is defined in the Oracle procedure as NUMBER data type. 
    -  In my crystal report, I have a parameter field allow multiple values as p_product_id type as Number.  This is the code in my Record Selection Formula for the report:
    ({?p_product_id}[1] = -1 OR {Procedure_name.product_id} in {p_product_id})
    -  In C#, this is my code
    List<decimal?> productUnit = new List<decimal?>();
    int counter = 0;
    decimal prod;
    for (int i = 0; i < lstProducts.Items.Count; i++)
                  if (lstProducts.Items[i].Selected)
                                if (decimal.TryParse(lstProduct.Items[i].Value, out prod))
                                    productUnit.Add((decimal?)prod);                              
                                    counter++;
           if (counter == 0)
                       productUnit.Add(-1);                      
    ReportingDAO rDataFactory = new ReportingDAO();
    retVal = rDataFactory.GetProductReport(productUnit);
    public CrystalDecisions.CrystalReports.Engine.ReportDocument GetProductReport(List<decimal?> productUnit)
              CrystalDecisions.CrystalReports.Engine.ReportDocument retVal = new rptProductDownload();
              ReportLogon rptLog = new ReportLogon();
             rptLog.Logon(retVal, "RPT_PRODUCT_DOWNLOAD");
             retVal.SetParameterValue("p_product_id", productUnit); 
    I keep having the "Value does not fall within the expected range" when I debug.  My question is, is the data type I used for procedure/Crystal report/ and C# correct ?  I always have problem with the data type.  Any help would be
    appreciated
    Thank you

    Hi progGirl,
    Thank you for your post, but Microsoft doesn't provide support for CrystalReport now. Please post your question in SAP official site here:
    http://forums.sdn.sap.com/forum.jspa?forumID=313
    Thank you 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.

  • Performance Issue Crystal Report and Oracle

    Hello,
    We have one procedure that takes 3 input parameters and returns Cursor from Procedure that is used to design the report. There is no caluculation involved here and cursor is opended dynamically. We are using Oracle Native connection.
    When we click on preview button it takes lots of time ( >10 Mins) to show complete data. While we call the same procedure in application and generate HTML report using Cursor returned it is done in < 15 Seconds. Can some point me where to look into to improve the performance of Crystal Report.
    DB: Oracle 10G
    CR: Version XI

    Hi Vadiraja
    The performance of a report is related to:
    External factors:
    1. The amount of time the database server takes to process the SQL query.
    ( Crystal Reports send the SQL query to the database, the database process it, and returns the data set to Crystal Reports. )
    2. Network traffics.
    3. Local computer processor speed.
    ( When Crystal Reports receives the data set, it generates a temp file to further filter the data when necessary, as well as to group, sort, process formulas, ... )
    4. The number of record returned
    ( If a sql query returns a large number of records, it will take longer to format and display than if was returning a smaller data set.)
    Report design:
    1. Where is the Record Selection evaluated.
    Ensure your Record Selection Formula can be translated in SQL, so the data can be filter down on the server, otherwise the filtering will be done in a temp file on the local machine which will be much slower.
    They have many functions that cannot be translated in SQL because they may not have a standard SQL for it.
    For example, control structure like IF THEN ELSE cannot be translated into SQL. It will always be evaluated in Crystal Reports. But if you use an IF THEN ELSE on a parameter, it will convert the result of the condition to SQL, but as soon as uses database fileds in the conditions it will not be translated in SQL.
    2. How many subreports the report contains and in section section they are located.
    Minimise the number of subreports used, or avoid using subreports if possible because
    subreports are reports within a report, and if you have a subreport in a details section, and the report returns 100 records, the subreport will be evaluated 100 times, so it will query the database 100 times. It is often the biggest factor why a report takes a long time to preview.
    3. How many records will be returned to the report.
    Large number of records will slow down the preview of the reports.
    Ensure you only returns the necessary data on the report, by creating a Record Selection Formula, or basing your report off a Stored Procedure, or a Command Object that only returns the desired data set.
    4. Do you use the special field "Page N of M", or "TotalPageCount"
    When the special field "Page N of M" or "TotalPageCount" is used on a report, it will have to generate each page of the report before it displays the first page, therfore it will take more time to display the first page of the report.
    If you want to improve the speed of a report, remove the special field "Page N of M" or "Total Page Count" or formula that uses the function "TotalPageCount". If those aren't use when you view a report it only format the page requested.
    It won't format the whole report.
    5. Link tables on indexed fields whenever possible.
    6. Remove unused tables, unused formulas, unused running totals from the report.
    7. Suppress unnecessary sections.
    8. For summaries, use conditional formulas instead of running totals when possible.
    9. Whenever possible, limit records through selection, not suppression.
    10. Use SQL expressions to convert fields to be used in record selection instead of using formula functions.
    For example, if you need to concatenate 2 fields together, instead of doing it in a formula, you can create a SQL Expression Field. It will concatenate the fields on the database server, instead of doing in Crystal Reports. SQL Expression Fields are added to the SELECT clause of the SQL Query send to the database.
    11. Using one command as the datasource can be faster if you returns only the desired data set.
    It can be faster if the SQL query written only return the desired data.
    12. Perform grouping on server
    This is only relevant if you only need to return the summary to your report but not the details. It will be faster as less data will be returned to the reports.
    Regards
    Girish Bhosale

  • Crystal report - and oracle connections

    hi to everyone
    i installed client  of oracle
    and after that - the crystal report 2008 sp3
    when i open new (blank page) - and looking for a oracle connection
    its look like he doesnt exist.
    please if someone know why i cant see the connection to oracle/
    yossi bar

    Hello,
    CR looks for the Oracle \bin folder in the PATH statement. If it can't find it then the option to select Oracle native driver will not show.
    Thank you
    Don

  • Crystal Reports and Oracle Dates

    Post Author: Robert
    CA Forum: General
    Hey Guys, I am experiencing some issues with Crystal Reports Developer XI (SP4) and Oracle Dates. Situation:I have a view setup in oracle database, i use this view to base my reports. Within the view there is a logtime column (to_date(logtime,'DD-MM-YYYY') & to_date(logtime,'DD-MON-YYYY') -: i have used both) When i connect to the database the database expert (view on the left of the screen) displays the logtime column as date time, but when i go to refersh the report with data with the logtime as group 1, i get a whole lot of errors:1: Failed to Retrieve data from Database2: Failed to Retrieve data from Database    Details: ORA-01861: Literal does not match format String    Database vendor code: 18613: Failed to Retrieve data from Database    Details: Failed to execute SQL statement. OCI Call................................... Anybody got any ideas why this is happening, if i use the to_char the report work fine...well it will not sort by date!! Any help, most appreciated.... Robert 

    Post Author: Robert
    CA Forum: General
    Hello there and thanks for your reply,
    I have found the problem, it was not really a problem but a slight misjudgment of the use of the to_date function in oracle!
    I should have used to_date in conjunction with to_char
    to_date(to_char(logtime,'DD-MM-YYYY'),'DD-MM-YYYY')
    Presto
    No need fo any formula in crystal to do this....
    Thanks again

  • Free Report Writer for Oracle Database except Crystal Report and Data Vison

    Dear All,
    I want Free Report Writer for Oracle Database except Crystal Report and Data Vision software.
    Wr are working on Linux and windows both platform.
    Any one have direct link or website address for it ?
    Regards,
    Vipul Patel
    Ahmedabad

    Please check the following link -
    http://www.google.co.in/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=open+source+report+writer+for+oracle&meta=&btnG=Google+Search
    Regards.
    Satyaki De.

  • URGENT!!! calling crystal reports from oracle forms 10g

    Is it possible to call crystal reports from oracle forms 10g?
    Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
    Please provide codes with details showing step by step.
    Thanks

    hi
    try something like this.
    DECLARE
    charWinHandle VARCHAR2(50);
    numWinHandle NUMBER;
    BEGIN Set_Application_Property(Cursor_Style,'BUSY');
    charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
    numWinHandle := To_Number(charWinHandle);
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
    := numWinHandle;
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
    :Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
    := 'DSN=;UID=' || Get_Application_Property(UserName) ||
    ';pwd=' || Get_Application_Property(password) || ';dsq=;';
    Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
    'C:\Sample_Rep.Rpt' );
    Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
    Set_Window_Property( 'MAIN', Window_State, Maximize );
    :reptitle := 'Report Preview Window';
    numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
    Set_Application_Property(Cursor_Style,'DEFAULT');
    END;NOTE: Change the report name and path according to your required file name and path in
    the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
    assumes that you will use the current USER and PASSWORD for the Form.
    - To make the above Form generic so that you can run any Crystal report from it, then create
    a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
    Then just replace the file name with the passed parameter.
    -. Run the Form
    If its correct/helpful please mark it thanks.
    sarah
    Edited by: S@R@h on Nov 27, 2009 6:33 AM

  • Calling Crystal Reports from Oracle Forms 10G

    Hi everyone,
    I am trying to call a crystal report from Oracle Forms 10G.
    I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file.
    Can someone please send me the code to do this and also the exact steps that are to be followed.
    Thanks
    Fm.

    Hi Andreas,
    I am trying to call the crystal report from an Oracle Form using a URL. No batch file is being used here.
    I am looking for a peice of code similar to run_product or run_report built in in Oracle which calls an Oracle report from an Oracle Form.
    Also I dont want to display the report on a screen or a window in Oracle Forms. I would like it to run just as we run an Oracle Report from an Oracle Form.
    Is that possible ? If yes please let me know the steps to do this.
    Thanks
    Faiz
    Edited by: IQ on May 13, 2011 11:38 AM

  • Pls Help: View Crystal Report Via Oracle Form Builder

    Hi!!
    I want to know how to view the .rpt report (report made from Crystal Report) via Oracle Form Builder. I've to do it in my project. If you know, please tell me.
    Thanks in advance,

    I don't know how does crystal reports work, and I would guess you should ask the crystal guys to help you with this. find out if they have a command line interface that you can invoke from the host command in forms.
    We can help you do it with Oracle Reports though :-)
    http://otn.oracle.com/products/reports

  • How to invoke crystal reports from Oracle forms 11g R2 along with passing p

    How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it.
    how to pass parameters to crystal report, please help.

    how to pass parameters to crystal report, please help.This would entirely depend on crystal reports and you might find informations on crystal reports related communities more likely...I for one have seen crystal reports the last time about 12 years ago. And even back then I simply acknowledged it's existence instead of working with it.
    Maybe crystal reports can be invoked via a URL call which would make it simple as you'd need simply build an URL and show the report using web.show_document. But that's pure speculation. Also you might not be the first with this requirement, so the solution to your problem might be right under your nose and just a little google search away ;)
    cheers

  • Deplying Crystal report on Oracle Appliaction Server

    Hi
    Our current application  has Oracle reports deployed on Oracle AS and Oracle Report Server. Can we replicate same scenario for Crystal report.
    Means can we use Crystal Report on Oracle App Server / Oracle Report Server. Or do I need to use Crystal report Server

    Post Author: synapsevampire
    CA Forum: Data Connectivity and SQL
    You need to understand the potential pitfalls of you process first.
    First I'll assume that you have joined the two datasources on some field, something that you should include in your post. Please state in your next posting.
    When you do so, then all of the processing related to joining the data happens within Crystal, and it is NOT a fast database server.
    So it can take a looooooooooooooong time to do this, depending upon the number of rows and the joins involved. You haven't posted anything about the amount of rows returned by either query form Oracle or SQL Server, so we can't speak to that. Instead you say that you did it with Oracle and Access, which is pretty much meaningless here. The Access or Oracle table could have had only a few rows, this isn't a matter of Crystal slowing because certain types of connectivity or databases are used, it is a matter of volume.
    I would consider linking the Oracle tables into the SQL Server database, or as many do, LINK (not import) all of the tables into an Access database and then do the queries in Access and expose a query as the source for the Crystal Report.
    In either case, something will need to do the processing, and having Crystal do so is probably the slowest of your options.
    -kai

  • Creating Sap Crystal Report Through Oracle Stored Procedure Packages

    Hi,   
    1.How we can create crystal report through oracle stored
    procedure packages pls tell me the steps through adding command then
    tell me the syntax what should i write in command to call the stored
    procedure packages or if have some other option then also tell. 
    2.can
    we link stored procedure column to other table column that used in
    report.

    Hi Ganesh,
    As this error comes when you are trying to insert non-numeric value into a numeric column in db it seems that your field might be numeric and you are trying to send it as a string in database.
    Please check your Store Proc carefully..
    Reference Thread: Oracle/PLSQL: ORA-01722
    --Dhana

  • How migrate crystal reports to oracle bi publisher ?

    Hi experts,
    i have a experienced with development of crystal reports.
    now my work demands migration of crystal reports to oracle bi publisher.
    may i know how to converts all crystal reports formula's in oracle bi publisher ?
    any help is greatly appreciated.
    Thanks.

    Simple answer, there is NO easy way to convert them.. You will have to get the layout from your crystal report file, then get a copy of data to test query to build data is returned in proper sequence to replicate report.
    If you were converting from Oracle Reports to BI Publisher, then you would have it easier..
    Just be happy you are not where I was 2 years ago.. I had over *600* crystal version 8 report files and started looking at converting them to BI Publisher...
    Thank you,
    Tony Miller
    Webster, TX

  • Converting Crystal Reports to Oracle BI publisher Reports

    Hello,
    We are trying to convert the existing Crystal Reports to Oracle BI publisher. Hence, I was wondering if any of you may have undergone this conversion process and would let me know how to approach this task?
    Are there any tools that can be used to convert the Crystal Reports to BI publisher. I am aware of the Oracle listed tools for Oracle Reports / Actuate Reports to BI Publisher. But, I dont find any for Crystal Reports.
    Thank you for your time.
    Regards!!

    check this it may help
    http://www.oracle.com/technetwork/middleware/bi-publisher/convert-to-bi-publisher-11g-1611815.pdf ( page 25 - 45 )
    http://download.oracle.com/otndocs/xmlp/CrystaltoBIP.pdf

  • Crystal Reports To Oracle Conversion

    Has anyone gone through a Crystal Reports to Oracle Reports conversion? It appears from my limited review of what is available in Oracle Reports that Crystal offers alot more flexibility in how reports and charts can be formatted and displayed, and it also seems to be easier to retrieve/manipulate data as well. If anyone has any insights as to pros/cons of Oracle Reports vs Crystal, please post them.

    Rohit,
    About how to publish reports to the web, please see document "Publishing Reports to the Web with Oracle9iAS Reports Services" on OTN:
    http://otn.oracle.com/docs/products/reports/htdocs/doc_library/getstart/docs/a92102_01.pdf
    -Jeff

Maybe you are looking for

  • Sales Order Status Report

    Hi, Can you please guide me for Sales Order status report extractors?whether some standard extractors would be used or customized or standard is available which can further be enhanced. Scenario is- I have to populate report columns like 0-25000     

  • Can I download to Apple TV in my office next to my iMac and latter move the Apple TV to the room with my HD TV and watch a downloaded movie?

    Can I download the movies in my office into a Apple TV unit and where I have my 27 iMac and latter move the Apple unit to my bedroom and watch the downloaded movie in my HD TV? I am presently watching movies in my 27 iMac downloded from itunes but wo

  • Poor Quality DVD footage

    Hi There I wandered if anyone can help, please! From FCP, I've exported a QuickTime movie using compressor and the XD CAM 1080 25p codec (as this is the source footage). Open the mov in QT and it plays perfectly. I create and burn my disk using DVDSP

  • IR web client server(0):Database connection information not accessible.

    Hi, We upgraded our system from Hyperion 9.3 to EPM 11.1.2.2. We mainly use the reporting tools SQR production and Interactive reporting. Using workspace as an admin if I run a BQY everything works fine but when I try to do the same as other users I

  • Migrating Data from PC to Mac.  Files not showing up

    I am setting up my new Macbook Air and have used the migration assistant but it doesn't "find" any of my main files.  It offered to transfer a few random things so the computers are connected and it is searching for files but none the stuff I really