Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thank you! Initially, the trace flag solution seemed not to work for me. I've checked the log and it turned out that the flag is properly passed to the service but it has problems accessing the database file. I had to delete the instance (sqllocaldb delete mssqllocaldb) and recreated it. After that, everything seems ok.