Graphic Location/OLE  Bug?

Hi u2013
Iu2019m using Crystal 2008 (fully patched) and Visual Studio .Net 2003
We upgraded to Crystal 2008 as we specifically needed to dynamically load images into reports.
Iu2019ve encountered a problem that causes both the report designer and my application to crash.
We have a directory that contains over 70,000 passport size photographs uploaded from various sources. The report selects a number of these based on a URL thatu2019s constructed from within the procedure that feeds the report.
Iu2019ve tracked this problem down for one jpg image although there could be any number in the directory, as having run the report with different parameters Itu2019s hit and miss as to whether or not it works.
I can view this image in all sorts of other applications such as IE, Paint Programs, and previous versions of Crystal with no problem.
If I insert it as a picture (ole object) in crystal 2008 it interprets the pixel size as being cm which results in an image of 670 x 957 cm which is clearly wrong. Worst still if I link to this image via the graphic location and refresh the report I get crw32.exe has encountered a problem and needs to close which it promptly does.
When running from within a .Net application Iu2019ve had out of memory and division by 0 errors which Iu2019m assuming are down to the fact that the report is misinterpreting the image size.
The image thatu2019s been causing the problems can be found here if anyone wants to download and try it
http://winster.ad.nottingham.ac.uk/saturn2/photo/4050360.jpg
But as Iu2019ve mentioned this is only one out of an unknown number of over 70,000 making it impossible to track down and exclude any that may cause problems.
Any help appriciated, thanks.

Hi - after a bit more investigation I wrote a small application to scan the directories to try and identify the corrupt files although this doesn't really help me in the long term as these directories are added to as and when and the scan takes hours so it isn't really a viable option and Iu2019m still getting other errors that I canu2019t track down.
There are three 'types' of corrupt jpg's Iu2019ve tracked so far which Iu2019ve tested in the designer. Examples can be found at previous URL:
Resolution Error as mentioned previously
another example 4090552.jpg
Designer: insert picture - interprets pixels as cm i.e. 9 meters+ picture in 72k file
Graphic location - crash on refresh
Run time  - division by 0 - crash
Out of  Memory Error
example 4077115.jpg  
doesn't display in Explorer but can right click and copy to get the file 
Designer - insert picture - crash
Graphic location - crash on refresh
Run time - memory could not be read - crash
A Generic Error occurred in GDI+
example 4067352.jpg
Designer - insert picture - intermittently displays
Graphic location - doesn't display - fair enough
Run time - Division by 0 error - displays but totally wrong size
In addition after excluding all files identified above I get these at runtime when running via an asp .net application streaming the report to pdf
ASP.NET 1.1.4322.0 worker process
Division by 0
Invalid Pointer
Exception of type System.OutOfMemoryException was thrown
Error in File wr_course_list_by_school {C2665C87-3BEC-4B87-A620-309A3D37B3F2}.rpt: The request could not be submitted for background processing. (seems to work if can grow not checked)
All of these are related to the graphic location as it runs fine when the link is commented out
One for the moderators I think,  pretty much makes the software unusable for what we bought it for.

