How to fix the "Could not determine storage version; a valid storage connection or a version hint is required" - Digital Tool Factory blog

How to fix the “Could not determine storage version; a valid storage connection or a version hint is required”

The Cause:

You’re cruising right along updating everything properly when all of a sudden you get an inexplicable

Could not determine storage version; a valid storage connection or a version hint is required

error

The Cause:

You’ve been upgrading and downgrading Entity Framework Versions.  The actual error has nothing to do with the error message listed above.

The Solution:

There really is no good solution to this, as I have spent the past six hours proving – the best thing to do is just to upgrade to Entity Framework 6 and find some other workaround for any other problem.

 

Written By Steve French

 

3 responses to “How to fix the “Could not determine storage version; a valid storage connection or a version hint is required””

  1. From the Nuget Package manager console, try re-installing the Entity Framework to a later version.
    PM> Install-Package EntityFramework

    This will update your web.config accordingly.

  2. Thank you for sharing. This error happened to me due to jumping around on multiple projects with different frameworks.

Leave a Reply

Your email address will not be published. Required fields are marked *






Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.