I'm getting an exception while trying to upgrade an existing domain from dataobjects 4.3 to 4.4 (latests build 7372)

Xtensive.Orm.DomainBuilderException
       Message=No upgrade handler is found for assembly 'Xtensive.Storage', version '1.0.0.0'.
       Source=Xtensive.Orm
       StackTrace:
            at Xtensive.Orm.Upgrade.SystemUpgradeHandler.CheckAssemblies()
            at Xtensive.Orm.Upgrade.SystemUpgradeHandler.CheckMetadata()
            at Xtensive.Orm.Upgrade.SystemUpgradeHandler.OnStage()
            at Xtensive.Orm.Upgrade.UpgradingDomainBuilder.<>c__DisplayClass7.<CreateBuilderConfiguration>b__5()
            at Xtensive.Orm.Building.Builders.DomainBuilder.BuildDomain(DomainConfiguration configuration, DomainBuilderConfiguration builderConfiguration)
            at Xtensive.Orm.Upgrade.UpgradingDomainBuilder.BuildStageDomain(UpgradeStage stage)
            at Xtensive.Orm.Upgrade.UpgradingDomainBuilder.Build(DomainConfiguration configuration)
            at Xtensive.Orm.Domain.Build(DomainConfiguration configuration)

Am I missing something?

asked Apr 04 '11 at 10:58

olorin's gravatar image

olorin
356808489

Hello Olorin,

We are sorry that we haven't managed to fix this yet. Thanks to Ahmed Fasih Akhtar, there is a workaround, it can be found here.

(Apr 05 '11 at 05:09) Dmitri Maximov Dmitri%20Maximov's gravatar image

Hello,

If I understand correctly, I have to execute this query before domain build:

UPDATE [Metadata.Assembly] SET [Name] = 'Xtensive.Orm', [Version] = '4.4.0.0' WHERE [Name] = 'Xtensive.Storage' AND Version = '1.0.0.0'

(Apr 05 '11 at 09:11) olorin olorin's gravatar image

Yes, exactly.

(Apr 06 '11 at 03:58) Dmitri Maximov Dmitri%20Maximov's gravatar image

One Answer:

The issue is fixed in revision 7455. The installers & binaries will be updated soon.

answered Apr 20 '11 at 07:34

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA