Invalid column name 'CreatedOn'.

Vote:
 

Hello,

I see a lot of failed dependency calls (Application Insights) with the following message "Invalid column name 'CreatedOn'.".

Query: SELECT TOP (1)
[c].[CreatedOn] AS [CreatedOn]
FROM [dbo].[__MigrationHistory] AS [c]

The table contains the following columns:

  • MigrationId
  • ContextKey
  • Model
  • ProductVersion

Is this by design? What can I do to resolve this issue / message?

Kind regards,

bob

#180457
Jul 11, 2017 15:50
Vote:
 

__MigrationHistory table us usually used by EF (Entity Framework) migrations. Interesting that this happens in plain EPiServer site. Do you (or any other library you are referencing) has EF Migrations enabled?

#180657
Jul 20, 2017 2:32
Vote:
 

Hello,

It seems to be the library DbLocalizationProvider, thanks for pointing me in the right direction.
I was a bit to quick with my post,

regards,

#180735
Jul 24, 2017 10:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.