when I compile a project on VS 2010 (even the examples), it reports the following error:
Exception occurred creating type 'RemObjects.DataAbstract.Linq.LinqRemoteDataAdapter,
RemObjects.DataAbstract.Linq, Version=6.0.55.957, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098’
System.ComponentModel.LicenseException: An instance of type ‘RemObjects.DataAbstract.Linq.LinqRemoteDataAdapter’ was being created, and a valid license could not be granted for the type ‘RemObjects.DataAbstract.BaseDataAdapter’. Please, contact the manufacturer of the component for more information
make sure you have a .licx file in your project that lists the component(s) that you get license errors for, and that if the .licx contains version numbers for the dlls, they match the actual version of DA you build against.
Hi,
I’ve already checked this link, prior of starting this thread without success. The licx files are located in the project folder (one for client and one for server), their build action is set to “Embedded Resource” as it 's been suggested.
I’m using VS 2010 with the trial version of DA (RemObjects Data Abstract for .NET - 6.0.55.957 - Trial)
Thanks for the environment. Unfortunately, I still can’t reproduce the problem on the clean virtual machine. Can you start Schema Modeler and say license info from there?
gvlachopoulos, are you using obfuscation or are in any shape or form renaming your assembly after it is built? can you send to our support team a copy of the built assembly with all references, so we can have a look? thanx!
even if you;re just building the sample — having our support look at the .exe is the only next step i can think of to see why the licensing fails, so i’d appreciate of you could send a copy to support@ so we can have a look.
Or wait: do you get this error WHILE compiling? That’s weird too. Can you set msbuild logging to Detailed under Tools/Options/Projcts&Solutions, do a full rebuild, and send up (or post here) the log?
My development PC is a Windows 7 Ultimate 64 bit. Ive 'tried on a windows XP 32 bit, and yes it compiled without any problem! So, is 64 bit environment causes this!
ok, so again — you get this error WHILE compiling, not later when running the app? i assume in Visual Studio 2010? can you send us the detailed MSBuild log?
Can you also send us your license storage (you can find it at “C:\Documents and Settings<UserName>\AppData\Roaming\RemObjects Software\Licenses” ). Also please remove all the files from the storage and import licenses again.