Create website defa...
 
Notifications
Clear all

Create website default.aspx and web.config cant be overwritten by Web Deploy

2 Posts
2 Users
0 Reactions
1,077 Views
Posts: 15
Topic starter
(@enorl76)
Active Member
Joined: 8 years ago

The web.config and default.aspx are created by user within Administrators group, so [websitename]_web user can't use WebDeploy to update them without forcing Administrator to delete on server.

1 Reply
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

How did you setup the application pools and/or ftp?

As by default the _web user indeed does not have write (to protect the site as it's used by IIS to run the web files)

The _web user however is normally not the same as you would use for Web Deployment or FTP, neither is it used by the Web Based file manager.

In all those occasions you by default assign read/write to the users you use to upload.

If you use a website it self to upload/change then you would need to set write permissions to the wwwroot folder with inheritance to the _web user (or in policies set writeable)

Do note that that will have impact on the security of your website.

Regards,

Marco

Reply
Share: