An error occurred while updating the entries. See the inner exception for details

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Has anyone ever had this error while searching?

"An error occurred while updating the entries. See the inner exception for details"

I'm not exactly sure what the error was or how it happened but after I cleared the "Popular Searches" the error went away.

Also, what exactly does "Clear Cashe" in the top right corner accomplish?

Thanks!
5 years ago
I have same error which solved after I set product UpdatedOnUtc and CreatedOnUtc.
Here is code to create a new product.

Product product = new Product();
      product.Name = "Product Name";
      product.Sku = "SKU";
      product.Price = 10; //Price
      product.Published = true;
      product.UpdatedOnUtc = DateTime.UtcNow; // if you remove this line you got the error :An error occurred while updating the entries.
      product.CreatedOnUtc = DateTime.UtcNow; // if you remove this line you got the error :An error occurred while updating the entries.
5 years ago
It means when you prepare model then you can't leave DateTime to null. If DateTime is nullable it means it declare like DateTime? CreatedDate then it is fine to leave them null otherwise you have to assign a value to it.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.