[Solved] Failed to acquire write lock for id: -333
n
We have recent launched umbraco 11 website , hosted on Azure webapp and we are seeing locking issue on DB as mentioned here https://our.umbraco.com/forum/using-umbraco-and-getting-started/111951-failed-to-acquire-write-lock-for-id-333 This is massive as issue . It would be really appreciated if someone can help ASAP Thanks
a
Whats the DB tier ?
n
tired both S1 an S2
a
I've seen similar issues when the DB tier was set to 'free' or S0 😅
But no idea otherwise 😦
d
Do you run multiple instances on the same database? Do you also develop on the same database for example or do you have a testing / staging environment that runs on the same database? I've been seeing this a lot when multiple instances want to write to the database.
n
I had this testing some code locally. Check all your custom code for areas where you are using a scope provider and ensure that you either have the code wrapped in a using statement or you are disposing of the scope before you exit your method calls.
n
an Ya it was issue with scope provider . I have custom code and scope provider not used and that was going in loop. All good now
thanks guys
p
@User May I suggest “friends” instead of "guys"? We use gender inclusive language in this Discord. 😀
7 Views