Book a Demo

Author Topic: Problems with images / image manager  (Read 7116 times)

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
Problems with images / image manager
« on: August 06, 2014, 05:00:01 pm »
Hello,
we are planning to migrate our EA model repositories from PostgreSQL 8.4 to 9.3.x.
After having set up the new server and database we transferred a model to the new server:
- On old server: create a backup file using pgAdmin III
- Copy file to new server
- On new server: restore the backup file into a database

When connecting from EA on a client PC to the new database EA 11 does not display images  that have been imported to the model.

All images accessible via the Image Manager (menu Settings -> Images...) cannot be displayed by EA.
Clicking on a bitmap "File Type" image shows only a black preview image.
Image of "ENHMetafile" type are commented with a message box telling "Not a PNG file", which is obviously correct.

I checked accessing the model with EA 9 and EA 11. Both version show the same behavior when using PostgreSQL 9.3.x as repository server.
When connecting to the old server with PostgreSQL 8.4 all EA versions don't have problems with the embedded images in the models.

I cannot image what might be different between PostgreSQL 8.4 and 9.3 concerning images in an EA model. Images are stored as binary data in the database.
So what is wrong here?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Problems with images / image manager
« Reply #1 on: August 06, 2014, 07:24:32 pm »
You should instead try the model transfer in EA: Tools/Data Management/Project Transfer

q.

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
Re: Problems with images / image manager
« Reply #2 on: August 11, 2014, 10:36:22 pm »
Today I found the time for checking the Project Transfer.
I always get a "Transfer Error" message window telling (text a bit shortened):
"Error from Microsoft Cursor Engine
Data provider or other service returned E_FAIL.
[Select * from t_xref]
Field: link"

A project transfer from one model to another model within teh old server works without problems.
A project integrity check show no issues.

Something is strange with PostgreSQL 9.3 in conjunction with EA.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Problems with images / image manager
« Reply #3 on: August 12, 2014, 03:57:17 am »
I remember having read something similar here. IIRC it was related to some column sizes, but not sure. You should contact Sparx support.

q.