• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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