UnauthorizedAccessException: 'Access to the path '...\wisej-server.lic' is denied.'

0
0

Getting this error intermittently in the last few days since renewing my license.  How does one solve it?

  • You must to post comments
0
0

Sorry, I meant App Pool.

But if you are in debug in VS then IIS and Visual Studio are not running your code. It’s IIS Express. Unless your VS is attached to IIS.

Is the access denied exception handled and you catch it because VS has the exceptions settings on? If yes, turn it off and the problem is solved.

Otherwise it’s a permission problem, not a Wisej issue. It simply tries to write to the system’s temp  and the access denies is not even for the file that Wisej is writing.

 

  • You must to post comments
0
0

Your app domain must have Full Access to the temp folders. It’s usually /Windows/Temp. The ASP.NET temp folder and App_Web_rfkooigp.dll seem strange to me. In any case, the default app domain works. If you create a new one make sure it has full access to the temp and to the project folder, which is usually the default.

  • Andrew Niese
    Thx, can you explain what you mean by app domain? This is on development, VS2019 running as Admin.
  • You must to post comments
0
0

I’m also getting this:

 

System.UnauthorizedAccessException: ‘Access to the path ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\fixitycs\13398187\99b2c52c\App_Web_rfkooigp.dll’ is denied.’

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.