Hello everybody.

I am facing some strange issue during the init of DataObject.Net 4.2, and I was wondering if any good soul could give me a good hint.

Right at the beginning, I get some weird exceptions. The problem occurs on the last of the three lines below:

var config = DomainConfiguration.Load("Default");
      config.Types.Register(typeof (Order).Assembly, typeof (Order).Namespace);
      Domain = Domain.Build(config);

When the system tries to build the domain, it fails saying: Unable to load the file or the assembly 'Xtensive.Storage.Providers.Sql, Version=, Culture=neutral, PublicKeyToken=93a6c53d77a5296c'.... File not found.

So I tried to add that reference to my project, but even doing so I get another exception: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Does anyone have an idea of what's going on here?

thanks in advance, Cheers, Gianluca.

This thread was imported from our support forum. The original discussion may contain more detailed answer. Original topic by gianluca.

asked Apr 24 '10 at 11:26

Editor's gravatar image


One Answer:


the problem is: not all required assemblies are referenced.

Possible solutions:

answered Apr 24 '10 at 13:19

Dmitri%20Maximov's gravatar image

Dmitri Maximov

gianluca wrote: Thank you.

The problem was in the .csproj file, which was missing of the path where to look for the Xtension DataObjects.Net library. Unfortunately I couldnt use the DO.NET project templates, and I missed that out.

Thanks again.

Cheers, Gianluca.

(Apr 24 '10 at 13:19) Editor Editor's gravatar image
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


Once you sign in you will be able to subscribe for any updates here



Asked: Apr 24 '10 at 11:26

Seen: 2,613 times

Last updated: Apr 24 '10 at 11:26

powered by OSQA