Book a Demo

Author Topic: Problems migrating from build 744 to 766  (Read 4696 times)

analia

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Problems migrating from build 744 to 766
« on: October 12, 2005, 12:27:26 pm »
Hi everybody!
I'm trying to migrate a project created with EA 4.5 (build 744) to EA 5.0 (build 766)

When I try to modify a class operation with the new version, I get the following error message:

  DAO.Recordset[3388]
  Unknown function 'Date' in validation expresion or default value on 't_object.CreateDate'.

Does anyone know how to deal with this?

Thanks in advance for your help.
Analía

analia

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Problems migrating from build 744 to 766
« Reply #1 on: October 12, 2005, 12:57:00 pm »
One more thing: Despite the error message, the update on the class operation is done.

The actual problem appears when trying to import a package from a 744 project to a 766. I get a sequence of error messages and the package is not imported:

DAO.Recordset[3388]
  Unknown function 'Date' in validation expresion or default value on 't_object.CreateDate'.

DAO.Recordset[3020]
  Update or CancelUpdate without AddNew or Edit

followed by repeated EA errors saying that package could not be found to insert diagrams in it.

I'd appreciate your suggestions on this topic.


thomaskilian

  • Guest
Re: Problems migrating from build 744 to 766
« Reply #2 on: October 13, 2005, 12:43:44 am »
I'd directly go to Sparx support and report that issue. It's for sure nothing we users encounter in our daily work.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Problems migrating from build 744 to 766
« Reply #3 on: October 13, 2005, 01:41:47 pm »
Where do you store your model? In EAP file, SQL Server repository.... etc.?

Bruno

Quote
One more thing: Despite the error message, the update on the class operation is done.

The actual problem appears when trying to import a package from a 744 project to a 766. I get a sequence of error messages and the package is not imported:

DAO.Recordset[3388]
   Unknown function 'Date' in validation expresion or default value on 't_object.CreateDate'.

DAO.Recordset[3020]
   Update or CancelUpdate without AddNew or Edit

followed by repeated EA errors saying that package could not be found to insert diagrams in it.

I'd appreciate your suggestions on this topic.



analia

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Problems migrating from build 744 to 766
« Reply #4 on: October 14, 2005, 08:26:44 am »
I'm exporting from a model stored in an Oracle Database to a model stored in an EAP file. Maybe is a problem of the Spanish version? We'll be switching to the English version soon. I'll let you know if the problem gets solved.

BTW, I also get a DAO error when I run the integrity check under build 766 on a EAP project free of errors: "DAO.Database[3085]  Undefined function 'Val' in expression"

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Problems migrating from build 744 to 766
« Reply #5 on: October 17, 2005, 06:45:55 am »
Hi,

I do not believe this is related to the Spanish version. You are trying to do two things at the same time, upgrade the EA version and switch from one DBMS to another. Can you try to first do the upgrade from EA 744 to 766 in your Oracle database and then to transfer the result to an EAP file? Or first transfer the existing model to an EAP file and then do the upgrade?

Thanks,
Bruno

Quote
I'm exporting from a model stored in an Oracle Database to a model stored in an EAP file. Maybe is a problem of the Spanish version? We'll be switching to the English version soon. I'll let you know if the problem gets solved.

BTW, I also get a DAO error when I run the integrity check under build 766 on a EAP project free of errors: "DAO.Database[3085]  Undefined function 'Val' in expression"


Oliver Michalski

  • EA User
  • **
  • Posts: 116
  • Karma: +0/-0
    • View Profile
Re: Problems migrating from build 744 to 766
« Reply #6 on: October 18, 2005, 03:01:52 am »
Hi,

Only an assumption.  All error messages are from the DataAccessObjects (DAO).  Could it be, that the Microsoft Data Access Components are not the newest version?
From my own experience point I know  :'(  that this is mostly the reason.

Oliver ;)

analia

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Problems migrating from build 744 to 766
« Reply #7 on: October 19, 2005, 10:05:23 am »
I think it might be it, because it worked when I tried from another computer.

Thank you all.
Analía