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

Thread is closed for posting
2 posts, 0 answers
  1. M
    M avatar
    1 posts
    Member since:
    May 2012

    Posted 30 May 2012 Link to this post


    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. :)
  2. Ady
    Ady avatar
    589 posts

    Posted 04 Jun 2012 Link to this post

    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?

    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!
Back to Top