How to solve the “Could not determine storage version; a valid storage connection or a version hint is required” in Microsoft Ligthswitch?

To solve the “Could not determine storage version; a valid storage connection or a version hint is required” when updating the data sources  in Microsoft Ligthswitch, you need to modify the Data\ApplicationDefinition.lsml file to match your ConnectionStringGuid with the ServerGenerated\Web.Config.

Notice the green boxes in the above image.  It is the ApplicationDefinition.lsml file with the ConnectionStringGuid property.  The value of the property should match to the Web.Config file as seen in the image below.

I really don’t know why these things happen, but it happen to me in a middle of a busy day.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s