Similar Messages

  • How do you locate a bug WITHOUT the emulator and the console?

    Hi.
    I'm new here and my English is not perfect but I'll try my best to explain my problem.
    I'm trying to port J2ME games to various mobile phone devices. I've no problem fixing bugs on Nokia, Sony Ericsson, or any models that offer an emulator and a console window.
    *** The problem is: In some case, The same build runs fine on Nokia/Sony emulator, but crash/freeze on LG phones.
    (this is just an example, it's not only LG phones that have this problem though)
    I believe it is possible to locate the bug by:
    - use the 'try/catch' block and print the error message using something like
    g.drawString(e.toString(),0,0,0);
    where 'g' and 'e' is a Graphics and Exception objects.
    But I wonder if there's a way to print 'everything that should be printed on the console', on the phones's display. So we don't need to manually put try/catch block.
    ok, to sum up the question.
    Question:
    1. Is there a way to print 'everything that will normally appear on the console', on the phones's screen?
    2. If no, then I'll need to try/catch the problem.
    But how can you use try/catch and "drawString" everywhere in the code?, while the actual drawing will be done only in the "paint()" method?
    I'm thinking of using 'getGraphics().drawString' when using try/catch outside the paint() method. but what's the point if the actual drawing will be done only in paint() method anyway...
    Sorry if it's a stupid question. I just started learning Java programming 3 months ago, let alone J2ME. >_<
    Thank you. =)
    /bow

    Hi Kakyoin,
    What I found was helpfull is creating a method in the MIDlet where you can display messages. For instance:
        public void createFormScreen(Alert alert) {
            // Set up the initial screen for the MIDlet
            Form formScreen = new Form("Your MIDlet name");
            firstScreen.append("Welcome to your MIDlet");
            myChoice = new ChoiceGroup(null, ChoiceGroup.EXCLUSIVE);
            myChoice.append("Your first choice", null);
            myChoice.append("Your second choice", null);
            formScreen .append(myChoice);
            formScreen .addCommand(OKCOMMAND);
            formScreen .addCommand(EXITCOMMAND);
            formScreen .setCommandListener(this);
            theListener = this;
            if (alert == null) {
                 theDisplay.setCurrent(formScreen Screen);
            } else {
                theDisplay.setCurrent(alert, formScreen);
        }So, from your constructor call the createFormScreen method, and your initial screen will be displayed.
    When an allert situation occurs in an object, call createFormScreen in a method like:
         protected void displayMessage(String title, String msg) {
              // Display the error message
              Alert error = new Alert(title, msg, null,
                        AlertType.ERROR);
              error.setTimeout(Alert.FOREVER);
              myMIDlet.createStartScreen(error);
         }Now the error message will be displayed on the screen indefenitaly. Off course your object where the error occurred should have a reference to the MIDlet object. I hope this helps you.
    Maik

  • Dynamic Pictures using Graphic Location function

    I am using VS 2003 and CR 2008
    I have a report that shows a map of the site.  Depending on what site the report is ran for I want it to show a different image.
    I am using an OLE Object and setting the Graphic location to:
    "http://www.datascopeplc.com/DeliveriesAdmin/Maps/" + ToText ({DS.SiteID},0 ,"") + ".jpg"
    Where SiteID is the name of the image.
    This works fine when I am testing it in local host but when I place it on the server the image doesnu2019t show.  I replaced the path with the local path e.g.
    D:\DeliveriesAdmin\Maps\" + ToText ({DS.SiteID},0 ,"") + ".jpg"
    This worked but the problem is when I move it to the live server the images wont be held there so I need to use the first path.
    Any help would be great.

    Hi Brian
    I have tried this on both the live server and the test server and both servers can access the URL.  Any more thoughts?

  • Crystal Report 9 How change graphic location?

    Post Author: Maroxye
    CA Forum: Formula
    Hi!,
    We works with Crystal report 9. I know that in X1 version, you can change the graphic location but how can i make that in version 9? I put a picture in my report and i want to change the source of this picture according to a parameter.
    Thanks for your help!

    Hi
    once u have process scheduler setup, under server definition u will add crystal to run with min and max api ware. this will take any crystal running on that scheduler.
    on the psprcs.cfg file u will add the path where it should pick up for running the report. if u look into the install guide, everything is clearly mentioned.
    Thanks!

  • CR IX R2 Graphic Location not working with VS 2005

    I have a folder that has a few thousand part images.
    I created a report in CR IX R2 development and I have an image in my report that changes based on a part number parameter and it works great. If you r-click on an image, choose Format Graphic, click the Picture tab and at the bottom there is an X-2 formula button. I placed my image path and other info need to dynamically change based on the part number.
    Looks like this : "C:\PartImages\" & {@PartImage} & ".tif"
    The formula {@PartImage} is this: Left ({?PartNo},4)
    When I add my report to my VB.net project I loose the feature and I think its because the version of crystal reports is older then the one I used to design my report and its not supported.
    If I open the report with in VS2005, I don't have that option or see anything that would help me do this.
    Does anyone have any ideas?
    Can I pass an image to a crystal report as a parameter???
    I've posted this on the MSDN and so far I've gotten no hits. So I figured I'd try this forum.
    cheers!

    I have this posted on the MSDN site and I have not gotten any responses.
    I have CR XI r2  installed on the same server as VS2005, this is how I can see that new feature for the graphic location.
    My reference assemblies are version 10.2.3600 if VS2005.
    Is there anyway to change what version of the Assemblies are in VS2005 to use the CR IX R2?  How do I ensure .net to use the 11.5 ones and not the 10.2?
    Maybe thats my whole problem
    Thanks for your help!

  • Crystal Reports 2008 crashes when previewing image with graphic location

    Hi,
    I'm using Crystal Reports 2008 for SAP Business One.  When I try to insert an image with a UNC graphic location (browse to a UNC drive for image) and I preview, Crystal Reports crashes with the following debug info:
    Problem signature:
      Problem Event Name:     APPCRASH
      Application Name:     crw32.exe
      Application Version:     12.1.0.892
      Application Timestamp:     48de4bbc
      Fault Module Name:     cslibu-3-0.dll
      Fault Module Version:     12.4.0.966
      Fault Module Timestamp:     4daed0a1
      Exception Code:     c0000094
      Exception Offset:     0002d7fd
      OS Version:     6.1.7601.2.1.0.272.7
      Locale ID:     1033
      Additional Information 1:     0a9e
      Additional Information 2:     0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:     0a9e
      Additional Information 4:     0a9e372d3b4ad19135b953a78882e789
    Any idea why?  If I trun graphic location off, it works fine.
    The code I'm using to pull image is:
    sapserver\B1_SHR\Bitmaps\Versailles\" & {RSM_Inventory_Images;1.PicturName}
    Thanks.

    Through  Startu2014Run are you able to view the image by choosing the following path ?
    sapserver\B1_SHR\Bitmaps\Versailles\" & {RSM_Inventory_Images;1.PicturName}
    Also try to insert any image which is on your local hard drive and try.  I think this is because, CR is unable to access the images which are on UNC.
    Thanks,
    Sastry

  • Setting the graphic location to a local file (RESOLVED)

    Hi,
    I placed an image on my report and set the graphic location to an Excel file with a list of web addresses.  The report successfully outputs the image from each of those web addresses.
    I've tried putting a local file address in my Excel file (for example, "File: and it doesn't appear to work (Crystal outputs the default image instead).  Does Crystal Reports not allow for this?
    Thank you.

    Nevermind, got it to work.  Just needed to format the file path a bit differently in Excel.

  • Setting the Graphic Location to https address

    I want to provide the user the option to set the location (http or https) of the logo file.
    It works fine when the graphic location of Picture was set to http:// address whereas it is https:// it doesn't display the image.
    When I use IE to load the image both http and https location works fine.
    Is this is known issue or is there any way I can debug to find out what's causing this issue.
    Thanks for your response.

    Hi,
    If you have the same issue mentioned in note #1281124 below is the description:
    Note can be searched from here:
    [https://www.sdn.sap.com/irj/boc/notes]
    Symptom
    Crystal Reports .NET SDK application.
    Production system with CR .NET SDK (version 12) installed.
    Change graphic location of a picture object to http source. 
    The picture object doesn't change if a HTTP source is used.
    The picture object changes correctly if local file is used on a mapped drive.
    Reproducing the Issue
    Crystal Reports 2008 SP1
    Visual Studio .NET 2003, 2005, or 2008
    Add a Picture object to a Crystal Report
    Right click the picture object on the report and select Format Graphic
    Click on the Picture tab
    Click on the X-2 button beside Graphic Location
    Enter the URL of your graphic. For example "http://www.sap.com/canada/company/press/images/Raihan_Riaz.jpg"
    Use this report in a CR .NET SDK app on a computer with the CR .NET SDK installed
    Note  The CR .NET SDK must be installed using Crystal Reports 2008 Redist Install, ClickOnce, or a setup package including the Crystal Reports 2008 merge modules. 
    Cause
    This is a known issue and tracked with ADAPT01172734
    This problem occurs because libcurl.dll is missing on the production system.
    The Crystal Reports 12 Server Install, merge modules, and ClickOnce don't install libcurl.dll.
    Resolution
    This issue has been resolved
    Use the redistributable package or merge modules from Fix Pack 1.4 to distribute the Crystal Reports 2008 runtime files
    The redistributable files for Fix Pack 1.4 can be downloaded here SAP Crystal Solutions Downloads
    Regards,
    Shweta

  • "Graphics Location" functionality not working in CR2008, using SP1 Runtime

    I'm using Crystal Reports 2008 SP1 (BuildVersion=12.1.0.883.CR_Mira_RTM). In some of my reports I'm setting the graphic location to a web address. On my development machine this all works fine.
    On my production server I've installed the SP1 Runtime Version (CRRuntime_12_1_mlb.msi)
    and am running the reports via a Dot Net application. The images are not updating with the image from the web location.
    If I then install Crystal Reports 2008 SP1 on that machine, without making any other changes, the images start to update with the image from the web location.
    Can anybody tell me which DLL is being used to grab the image from the web so I can include it in my deployment package? Or can somebody tell me how to get the Graphic Location functionality to work with the Runtime version.
    NOTE: During installation of the Runtime version, it prompts me for a Product ID. I can install the runtime if I leave it blank. I've tried that. I also tried just putting garbage in there and the error message comes back saying it's an invalid product KEY. So I've installed using my Crystal Reports 2008 Product key as well. Still no luck.
    help is appreciated

    The product key is not coming into play I this case. Having said that, I am not sure what the issue may be, however you may be able to track down the dll by using the following utilities:
    1) Modeules.exe, which can be downloaded from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
    2) Process Monitor, which can be downloaded from here:
    http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx
    Modules will allow you to compare the dlls on a server that has CRW32.exe and a system that had only the runtime. Process Monitor, may report a missing dll in it's logs.
    Now, while it may be useful to find out the above, this being a web app typically means you need to install it on a limited number of servers, possibly just one? Since it is working now, it may be worth considering the ROI on figuring out the runtime(?). E.g.; it may not be worth the effort? If licensing is the worry, simply delete the CRW32.exe and you've eliminated the issue.
    Ludek

  • Geospatial location tool bug help

    In adobe reader 11, i check marked 'geospatial location tool' located in 'edit->analysis->geospatial location tool', now i cannot uncheck it. is it a bug or is it supposed to be unchecked in different way?

    Yes, you're right. It is working now properly.
    I can reproduce it easily though (if I use this preview functionality again). And even after closing all Internet Windows, this issue still occurs. But after few days, it works again.
    I'm now using SE80 or directly the link to the CRM BSP application to preview my PCUI applications.
    Thanks for all your answer.
    Stephanie

  • 'No storage location Set' Bug in FCPX 10.1!!!  Only allowing 3 Clips to importat a time!!!

    Hi, I am an independent filmmaker shot around 42 days of material in Canon C500, 5D Mark3 and 60D. I am using OSX Mavericks 10.9.1 and FCP 10.1, Irecently bought a new Imac to edit the project on my ease. The Configuration is as below-
    I was happily importing the footage in FCPX 10.1 and everything was smooth so far.  But few days back when I tried to complete my remaining footage ingest it suddenly started showing me this message -
    I tried the preference menu and couldn't find anything over there which I did mistake probably....or atleast I can't remember
    Even after repeatative happening of this problem I tried importing it in a separate library and separate event but the problem still remains.... If I give more than 3 files to import it shows the error message and after that I have to hit OK to get out of it ....other than those three files... For Example if I give five files then I have to HIT it twice to remove the dialougue box!!!!
    After the dialougue box goes it shows all the five clips....but the footage that was not importing shows a CAMERA Icon!!!!
    I have to manually delete those files before re-importing. Cause re-import doesn't work. And since it is really not importing later on as expected it shows a missing camera icon in the event browser and the viewer
    I converted and trasferred before and never had any such problems.... now after 3 clips the transfer doesn't work. I have to wait until the three files get transcoded before I can continue further ingesting. Accidentally If I import those clips I may even edit with this without knowing that it is showing a camera icon like this ----
    The footage with the Camera Icon didn't IMPORTED and to import I have to manually delete those first and re-import again. I really don't know any solution of this... I tried already few trouble shootings
    1. Tried different Hard Drive to test if it was a HDD issue,
    2. I have uninstalled and re-installed FCP 10.1,
    3. I removed the preference file few times going through holding  Optionbutton> Finder>Go>Library>Preferences and deleting those FCP peferences and had a fresh start !!!
    4. Tried my Macbook Pro which have Maverics 10.9.1 and FCPX10.1 installed to see if it was a problem with my IMAC?
    But Still Bad luck
    Any suggestions please? I am not sure what I am doing wrong
    Thanks for your time

    Had the same issue, Took me a day but managed to get it fixed (till it will crop up again).
    I re installed FCPx according to the APPLE instructions .  I think it is important to empty the CACHE as that is where the problem may be stored.....
    These are the instructions from APPLE :
    In Finder, choose Applications from the Go menu.
    Locate the Final Cut Pro application and drag it to the Trash.
    In Finder, hold down the Option key and choose Library from the Go menu.
    In the Library folder that opens, open the Application Support folder. Move the Final Cut Pro folder to the Trash.
    Return to the Library folder and open the Caches folder. Move the "com.apple.FinalCut" folder to the Trash.
    Return to the Library folder and open the Preferences folder. Move the following files to the Trash:
    com.apple.FinalCut.LSSharedFileList.plist 
    com.apple.FinalCut.plist
    com.apple.FinalCut.UserDestinations.plist

  • Bug report iMovie '11 Title, Picture, Transitions Location Duration bug

    In iMovie '11 version 9.0.1 (1095) there is a very annoying bug if you use Norwegian or Dutch. I presume in other languages as well, but in English I can't repeat the bug.
    Set System Preferences > Language & Text to Nederlands or something else (not English).
    In iMovie, add a Title, try to change Duration in the inspector to something between 10 and 59 seconds. The clip will change to 9:58 seconds.
    I don't know how to do bug reports, so there you go. My parents and parents in law (south of 70) would love to see this fixed. I am very proud they even use this stuff, I don't see them relearn their patiently acquired skills in English.

    In iMovie, if you click iMovie/Provide Feedback, you can send your comments and bug report to Apple.
    This is a user to user forum, so they may or may not see it here. I would not count on it.
    I think it is great that your parents are making movies.

  • Graphic Assets Noise (BUG?)

    Take a look at
    http://www.shewflowers.com/test_mp3/songfish_mp3_player.html
    ... down towards the bottom is a skinned button ... as you can see
    the skinning is working fine, but there is a border around it that
    is not in the original file ... this happens if I use GIF or PNG
    file types ... the reason for the file type decision is that there
    is transparency added to the image file ... what do you guys think?
    any help is greatly appreciated ... if any of you have seen this,
    was there something you did to over come the issue?
    Thanks again!

    well i doubt its a bug, flex handle pngs extremely well.
    I think its your actual file. Would i be right in assuming it
    was originally on a white bg and you just "magic wanded" out the
    white? thats usualy an artifact of that.
    Easiest FIX: get the eraser in you gfx prog of choice and get
    rid of the white.
    IF that doesnt work, have a close look at the orig image.
    because pngs usualy work fine if made right.

  • Graphics re-draw bug in main Hyperdraw window?

    Hi there,
    I'm struggling to explain this one clearly, but I'll give it a go....:
    When moving or copying a multiple-selection of events in Hyperdraw (e.g. copying 2 bars of pitchbend), the ghost-outlines created to show the potential new position of the events (before you let go of the mouse) get repeatedly drawn across the grid (as you move the mouse around) without the 'old' ghost-outlines clearing, thus making it very tricky to know where you're dropping the copied events to because the entire grid-line is filled with ghostlines....
    Can anyone else replicate this problem? It looks like a bug from where I'm sitting....
    Thanks,
    Jason

    bump...

  • How to create graphic clickable email bugs in signature?

    I would love to create clickable icons on the bottom of my work emails for Facebook, LinkedIn, etc.
    What is the best way to go about this? Do I write the raw html code, including clickable areas and then drop it in the signature sub directory? Is there an easier way?

    You can always take a screen shot of the video, add a play button (which really wouldn't be an actual play button) and link the image to your HTML page where the video is located.

Maybe you are looking for

  • How to deal with dynamic selection screen elements when macros are used?

    Hello experts, This is regarding the dynamic selection screen elements. Actually the requirement is to modify the existing standard report program RFUMSV00 by copying it into a Z report, adding a few selection screen elements and new fields in the ou

  • Combo Box in Portal Form resets after query

    Hello all, I have a portal form based on Stored Procedure. In it I have a Location combo box and Query button in addition to few text items. Users can select location from the drop down list and hit Query button to view the values in for the text ite

  • What is happening?

    Can any body help please. Some years ago I purchased Marcomedia's Homesite 5.5 and have very contentedly been using it almost on daily basis until today, (May 22 2011) when on trying to open I get a dialogue box asking me to put in my serial number w

  • DrillDown on Filter Pane

    Hi, We had an option to display drilldown chars on Filter Pane in 3.5 WAD but i don't see that option in filter pane in NW04's WAD. Is there any other we can display drilldown on filter pane? Thanks, Damodhar.

  • WebUtil dll download error: Unable to write to local file

    Hi, Hopefully I'm putting this in the correct forums. I'm setting up a Forms application that uses webutils. We're running Forms and Reports standalone (10.1.2.3.0) running on Solaris Sparc (64bit) and have just applied patch 7703734. As per Oracle S