Symptoms
-
Unable to create domain or install application like Moodle with the error below:
Path is not allowed
-
Affected domain's subscription and/or service plan is configured with ASP.NET framework 4.x.
Cause
Absolute ASP.NET temporary directory path is set in Plesk and/or IIS.
Resolution
-
Go to Tools & Settings > ASP.NET Settings page.
-
Remove data from Temporary directory field and press OK button.
Note: proceed with the "Temporary Directory is set in IIS" section in case the issue persists.
Temporary Directory is set in IIS
-
Log into the server via RDP.
-
Launch Internet Information Service (IIS) Manager at Windows Start > All Programs > Windows Administrative Tools page.
-
Navigate to IIS > servername > .NET Compilation > Temporary Directory page.
-
Remove data from Temporary Directory field and press Apply button.