Book a Demo

Author Topic: Project transfer empty  (Read 10772 times)

royvanmarrewijk

  • EA User
  • **
  • Posts: 61
  • Karma: +1/-0
    • View Profile
Project transfer empty
« on: May 02, 2016, 11:27:23 pm »
Hi,

I use the Project Transfer function to create an export of the model once in a while and it usally it works fine. But for some reason it doesn't work anymore since the Project Transfer (DBMS -> EAP) is done within a second and the .EAP is empty.

Does anyone of you have an idea what this could be?

kind regards,
Roy

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Project transfer empty
« Reply #1 on: May 02, 2016, 11:33:16 pm »
What do you mean by "done within a second"?

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Project transfer empty
« Reply #2 on: May 02, 2016, 11:35:52 pm »
No sorry Roy, never heard of a similar issue.

Geert

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Project transfer empty
« Reply #3 on: May 03, 2016, 11:17:03 am »
I've had that happen once, but after I restarted the client and recreated the target it all worked again.

Robert Lelieveld

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Project transfer empty
« Reply #4 on: August 11, 2016, 09:32:45 pm »
Same issue here, when trying to transfer data from the DBMS to an .eap file the process completes immediately. Nothing was actually transferred.

Project Transfer
- DBMS to File

Source Project
- Microsoft OLE DB Provider for SQL Server, 'Test Connection' is OK
- security on the database: public, db_datareader, db_ddladmin

Target Project
- test.eap, just created, saved and closed

Contents of the log file:
Code: [Select]
+--------------------------------------------
| Data Transfer model log file
| Generated by Enterprise Architect
| Source DBMS: SQLSVR
| Target DBMS: JET
| Created On : Thursday, 11 August, 2016
+--------------------------------------------
2016-08-11 13:12:10  Removing data in: usystables

EA version 12.1.1224 is used.
Database Version: 7.0
SQL Server 11.0.5623 is used.

There are no issues with working with the DBMS version, via a server connection or via a cloud connection.
Restarting EA does not fix it.

What could be wrong?

Robert Lelieveld

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Project transfer empty
« Reply #5 on: August 16, 2016, 08:50:47 pm »
In the options I found a flag saying to Use JET 4.0 - requires restart.
With or without the flag doesn't change the outcome of the data transfer action.

Who came across this same behavior and was able to solve it?

@Roy: were you able to solve it?


Thanks,
Robert

voegelas

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Project transfer empty
« Reply #6 on: September 16, 2016, 11:14:09 pm »
Same problem here. It turned out that the table usystables, which lists all EA tables, was empty in the source project. After I populated this table with data from another EA project I could transfer the source project to a file.

silvestri

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Project transfer empty
« Reply #7 on: November 08, 2016, 07:53:58 pm »
Same here while using  Postgres 9.6.1 and ODBC driver 9.05.03.00 and EA 13.

Any support and hint would be very appreciated.


Robert Lelieveld

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Project transfer empty
« Reply #8 on: November 23, 2016, 06:41:46 am »
Same problem here. It turned out that the table usystables, which lists all EA tables, was empty in the source project. After I populated this table with data from another EA project I could transfer the source project to a file.

Yes, this indeed fixed it!

After that, I had an issue with the t_taggedvalue table that apparently contained an orphaned value. You can recognize this because the ElementID is NULL.
Just remove it.

Then, the project transfer worked again without issues.

Looking at the various types in the project, it seems a lot more is missing somehow. I'm now analyzing the database against the base.sql file available in the download section to search for differences and applying them to the database.
No idea though, why many types etc are not in the database.

Kind regards,
Robert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Project transfer empty
« Reply #9 on: November 23, 2016, 09:23:08 am »
I guess a standard project integrity check would have cleaned those orphans. You should setup a rule to run this check at least once a week.

q.