This is a migrated thread and some comments may be shown as answers.

Unexpected exception: Value cannot be null. Parameter name: key

1 Answer 186 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
M
Top achievements
Rank 1
M asked on 30 May 2012, 08:45 PM
Hello!

I'm trying to do my first steps with OpenAccess by using the 60 days trial. However, I already start struggling on the first day.

I added a Telerik OpenAccess Class Library project to my solution and chose "Populate from database", as I want to use my existing database. The backend is Microsoft Azure SQL. Leaving the default option, entering my connection string and leaving the default options again, the files get added to my project. But when I try to choose "Update from database" using the context menu, I get the following error message:

An unexpected exception has occured. The exception message is:
'Value cannot be null.
Parameter name: key'.

When I decide to immediately add tables from the initial wizard, they don't appear in the diagram either. Also there is no code generated for these tables.

I hope someone can help me with this problem. :)

1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 04 Jun 2012, 12:21 PM
Hello M J,

 It seems that there is something particular to your database that OpenAccess cannot handle properly. Do you have the same/similar database on a SqlServer instance and can you create a model for this database?
Is it possible to send us the database script so that we can try and reproduce the error locally?


Regards,
Ady
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
Tags
Getting Started
Asked by
M
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or