All Answers

All Answers » Re: Deployment Issue - Access to path is denied error » Comments for "Re: Deployment Issue - Access to path is denied error"
  • edmond girardi
    Yeah -I tried that fisrt. But I get the error: “The Type Initializer for “WebApplication1.frmLogin’ threw an exception. Not sure whats up – it runs fine on my Dev PC
  • edmond girardi
    Switched it to Default App Pool and I get the Path issue – same as when I made my own App Pool.
  • Luca (ITG)
    Verify that the DefaultAppPool is Integrated Pipeline and .NET 4. A type initializer error means that .NET cannot load the class usually.
  • edmond girardi
    Verified – it is .Net 4, Integrated Pipeline is selected. The Default App Pool that I have selected for the WiseJ App’s Identity is “ApplicationPoolIdentity”
  • Luca (ITG)
    The error is still “The Type Initializer for “WebApplication1.frmLogin’ threw an exception.”?
  • edmond girardi
    No – Now I get the Path Denied message – still using Default App Pool as comment above.
  • Luca (ITG)
    Better. I checked my \Temp permissions and it has DefaultAppPool. I think that it’s added by the ASP.NET 4 installer but you can also do it manually.
  • edmond girardi
    I went to the Windows\Temp folder – and I noticed the permissions of IIS_USER were not set. I set it to full control – now I’m back to the “Type initializer threw an exception” message.
  • Luca (ITG)
    DefaultAppPool doesn’t use IIS_USRS. I have DefaultAppPool as the user with permissions.
  • edmond girardi
    Added that – still get the issue. What do you have under the server Roles\Web Server\Security – what boxes are checked ?
  • Luca (ITG)
    I don’t know where to look. The demo machine is a W2016 server created in amazon aws without changes.
  • edmond girardi
    Going to do a Fresh Install of a Server 2012 R2 VM Machine and not use the image of the OS in the VM Manager.
  • edmond girardi
    Same issue – even after a fresh install of Server 2012 and enabling all the proper features.
  • Luca (ITG)
    Can you send a screen shot of the Security tab of \Windows\Temp to support[at]iceteagroup.com please?