This question is locked. New answers and comments are not allowed.
I have looked at all the prior threads on how to solve this problem. I have tried them all. OpenAccess ORM was working flawlessly until this afternoon when the error message first occurred. Now I cannot seem to get around this problem. Prior threads do not provide a single, concise or complete solution.
I reinstalled OpenAccess. I upgraded OpenAccess to the latest build. I tried changing the Build Action on db.rlinq to Embedded Resource. I started from scratch with a blank winforms C# project and tried to add a new class library project to contain db.rlinq. Always the same error message.
The last remaining thing to try is to uninstall vs2010 and start all of that from scratch. Perhaps there's a quicker answer on this forum.
The exception is thrown beneath application code:
EntitiesModel em = new EntitiesModel();
The output window actually shows two "first chance" exceptions:
In entitiesmodel.cs, generated by ORM, the line of code is:
This may bring an end to my evaluation of OpenAccess as there are only two days left to complete the evaluation.
Regards,
Guy
I reinstalled OpenAccess. I upgraded OpenAccess to the latest build. I tried changing the Build Action on db.rlinq to Embedded Resource. I started from scratch with a blank winforms C# project and tried to add a new class library project to contain db.rlinq. Always the same error message.
The last remaining thing to try is to uninstall vs2010 and start all of that from scratch. Perhaps there's a quicker answer on this forum.
The exception is thrown beneath application code:
EntitiesModel em = new EntitiesModel();
The output window actually shows two "first chance" exceptions:
A first chance exception of type 'System.ArgumentException' occurred in Telerik.OpenAccess.dll
A first chance exception of type 'System.TypeInitializationException' occurred in DataEntry.exe
In entitiesmodel.cs, generated by ORM, the line of code is:
private static MetadataSource metadataSource = XmlMetadataSource.FromAssemblyResource("db.rlinq");
This may bring an end to my evaluation of OpenAccess as there are only two days left to complete the evaluation.
Regards,
Guy