• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Solved: ASP.NET File IO Permission

R

rtpHarry

Guest
Hey,

After searching the forums and searching the net I finally found my solution and thought I would share it with other plesk users for when they experience this.

Restrictions:
If you dont have RDC (remote desktop) access to your server then I dont think you can solve it with my method.

Scenario:
Using 3rd party image upload script called i-load (www.radactive.com) with asp.net and when it tries to write the file to the server it fails.

I am currently running it in a dev subdomain if that makes any difference.

Solution:
I tried to use the file permissions system within plesk (in Desktop > SITENAME > Web Directories > site > FOLDERNAME) but this only let me edit the following users: IUSR_* and IWAM_*.

After some searching I found a mention of IPWD_* user accounts and I gave full permission to this server.

To do this do the follow:

- login to webserver with remote desktop
- right click folder you want to allow write permissions to
- click "sharing and security"
- click click security tab
- click add
- click advanced
- click find now
- find the user account starting IWPD_* (on my server there was only one account like this)
- add it
- allow full control to permissions (or whatever you require)

Hope this helps somebody!

If anyone knows a better solution please add this to this thread... It makes me wonder how i would do this if i was on shared hosting and my only access was via the plesk control panel?

Kind regards,
Matt
Web Design Lincolnshire
 
Hi, Matt.

Switch your website to run in the dedicated application pool (setup -> Use dedicated pool in Plesk). After that it will be possible to assign permissions for to iwpd_<ftp user name> user that is used to run application pool in IIS through Plesk file manager.
 
Back
Top