• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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