I’m getting this message in my browser when deploying to a new install of my WiseJ app on Server 2012:
“Wisej failed to initialize for the following reason: Access to the path ‘C:\Windows\TEMP\Wisej\TPortal\Wisej.Web\Wisej.Web.Platform.QXDesktop.json’ is denied..”
I checked ASP.Net Trust level – it is set to Full. Using the .Net 45 App Pool.
I don’t recall getting this error the first time I set it up (re-did the server setup on a VM this time)
What would cause this ?
Solved the issue -and I should have looked here much earlier – in Windows Event Viewer – I was able to see the full stack trace. An exception was logged regarding the webconfig file.
Webconfig had an extra bracket at the end of one line.
It’s the identity for the app pool that cannot write to temp.
The .NET v4.5 seems to be using NetworkService by default. While the the DefaultAppPool uses ApplicationPoolIdentity. I always use DefaultAppPool or create a new one for the application.
Please login first to submit.