Customer Service | Training | Contact Us
You are here: Home > User Forums > mapobjects users on-line discussion forums > Thread Replies

MapObjects Users On-Line Discussion Forums

MapObjects -Windows Edition forum

Images not appearing (inconsistent) TIF not...   Brendan Lee Jan 30, 2008
Re: Images not appearing (not consistent)   Lakshmanan Venkatesan Jan 30, 2008
Re: Images not appearing (not consistent)   Brendan Lee Jan 31, 2008
Re: Images not appearing (not consistent)   Lakshmanan Venkatesan Jan 31, 2008
Re: Images not appearing (not consistent)   fauzul Azhan Feb 04, 2008
Re: Images not appearing (not consistent)   Lakshmanan Venkatesan Feb 04, 2008
Re: Images not appearing (not consistent)   Brendan Lee Feb 07, 2008
Re: Images not appearing (not consistent)   Lakshmanan Venkatesan Feb 07, 2008
Re: Images not appearing (not consistent)   fauzul Azhan Feb 07, 2008
Re: Images not appearing (not consistent)   Brendan Lee Feb 11, 2008
Re: Images not appearing (not consistent)   Lakshmanan Venkatesan Feb 12, 2008
Re: Images not appearing (not consistent)   Brendan Lee Feb 12, 2008
Re: Images not appearing (not consistent)   Lakshmanan Venkatesan Feb 12, 2008
Re: Images not appearing (not consistent)   fauzul Azhan Feb 12, 2008
Re: Images not appearing (not consistent)   Brendan Lee Mar 19, 2008
Re: Images not appearing (not consistent)   Maarten VanDenBroek Apr 14, 2008
Workaround for this problem   Maarten VanDenBroek Apr 21, 2008
Re: Workaround for this problem   Brendan Lee Apr 21, 2008
Re: Workaround for this problem   Maarten VanDenBroek Apr 22, 2008
Re: Workaround for this problem   Lakshmanan Venkatesan Apr 22, 2008
Re: Workaround for this problem   Maarten VanDenBroek Apr 22, 2008
Re: Workaround for this problem   Lakshmanan Venkatesan Apr 22, 2008
Re: Workaround for this problem   Brendan Lee Apr 22, 2008
Re: Workaround for this problem   Paul Phillips Dec 04, 2008
Re: Workaround for this problem   Paul Phillips Dec 10, 2008
Report Inappropriate Content • Top • Print • Reply    
Subject Images not appearing (inconsistent) TIF not Valid Image Format? 
Author Brendan Lee 
Date Jan 30, 2008 
Message A few users have noticed that the images (tif and bmp) are not showing up in my MO application. I have the same issue on my development machine.

Thinking something was wrong with my install package I reinstalled MO 2.4 on my machine. Still not working. I reinstalled it again and it worked briefly but is not consistent. Seems to work, then not. Works in code, but not when compiled.

Is it possible something isn't getting installed properly or is having conflicts? If I try to add an image to the map (right click on the map-->Properties-->Add in development) I can't see any of my images in the Add Dialog box. If I add just images to the map (in code), only the last one added is visible.

I know my install works! The application is running without problems on a bunch of machines. The machines that are having this problem are newer machines (new XP image). The install works on older machines with no problems. Could there be something on the new machines that is causing problems? 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Lakshmanan Venkatesan 
Date Jan 30, 2008 
Message When loading images there should be necessary dlls to be installed.

I have seen many times that it is *very* common for the libtiff.dll to end up in the wrong folder. Check the destination folder when building your installation set. The Windows system32 folder is alternative. But, if you're using the MapObjects Runtime, this point is moot, in which case do not assemble and locate the libtiff.dll yourself. Let the Runtime do it for you.

The cleanest way to do this is to use the MapObjects Runtime (mo24rt.exe). Be sure to use the 'J' argument on the command line for core image support. Add to that 'M' if your rasters are in an image catalog, 'K' or 'L' for MrSID or ERDAS images respectively. See the MO24Runtime.doc for detailed information.

If you're not using MO 2.4, there are similar runtime executables for MO 2.1, 2.2, and 2.3.

Let me know wheather these information is helpful to you 
  MapObjects Forum: If this solution answers your question please click 'this posting answered my question'.

ArcGISServer Forum: Beginner | AGS 9.2 | SP3 | Eclipse 3.2 | Tomcat 5.5 | Java

Blog:http://gisprog.wordpress.com/ 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Brendan Lee 
Date Jan 31, 2008 
Message The installation is working. The problem is only happening on a few machines. It's happening on my machine where I do development. I have even reinstalled MO twice. So it's something else I'm guessing.

I set up my application to check if the images are valid and all of them are throwing an error that they are not valid. But again only on some machines. 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Lakshmanan Venkatesan 
Date Jan 31, 2008 
Message What is OS on m/c where you images are not valid. I am sure this is due to dlls required for images are missing. Have you installed MO with all options checked?

