Asp.net page shows Column 'ImageThumbnailURLFinal' does not belong to table Table exception . After restarting IIS it's gone Why?

Raju Name 1 Reputation point
2021-04-27T14:18:24.447+00:00

Asp.net page shows Column 'ImageThumbnailURLFinal' does not belong to table Table exception .
But after restart IIS this exception is resolved.
Why it is happens ? and How to resolve it without restarting IIS server?91765-16b7e64a-c705-474c-a3d6-e6062db36109.jpg

Developer technologies ASP.NET ASP.NET Core
Developer technologies C#
{count} votes

2 answers

Sort by: Most helpful
  1. Artemiy Moroz 271 Reputation points
    2021-04-27T20:34:05.093+00:00

    Hi there!

    Could this be that your database context has wrong Initialization strategy? With this set incorrectly, your db may get corrupted at some point.

    0 comments No comments

  2. Sam Wu-MSFT 7,561 Reputation points Microsoft External Staff
    2021-04-28T01:58:36.167+00:00

    Hi @Raju Name

    I think the problem may be caused by the cache, you can try to clear the cache of the browser and iis server.

    About how to clear the cache of the iis server, you can try to recycle the application pool.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.