C++ Problem Casting RawDateTime::View to struct tm

Hi,
I am writing a C++ client (using release 3.5.1 on Windows) and having problems casting a RawDateTime::View to a struct tm. The code snippet that gives me the problem is:
<pre>
RawDateTime::View dateTime = hIn->readRawDateTime(Stock::TIMESTAMP);
struct tm timeinfo = dateTime; // cast error
</pre>
The compilation error I get in Visual C++ 2008 is:
<pre>
Error     27     error C2440: 'initializing' : cannot convert from 'coherence::lang::TypedHandle<T>' to 'tm'     d:\documentation\oracle\soa\coherence\training\my c++ training\code\c++client\coherencec++application\coherencec++application\stockserializer.cpp     48     CoherenceC++Application
</pre>
But I cannot understand why it does not work because the RawDateTime object has an overloaded assignment operator for a struct tm. Any help would be much appreciated.
Dave

Hi Dave,
I'm sorry for your continued troubles with this. I've just tested the code snippet out in Visual Studio 2005, Visual Studio 2008, and GCC, and have been unable to replicate the issue. I'm still puzzled by the text of the error, as it refers to the creation of a RawDateTime from a "struct tm*", not the conversion from a RawDateTime to a "struct tm". For instance the following purposefully incorrect code will yield the exact error you are seeing.
struct tm timeinfo;
RawDateTime::create(&timeinfo, true);
Such code could certainly be part of your serialization routine, the bug in the above code is that we are passing a tm* rather then a tm. The corrected version simply removes the &, and compiles fine:
struct tm timeinfo;
RawDateTime::create(timeinfo, true);
Can you please ensure that you don't have code such as the following nearby. If this does not resolve the issue it would be great if you could post a small stand alone full-source example which demonstrates the issue. I'd be happy to see if I can then reproduce and debug the issue on my end. Also you may want to see if our C++ examples (http://coherence.oracle.com/display/COH35UG/Examples) will build successfully for you, they make use of the same technique in ContactSerializer.cpp though for RawDate.
thanks,
Mark
Oracle Coherence

Similar Messages

  • Oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT

    I met a problem,I use oracle spatial to store geometry,then get it like this:
    STRUCT dbObject = (oracle.sql.STRUCT)rs.getObject("shape");
    JGeometry geom = JGeometry.load(dbObject);
    tomcat 6 told me java.lang.ClassCastException: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT
    does everyone knows this problem?thanks
    Edited by: 811014 on 2010-11-13 下午9:28
    Edited by: 811014 on 2010-11-13 下午9:28

    Hi, this is a known problem for most Spatial 10g Java APIs with WLS.
    WLS is only certified with 11g DB.
    Instead of using Weblogic JNDI Lookup for Datasource, try the following snippet to create your connection/datasource (with Oracle JDBC thin driver):
    String databaseUrl = jdbc:oracle:thin:@1.2.3.4:1521:yourdbname
    String databaseUser = dbusername
    String databasePassword = dbpassword
    DriverManager.registerDriver(new OracleDriver());
    Connection aConnection = DriverManager.getConnection(databaseUrl, databaseUser, databasePassword);
    For more information, see the following:
    Classcast Exception while using Oracle ARRAYs
    regards,
    jack

  • Weird event display problem in week view

    Hi. I'm getting a weird display problem in week view. First time this has ever happened.
    Some events appear to be missing, but when i double click on where I know the event is supposed to be, a new event is created (as excepted), and the missing events suddenly appear. When i move forward or back by a week, and then return to the week in question, the missing events are gone again. But, I can see the missing events in day view or month view.
    Any ideas?

    Dean,
    Next, try reinstalling the Mac OS X v10.6.2 Update (Combo).
    If that is unsuccessful:
    1. Use iCal>Export...>for each one of your individual calendars.
    2. Delete all but one of your calendars.
    3. Create a calendar and name it "Test."
    4. Delete the calendar which remained after step #2.
    5. Quit iCal.
    6. Remove the iCal plist, and drag the iCal plist file to your Desktop.
    7. Log out/in or restart.
    8. Restart iCal and use iCal>File>Import...for each one of the calendars that you exported in step #1.
    9. Delete the "Test" calendar, and any "Home/Work" calendar which was automatically created when you opened iCal in step #8.
    ;~)

  • Problem with a view in XK01 transaction

    Hi All,
    I am working on upload conversion for Vendor Master. While doing conversion, i am getting a problem with a Contact person view in XK01 transaction. In contact person view the telephone field column sometimes allowing to add data ,sometimes it's not allowing data which results an error in conversion program saying that the telephone field in not an input field. I don't know why the view is showing the telephone field like that.
    Can any one suggest the solution for this problem. I know this is configuration problem with a view but i posted in ABAP forums.
    Thanks

    Hi Ben,
    I assume that you are writing a BDC program to upload contact person information. If so, you are trying to populate a table control here. Please check to see if you are calculating the index to assign values to the correct rows.
    if you are calculating index in your program then i think it should be configuration problem as you said.
    Thanks,
    Ganesh.

  • Problem with HTML viewer

    Dear All ,
    I am facing a problem with HTML Viewer . My senario is as follows :
    1. I have created one HTML page . On that page there are 4 Images
    2. I imported that HTML page in SAP with the help of transaction SMW0
    3. I Called that HTML page in my ABAP program using the method "load_html_document" of class cl_gui_html_viewer
    4. This is happening perfectly ok on the machine on which all this developement was done.
    But the issue is when I execute my ABAP program on a different machine , those Images on that HTML page are not displaying.
    Can you please guide me how to remove that machine dependancy?
    Regards,
    Nikhil

    Hi Nikhil,
    Please check if the image is properly imported properly. Also check if there is any option which you might have forgotten while imported like dependeency.
    Regards
    Abhii...

  • Powerpoint problem in presenter view.

    I'm having a powerpoint problem in presenter view. For some reason it's only showing the slide I'm on, as opposed to showing the next slide as well. Anyone else ever run into this?

    I'm having a powerpoint problem in presenter view. For some reason it's only showing the slide I'm on, as opposed to showing the next slide as well. Anyone else ever run into this?

  • Problem with Materialized Views after an export

    Hi @ everybody,
    At an Oracle 11g R2 (11.2.0.3.0) instance, all actual CPU's/SPU's are installed, on a Red Hat 6 Machine i have a problem with Materialized Views from a schema, which i have exportet from an old database machine on Oracle 10g (10.2.0.1.0) to the new machine.
    I've exportet with the old exp and imported with imp, because i know, that i get some strange errors because of the materialized views when i'm using the new expdp and impdp tools.
    At the old machine the materialized views are so programmed, that they get an update of data at a defined time like this:
    START WITH TRUNC(SYSDATE) + 21/24
          NEXT SYSDATE+1
    ...But after the export this "update function" of the materialized view is not available. So i have deleted that views and recreated them with the START WITH parameters. So now they are running.
    But why do i have this problem?
    Is this "START WITH" somewhere written as a job or so in, for example, DBMS_SCHEDULER or something else? So i had forgotten to export these jobs or where is that defined?
    Is this a bug?
    Thanks for answers and help!
    Best regards,
    David

    I can't remember the error of expdp/impdp. That is some days ago, i have to rebuild this.
    I think in my scenario for the import i don't need the TABLE_EXISTS_ACTION, because by importing at the new server i've just createt the naked tablespace for the data and the users, not more. So he didn't has something to overwrite.
    And i have to tell you: i'm just the dbA. The desining of the tables and materialized views is many years ago by installing the old server. I'm just to young in my company to know about the design of the instance and why it was designed so.
    Anyway: my problem is, that after the import of the schemas to a new server the "START WITH" option in the materialized views is not there anymore and i just want to why so i can think about a solution for that and create it with the database designers of my company.
    EDIT: And here are the SQL Statements for creating the Materialized Views:
    First, at the OLD Server (Oracle 10g 10.2.0.1.0)
      CREATE MATERIALIZED VIEW "DUPONT_CCG2_P"."PR_PRODUCT_ITEMS"
      ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "DUPONT_14523"
      BUILD IMMEDIATE
      USING INDEX
      REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1
      USING DEFAULT LOCAL ROLLBACK SEGMENT
      DISABLE QUERY REWRITE
      AS (SELECT DISTINCT
          PR_CUSTOMER_MASTER_DATA.CLIENT_ID,
          PR_CUSTOMER_MASTER_DATA.ILN_USER,
          PR_ARTICLE.EAN,
          PR_ARTICLE.CODE,
          PR_USED_ARTICLE_TEXT.ARTICLE_TEXT,
          PR_USED_ARTICLE_TEXT.LANG_CODE,
          PR_ARTICLE.SUP_ITEM_NO,
          PR_ARTICLE.OLD_ITEM_NO,
          PR_COMPANY_ITEM_MATCH.ITEM_BY_NO,
          PR_COMPANY_ITEM_MATCH.UOM_UNIT,
          PR_COMPANY_ITEM_MATCH.PRICE_UOM,
          PR_COMPANY_ITEM_MATCH.PRICE,
          PR_COMPANY_ITEM_MATCH.CURRENCY,
          PR_COMPANY_ITEM_MATCH.PRICE_QTY,
          PR_COMPANY_ITEM_MATCH.SALES_UNIT,
          PR_COMPANY_ITEM_MATCH.START_DATE,
          PR_COMPANY_ITEM_MATCH.END_DATE,
          PR_ARTICLE.UPDATED_AT
            FROM PR_ARTICLE, PR_COMPANY_ITEM_MATCH, PR_USED_ARTICLE_TEXT, PR_CUSTOMER_MASTER_DATA, PR_ADDRESS
            WHERE PR_ADDRESS.ORDER_TYPE='REP'
          AND PR_CUSTOMER_MASTER_DATA.ILN_USER=PR_ADDRESS.ILN_USER
          AND PR_COMPANY_ITEM_MATCH.ILN_USER=PR_ADDRESS.ILN_LINK
          AND PR_CUSTOMER_MASTER_DATA.SALES_ORG=PR_COMPANY_ITEM_MATCH.SALES_ORG
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_COMPANY_ITEM_MATCH.CLIENT_ID
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_ADDRESS.CLIENT_ID
          AND PR_ARTICLE.SUP_ITEM_NO=PR_COMPANY_ITEM_MATCH.SUP_ITEM_NO
          AND PR_COMPANY_ITEM_MATCH.SALES_ORG=PR_USED_ARTICLE_TEXT.SALES_ORG
          AND PR_ARTICLE.SUP_ITEM_NO=PR_USED_ARTICLE_TEXT.SUP_ITEM_NO
          AND PR_CUSTOMER_MASTER_DATA.LANG_CODE=PR_USED_ARTICLE_TEXT.LANG_CODE
          AND ( PR_COMPANY_ITEM_MATCH.END_DATE IS NULL OR to_date(PR_COMPANY_ITEM_MATCH.END_DATE,'YYYYMMDD') - sysdate > 0)
          AND ( PR_COMPANY_ITEM_MATCH.START_DATE IS NULL OR sysdate - to_date(PR_COMPANY_ITEM_MATCH.START_DATE,'YYYYMMDD') > 0)
    )And here the at the NEW Server (Oracle 11g R2 11.2.0.3.0)
      CREATE MATERIALIZED VIEW "DUPONT_CCG2_P"."PR_PRODUCT_ITEMS" ("CLIENT_ID", "ILN_USER", "EAN", "CODE", "ARTICLE_TEXT", "LANG_CODE", "LANR", "OLD_LANR", "ITEM_BY_NO", "UOM_UNIT", "PRICE_UOM", "PRICE", "CURRENCY", "PRICE_QTY", "SALES_UNIT", "START_DATE", "END_DATE", "UPDATED_AT")
      ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
    NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "DUPONT_14523"
      BUILD IMMEDIATE
      USING INDEX
      REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1
      USING DEFAULT LOCAL ROLLBACK SEGMENT
      USING ENFORCED CONSTRAINTS DISABLE QUERY REWRITE
      AS (SELECT DISTINCT
          PR_CUSTOMER_MASTER_DATA.CLIENT_ID,
          PR_CUSTOMER_MASTER_DATA.ILN_USER,
          PR_ARTICLE.EAN,
          PR_ARTICLE.CODE,
          PR_USED_ARTICLE_TEXT.ARTICLE_TEXT,
          PR_USED_ARTICLE_TEXT.LANG_CODE,
          PR_ARTICLE.SUP_ITEM_NO,
          PR_ARTICLE.OLD_ITEM_NO,
          PR_COMPANY_ITEM_MATCH.ITEM_BY_NO,
          PR_COMPANY_ITEM_MATCH.UOM_UNIT,
          PR_COMPANY_ITEM_MATCH.PRICE_UOM,
          PR_COMPANY_ITEM_MATCH.PRICE,
          PR_COMPANY_ITEM_MATCH.CURRENCY,
          PR_COMPANY_ITEM_MATCH.PRICE_QTY,
          PR_COMPANY_ITEM_MATCH.SALES_UNIT,
          PR_COMPANY_ITEM_MATCH.START_DATE,
          PR_COMPANY_ITEM_MATCH.END_DATE,
          PR_ARTICLE.UPDATED_AT
            FROM PR_ARTICLE, PR_COMPANY_ITEM_MATCH, PR_USED_ARTICLE_TEXT, PR_CUSTOMER_MASTER_DATA, PR_ADDRESS
            WHERE PR_ADDRESS.ORDER_TYPE='REP'
          AND PR_CUSTOMER_MASTER_DATA.ILN_USER=PR_ADDRESS.ILN_USER
          AND PR_COMPANY_ITEM_MATCH.ILN_USER=PR_ADDRESS.ILN_LINK
          AND PR_CUSTOMER_MASTER_DATA.SALES_ORG=PR_COMPANY_ITEM_MATCH.SALES_ORG
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_COMPANY_ITEM_MATCH.CLIENT_ID
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_ADDRESS.CLIENT_ID
          AND PR_ARTICLE.SUP_ITEM_NO=PR_COMPANY_ITEM_MATCH.SUP_ITEM_NO
          AND PR_COMPANY_ITEM_MATCH.SALES_ORG=PR_USED_ARTICLE_TEXT.SALES_ORG
          AND PR_ARTICLE.SUP_ITEM_NO=PR_USED_ARTICLE_TEXT.SUP_ITEM_NO
          AND PR_CUSTOMER_MASTER_DATA.LANG_CODE=PR_USED_ARTICLE_TEXT.LANG_CODE
          AND ( PR_COMPANY_ITEM_MATCH.END_DATE IS NULL OR to_date(PR_COMPANY_ITEM_MATCH.END_DATE,'YYYYMMDD') - sysdate > 0)
          AND ( PR_COMPANY_ITEM_MATCH.START_DATE IS NULL OR sysdate - to_date(PR_COMPANY_ITEM_MATCH.START_DATE,'YYYYMMDD') > 0)
    )The own differences i can see is at the "header". In the new one is the NOCOMPRESS LOGGING Option and in the first line the code has the columns diretcly defined.
    But, i think, for my problem this line is determining:
      REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1And this line is the same at both server.
    Edited by: David_Pasternak on 12.04.2013 00:06

  • Problems with Street View

    new street view from new google map release shows black screen

    I'm having similar problems with Street View on openSUSE. For the time being you can try to switch back to the classic Google Maps.
    https://support.google.com/maps/answer/3045828?hl=en&ref_topic=3093612

  • Safari is having problem loading messages in gmail. When using other browsers, there is no problem loading and viewing the messages. What is going on? please help!

    safari is having problem loading messages in gmail. When using other browsers, there is no problem loading and viewing the messages. What is going on? please help!

    I should have explained further. The game opens in a new window over to the upper left of my screen, leaving the original page underneath. I tried minimizing it so that I could get to my toolbar and did the View > Zoom > Reset. This has no effect. The lower portion of the game is still not showing. Using other browsers the window or frame of the game is much larger, therefore everything shows.

  • Problem encounter in viewer

    we are using powermac g5 with os x v10.3.9; 4 gig of ram; san mp studio network solutions v1.3.0; aja kona LS v1.2.2 and currently runnung on FCP 4.5.
    now recently we are encountering problems on the VIEWER window everytime we preview and rewind a material using J on the keyboard it skips and some distorted green color appears on the viewer and when you pause the material it wont stop accurately. PLS HELP! thanks
    dominic
    PowerMac G5   Mac OS X (10.3.9)  

    Welcome DominicS,
    Not sure what the problem is, but you might check this thread...
    http://discussions.apple.com/thread.jspa?messageID=1063901&#1063901
    Look for info regarding 'disabling spotlight' or 'create new use account' or 'clean installs'...etc
    Have you done any type of recent upgrades/installs prior to this behavior happening? Does it happen on any clip, or certain clip(s)?
    K

  • Problems with Discoverer Viewer and the printable page

    Hi,
    I have a problem in Discoverer Viewer. I run a workbook, see the results and I click on "Printable Page". I set the page setup options to "Portait" and "100% scale". I preview the workbook in a PDF file and it's ok, I see the results in "Portait" and "100%".
    I close the PDF file and I click again on the "Printable Page". This time, I set the workbook to "Landscape" and "20% scale". I preview the workbook in a PDF file and it's NOT ok, the results are still in "Portait" and "100%". And the date/time in the workbook is the time when I run the workbook the first time. So, it's seems like a browser cache problem. The problem repeats until I clear the brower cache. At that moment, the workbook will take the page setup that I set at this time. However, it will be the same workbook with the same results until I clear the cache once again.
    If I save the PDF file on my Windows Desktop and I overwrite it each time, it's ok.
    Can somebody help me on this??
    Thank you!
    Mathieu

    Hi Michael,
    I'm clearing the browser cache by going in Tools -> Internet Options. In the "General" tab, I click on the "Delete files..." in the "Temporary Internet Files" section" (middle of the window).
    But I don't indicate that Discoverer is saving my printable page changes. I say that the first time I run a workbook, Discoverer saves it (the results) in the "Temporary Internet Files" folder in a PDF file. Each time I run the same workbook after that, Discoverer don't overwrite the file in the "Temporary Internet Files" folder. He takes the PDF file that is already there and show it to me. So, the results are the same even if the data has changed. It does this until I clear the browser cache (it deletes the PDF file in the "Temporary Internet Files" folder).
    Do you understand?
    Regards,
    Mathieu

  • I recently started to have this problem, I can view videos on youtube without any problems, but if I put a link lets say on FB, I cant view the video

    I recently started to have this problem, I can view videos on youtube without any problems, but if I put a link lets say on FB, I cant view the video I can only hear the sound, its like, there even the buttons, only invisible, yet still clickable, so if I manage to find and click the full-screen button the video switch to full-screen and I can view it. this is really annoying as I cant see flash animations and some videos at all.

    You need to find out what type of video it is.  What your describing is what you get when a Video codec (software that allows you to "see" the video) is missing, damaged, or too old for the movie.
    Once you identify what kind of movie it is, then you can update the codec.

  • ATI Radeon 4870 Graphic Card - Minor Problems with Icon View

    I have a MacPro 2,1 (early 2007)... Recently upgrade graphic card from ATI Radeon X1900 to ATI Radeon 4870... Works fine, except when viewing files in "icon view"... The icons are "fuzzy-like" some pixels are missing... This is seen in any size icon... small or large... or views no problem... cover view, list view, or column view...Does anyone have a working solution for this problem in icon view... Thanks

    If ATi didn't specify the card you bought is designed for your Mac, then it's strictly the PC version and is incompatible with OS X. It may work correctly in Bootcamp for Windows, but not for OS X.
    Your best option would be to return the 4350 and purchase a "designed for Mac" video card by ATi or nVidia cards offered on the Apple online store.

  • How do you fix this problem with the View Menu?

    Hi. This is my first time on this forum so please forgive me if not worded correctly.
    I have recently installed CS5 on Windows 7. I work with large folders of images. When I open the folder the images are spread out with a big gap between each row of images. It is much easier when they are close together especially when I am selecting a large number of images to transfer or copy. If I change the menu view to details and then immediately back to list they display as I want. As soon as I open any folder again they go back to being all spread out.
    I thought it may be a Windows problem but I have set it up correctly in Windows Explorer and saved it as that option for all files. They display perfectly on that and also other programs I use where I need to view large amount of images.
    Can anyone suggest what the problem may be and how I can fix it? Please see the following screen grabs which will show what I mean.
    The top version is how I like the files to look. The bottom version is what I always get in CS5. If you can solve the problem I would be very happy.
    Thanks Carol

    What you are seeing is a windows folder option.
    In Windows 7 click the start button, choose computer then open your C drive.
    From there you will see something similar to this,
    Click on the sort options and choose list. Now we need to make it the default so when you look in photoshop it remains as a list.
    to  do that from this same window choose tools then folder options.  A new window will pop up called folder options on the second tab called View is an all folders button, this will apply this view to all folders. if you have Photo shop open close it re-open it and how you will always get the view you want.

  • Performance problem with WPF Viewer CRVS2010

    Hi,
    We are using Crystal Reports 2010 and the new WPF Viewer. Last week when we set up a test machine to run our integration tests (several hundred) all report tests failed (about 30 tests) with a timeout exception.
    The testmachine setup:
    HP DL 580 G5
    WMWare ESXi 4.0
    Guest OS: Windows 7 Enterprise 64-bit
    Memory (guest OS): 3GB
    CPU: 1
    Visual Studio 2010
    Crystal Reports for Visual Studio 2010 with 64 bit runtime installed
    Visual Studio 2008 installed
    Microsoft Office 2010 installed
    Macafee antivirus
    There are about 10 other virtual machines on the same HW.
    I think the performance problem is related to text obejcts on a report document viewed in a WPF Viewer. I made a simple WPF GUI with 2 buttons and the first button executes a very simple report that only has a text object with a few words in it and the other button is also a simple report with only 1 text object with approx. 100 words (about 800 charchters).
    The first report executes and displays almost instantly and the second report executes instantantly but displays after approx. 1 min 30 sec.
    And execute in this context means that all VB.Net code runs in the compiler without any exception or performance problem. The performance problem seems to come after viewer.Show() (in the code below) has executed.
    I did another test on the second report and replaced the text obejct with a formula field with the same text as the text object and this test executed and displayed the report instantly.
    So the performance problem seems to have something to do with rendering of textobjects in the WPF Viewer on a virtual machine with the above setup.
    I've made several tests on local machines with Windows XP (32 bit) or Winows 7 (64 bit) installed and none of them have this performance problem. Its not a critical issue for us because our users will run this application on their local PCs with Windows 7 64-bit but its a bit problematic for our project not being able to run all of our integration tests but I will probably solve this by using a local PC instead.
    Here is the VB.Net code Im using to View the reports:
    Private Sub LightWeight_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
            Dim lightWeightReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            lightWeightReport.Load(Environment.CurrentDirectory & "\LightWeight.rpt")
            ' Initialize Viewer
            Dim viewer As LF.LIV.PEAAT.Crystal.Views.ReportViewer = New LF.LIV.PEAAT.Crystal.Views.ReportViewer()
            viewer.Owner = Me
            viewer.reportViewer.ViewerCore.ReportSource = lightWeightReport
            viewer.Show()
        End Sub
        Private Sub LightWeightSlow_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
            Dim lightWeightReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            lightWeightReport.Load(Environment.CurrentDirectory & "\LightWeightSlow.rpt")
            ' Initialize Viewer
            Dim viewer As LF.LIV.PEAAT.Crystal.Views.ReportViewer = New LF.LIV.PEAAT.Crystal.Views.ReportViewer()
            viewer.Owner = Me
            viewer.reportViewer.ViewerCore.ReportSource = lightWeightReport
            viewer.Show()
        End Sub
    The reports are 2 empty default reports with only 1 textobject on the details section.
    // Thomas

    See if the KB [
    [1448013  - Connecting to Oracle database. Error; Failed to load database information|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433343338333033313333%7D.do] helps.
    Also the following may not hurt to have a look at (if only for ideas):
    [1217021 - Err Msg: "Unable to connect invalid log on parameters" using Oracle in VS .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333033323331%7D.do]
    [1471508 - Logon error when connecting to Oracle database in a VS .NET application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433373331333533303338%7D.do]
    [1196712 - Error: "Failed to load the oci.dll" in ASP.NET application against an Oracle database|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393336333733313332%7D.do]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

Maybe you are looking for

  • Is there any way to prevent songs from replaying in GB IOS

    I'm having a problem with the IOS version of Garageband.  When my song gets to the end, it automatically goes back to the beginning and replays the song.  What do I need to do to prevent this from happening?  I just want the song to end and stop play

  • Acrobat X support for older version plug-ins

    Hi,         We have some plug-ins, which were created for acrobat version 7, later we upgraded them to support acrobat 8, and 9 also.          Now with the release of acrobat X, we want to support this latest version also, is it possible to support a

  • RMAN/TSM Configuration - Best Practices?

    Wondering how best to configure RMAN with TSM from a network perspective. Dual HBA's? Suggestions? Thanks.

  • Cannot Install CS2 on Vista

    Hello, I recently bought a new laptop and need to install Adobe CS2 on it. It is 64-bit and runs Vista Home Premium. I deactivated the User Account Control, and though the software did not Auto Run, I went into windows explorer and manually ran it as

  • New MacBook pro...Illustrator (CS3) won't open

    I just bought a new MacBook pro. I connected the internal hard drive from my old mac to get the programs onto the new but I am having problems with Illustrator opening (CS3). It acts like it opens but the tools never pop up nor does the menu at the t