Tag Archives: problem

Chome / Shockwave Flash Crashing

Last 2 months a had an constant issue where Sockwave flash kept crashing after a while. I had to restart chrome to make browser responsive. This is the easiest solution I found to resolve this.

Open Chrome
Copy-Paste this text on Address bar chrome://plugins/
Or go to Options->Under the Hood -> Content Settings -> Disable individual plug-ins… (Click)

Now Locate Flash on this List. If you see Flash (2 files) this is good.

On the right you will see a details button, Expand.

And disable the Flash version with Location

Linq Update FK – Operation is not valid due to the current state of the object

sql serverTo update the entity in question you need to get a new entity for it from the context rather than setting it directly.

Wrong Way

OrderRecord.customerId = 105;

Throws an error!
“Operation is not valid due to the current state of the object”


OrderRecord.tblCustomer = db.tblCustomers.Single(t => t.customerID == 105);

Returns no error!