Home

UnauthorizedAccessException: Access to the path 'LINQPad.DefaultConnection' is denied

edited April 2020

Hi,

I'm running one of my scripts through lprun6 periodically and for some reason it crashes before executing my code.

Stacktrace:

UnauthorizedAccessException: Access to the path 'LINQPad.DefaultConnection' is denied.
at System.Threading.Mutex.CreateMutexCore(Boolean initiallyOwned, String name, Boolean& createdNew)
at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name)
at LINQPad.Repository.GetMutex()
at LINQPad.Repository.FromDisk(Boolean createDefault)
at LINQPad.CmdLineAppHost..ctor(String[] args)
at LINQPad.Cmd.LPRun.Start(String[] args)

Strangely I'm running the same script with a different parameter at another time and it's working fine, however I do have quite a few scripts running that might use the same connection config at the same time. Is that not possible?

Running on the current LINQPad 6.7.5

Sign In or Register to comment.