One more "The Data folder beneath the root of the web site" error post

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
8/19/2013 7:03:12 PM
Gravatar
Total Posts 1

One more "The Data folder beneath the root of the web site" error post

Hi All,

I have two servers running Mojoportal, both just updated to the latest version 2.3.9.8.
The server running Windows Server 2012 has no problems, all rights are ok; the one running Windows Server 2008 R2 mentions the error featured many times on the forum "The Data folder beneath the root of the web site is not writable by the ASP.NET worker process.".

Now I'm not a developer but I am a pretty good administrator. The references in the other posts and the manual refer to older versions where we had WPG_IIS users etc. Now it must be me as I can't figure out what the ASP.NET worker process account is that I am supposed to give access here. Interesting fact is that on both servers I do see a user account on the DATA folder that has the same name as the Application Pool in IIS Manager. On the 2012 server that seems enough, the 2008 R2 keeps the error. I cannot add this account manually.

Anyone a hint how to deal with the error on a more modern Windows Server?

Thanks for your time and effort guys!

 

 

 

8/20/2013 10:10:55 AM
Gravatar
Total Posts 18439

Re: One more "The Data folder beneath the root of the web site" error post

The user that is the identity on the application pool is the user that needs file system permission (full control on /Data and /App_Data and read on all other web folders and files).

You can look at the properties of the application pool from IIS to find the identity. In some cases it can be confusing if it is configured for iusr group, one solution to simplify things is to change the identity of the application pool to the existing user NETWORK SERVICE then give the NETWORK SERVICE user permission as needed.

However it may be better to create a new application pool with identity of NETWORK SERVICE and then configure your site to use that app pool to avoid any side effects on other sites that may also use the existing app pool. 

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.