Check the dll's in under ESRI/common folders on both the machines 
  MapObjects Forum: If this solution answers your question please click 'this posting answered my question'.

ArcGISServer Forum: Beginner | AGS 9.2 | SP3 | Eclipse 3.2 | Tomcat 5.5 | Java

Blog:http://gisprog.wordpress.com/ 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author fauzul Azhan 
Date Feb 04, 2008 
Message I also face similar program. What the require dll need to open the tif raster forma? 
  Post graduate Student
Malaysia, 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Lakshmanan Venkatesan 
Date Feb 04, 2008 
Message You have included MO Runtime while taking setup. Mo Runtime will take care of all your needs.

 
  MapObjects Forum: If this solution answers your question please click 'this posting answered my question'.

ArcGISServer Forum: Beginner | AGS 9.2 | SP3 | Eclipse 3.2 | Tomcat 5.5 | Java

Blog:http://gisprog.wordpress.com/ 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Brendan Lee 
Date Feb 07, 2008 
Message The images are not showing up on the machine that has MO installed directly.

When loading the images I check that they are valid, imgLayer.Valid, and MO doesn't recognize them as valid! It is only on some machines and ALL machines have had the application installed with the same install package. ALL machines have the correct dll's in the correct directory.

It leads me to believe something is causing a conflict on these computers the images don't appear. What could be missing/installed on these computers that is causing this? 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Lakshmanan Venkatesan 
Date Feb 07, 2008 
Message Draw a comparison between successful installation and unsuccessful. What are the dlls present/absent in both the machines. Have you taken a setup with MO Runtime?. Check the files installed in System folder. I also advice to you read release notes for MO

 
  MapObjects Forum: If this solution answers your question please click 'this posting answered my question'.

ArcGISServer Forum: Beginner | AGS 9.2 | SP3 | Eclipse 3.2 | Tomcat 5.5 | Java

Blog:http://gisprog.wordpress.com/ 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author fauzul Azhan 
Date Feb 07, 2008 
Message Read the attach file below and let me know.

I think you may miss Affine.dll. Check this files and don't forget to include it in your package

C:\Program Files\Common Files\ESRI\MO_image\Usr\Lib\NTx86\GeometricModels 
  Post graduate Student
Malaysia, 
  mo21deployments.pdf (opens in new window)
 
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Brendan Lee 
Date Feb 11, 2008 
Message I have checked and all those files exist in the correct locations. My install application does use the MO runtime in the setup.

Just to make sure everything is where it's supposed to be and everything is registered, I uninstalled MO and reinstalled it. It worked, I was able to draw the images in my application! BUT when I quit VB and restart it, the images don't show up!

This is really driving me crazy!! 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Lakshmanan Venkatesan 
Date Feb 12, 2008 
Message Read this thread
http://forums.esri.com/Thread.asp?c=9&f=85&t=231119&mc=10

Check the file path between two machines. 
  MapObjects Forum: If this solution answers your question please click 'this posting answered my question'.

ArcGISServer Forum: Beginner | AGS 9.2 | SP3 | Eclipse 3.2 | Tomcat 5.5 | Java

Blog:http://gisprog.wordpress.com/ 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Brendan Lee 
Date Feb 12, 2008 
Message The dlls are in /Program Files/Common Files/ESRI on all machines.

In the thread you linked to there was discussion of the dll's going into the app directory? Is that the case?

There was also the issue of a microsoft update causing problems. Could that be the issue as well?

I'm confused. 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Lakshmanan Venkatesan 
Date Feb 12, 2008 
Message Chances are high to microsoft updates. Some of dlls are shared across MO, so please verify that.

 
  MapObjects Forum: If this solution answers your question please click 'this posting answered my question'.

ArcGISServer Forum: Beginner | AGS 9.2 | SP3 | Eclipse 3.2 | Tomcat 5.5 | Java

Blog:http://gisprog.wordpress.com/ 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author fauzul Azhan 
Date Feb 12, 2008 
Message Update your VB service pack.. download latest VB services Pack 
  Post graduate Student
Malaysia, 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Brendan Lee 
Date Mar 19, 2008 
Message I'm including the following files in my setup:

AiImage20.dll, Mobase.dll, Mofeat.dll, Mogridio.dll, dforrt.dll, Elib.dll, Efileio.dll, Ergxlib.dll, Ethrlib.dll, ISO8211.dll.

Are there any other files required to view images? Do any of the above mentioned files have any dependencies?

On some computers images are not showing, but on others they are. I have tried every other avenue and it leads me to believe something is missing on some computers that is causing the images to fail to load. 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Images not appearing (not consistent) 
Author Maarten VanDenBroek 
Date Apr 14, 2008 
Message Hi Brendan,

We seem to have a problem very similar to the one you are describing. Did you manage to find a solution in the end or are you still waiting for the golden tip? 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Workaround for this problem 
Author Maarten VanDenBroek 
Date Apr 21, 2008 
Message As noted in the previoous post we were dogged by this problem as well. Since then we have found a workaround.

