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

2 posts, 0 answers
  1. M
    M avatar
    1 posts
    Member since:
    May 2012

    Posted 30 May 2012 Link to this post

    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. :)
  2. Ady
    Admin
    Ady avatar
    588 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?


    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!
  3. DevCraft banner
Back to Top