+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / Unable to save config to file 'C:\Program Files\Telerik\Sitefinity3.7 Community\WebSites\DevBlog\web.config'.

Unable to save config to file 'C:\Program Files\Telerik\Sitefinity3.7 Community\WebSites\DevBlog\web.config'.

5 posts, 0 answered
  1. Joseph Roberts
    Joseph Roberts avatar
    5 posts
    Registered:
    06 Jul 2004
    04 Nov 2009
    Link to this post
    I keep getting this error.  Unable to save config to file 'C:\Program Files\Telerik\Sitefinity3.7 Community\WebSites\DevBlog\web.config'. I'm not sure why.  I have the network service set to full control on the directory, and also the web.config file.  I am on windows 7 with IIS 7.  Not sure what else I need to do. 
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    04 Nov 2009
    Link to this post
    Hi Joseph Roberts,

    Thank you for submitting your issue.

    Windows 7 includes IIS7.5, and the biggest change compared to IIS7 is one more level of abstraction. The default worker account is no longer the Network Services, but ApplicationPoolIdentity (more info). Can you please make sure that the Application Pool is running with the Network Services? Please check my screenshots. 

    You can also check if the web.config is read-only (despite you have set the permissions).

    Best wishes,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Joseph Roberts
    Joseph Roberts avatar
    5 posts
    Registered:
    06 Jul 2004
    04 Nov 2009
    Link to this post
    I followed the directions "for the most part" for installing on IIS 7.  So I have the app pool for the applicaiton set to the Classic.NET AppPool with the Identity set to NetworkService.  I had it set to LocalSystem, but I tried NetworkService after that did not help.  The file is not read only. 

  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    04 Nov 2009
    Link to this post
    Hi Joseph Roberts,

    Can you try to add permissions to the ASP.NET worker process so that it can write to the web.config file?

    Greetings,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Joseph Roberts
    Joseph Roberts avatar
    5 posts
    Registered:
    06 Jul 2004
    04 Nov 2009
    Link to this post
    I thought NETWORK SERVICE was the worker process user.  I don't have an ASP.NET User on my box.  I added Everyone Full Control and it worked.  I'm not sure what user specifically needs to be added.

    Thanks
Register for webinar
5 posts, 0 answered