We were able to determine that the client software for Oracle 10 was causing the problem (at least in our case). The Oracle software somehow interferes with the MapObjects software and prevents it from opening the image catalog and reading TIFF files. When we changed our application to intialize the GIS (loading the layers thus forcing it to load all its DLL's) BEFORE loading the Oracle client software DLL's, the problem went away. 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Workaround for this problem 
Author Brendan Lee 
Date Apr 21, 2008 
Message Interesting. So you changed the code in your application to load the images first and then Oracle? Or is it how you installed on the computer?

The new image on our computers has Oracle 10 installed. What has made this really frustrating is that it works on some computers and not others. I will take a look at this and see what we come up with.

Does your application use an image catalog? My application only loads those images needed for the current extent. I have a table in Oracle, like an image catalog, that I query to get all photos in the current extent.

 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Workaround for this problem 
Author Maarten VanDenBroek 
Date Apr 22, 2008 
Message Hi Brendan,

Yes, the only thing we did was to make code changes in (the initialization section of) our application. Except from running a different build of the EXE, we did not change anything on the PC's that were having the problems.

And yes, our application uses an image catalog. In fact, calling the OpenCatalog function of the IMoImageLayer interface seems to be the crucial step in the initialization process. It is at this point that MapObjects loads a number of DLL's (aimage.dll, dforrt.dll, elib.dll and others) that it can't or won't load when the Oracle-10 DLL's are already loaded. So make sure to do an OpenCatalog call up front, other initialization stuff can probably wait.

As you write, Oracle-10 is not the only factor. My own development PC has Oracle-10 client software and (inconveniently enough) did not exhibit the problem.

Good luck with your efforts! 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Workaround for this problem 
Author Lakshmanan Venkatesan 
Date Apr 22, 2008 
Message Good finding. I've been continosuly watching this thread (and others too) for quite some time on this issue. But this is first time someone able to find the probable causes. Earlier, it was mainly due to improper installation of MO. The solution suggested is use to of MO Runtime for installation.

Anyway good work. Full credit goes to your efforts. Meanwhile how did you found that MO dlls has not been loaded due to Oracle?. Any clue or tool, if you could explain defintely it will be good help for others


 
  MapObjects Forum: If this solution answers your question please click 'this posting answered my question'.

ArcGISServer Forum: Beginner | AGS 9.2 | SP3 | Eclipse 3.2 | Tomcat 5.5 | Java

Blog:http://gisprog.wordpress.com/ 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Workaround for this problem 
Author Maarten VanDenBroek 
Date Apr 22, 2008 
Message Thanks for the credit! However I'm viewing my contribution as a workaround, not a solution. A solution wil have to come from you ESRI folks. I've noticed on this forum site you're already in touch with Oracle on other issues so you may want to include this one as well.

I knew Oracle-10 was causing the problems because our application EXE can run with two databases (Oracle and FoxPro) depending on startup settings. When it runs in FoxPro mode it doesn't load the Oracle DLL's, and what I saw was that the problem occurred only in Oracle mode and not in FoxPro mode. This was on one and the same PC with no other change except for toggling the Oracle/FoxPro startup setting.

An indispensible tool in analyzing this problem was Microsoft's 'Process Explorer' which shows exactly which DLL's are loaded by the EXE at any given point. Highly recommended (and free)! 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Workaround for this problem 
Author Lakshmanan Venkatesan 
Date Apr 22, 2008 
Message Thanks!
 
  MapObjects Forum: If this solution answers your question please click 'this posting answered my question'.

ArcGISServer Forum: Beginner | AGS 9.2 | SP3 | Eclipse 3.2 | Tomcat 5.5 | Java

Blog:http://gisprog.wordpress.com/ 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Workaround for this problem 
Author Brendan Lee 
Date Apr 22, 2008 
Message Maarten,

It looks as though this solved the problem. I modified my application so it loads an image at start up and it works on several machines that weren't working before. I want to test on a few more machines...but it looks like that solved it!

Thanks so much!! You don't know how much grief you have saved me from.
 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Workaround for this problem 
Author Paul Phillips 
Date Dec 04, 2008 
Message We have the same problem with Oracle 11g, and the suggested workaround doesn't work for us.

Does anyone have any suggestions for workarounds, other than upgrading to the rather expensive ArcEngine and spending four months rewriting the application? 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Workaround for this problem 
Author Paul Phillips 
Date Dec 10, 2008 
Message Here is the official we do not support this anymore response from ESRI

With regards your call below
Hello,
Your call has been sent to ESRI, Inc Support at Redlands, here is their findings in regards to this call.
I have been investigating your Issue.
I would like to tell you, that ESRI Supports Accessing data on Databases, only through Data Access Objects 3.5.
This Oracle client is not supported by ESRI.
In addition to this, Windows Xp Sp3, is not supported.
Furthermore, since MapObjects 2.4 is in a Mature state of Support. Due to this, it will not be certified for new Environments.