How to fix the error "Cannot write Configuration file" while changing any site bindings

Gudimalla Akhil 0 Reputation points
2023-03-11T17:42:44.18+00:00

whenever I try to change any site bindings I get the error below:

Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Error: Cannot write configuration file

1. The disk space is enough.
2.checked the permissions on the applicationHost.config file, no problem with that too.

Would like to know what is the problem and fix for this!
Windows development | Internet Information Services

2 answers

Sort by: Most helpful
  1. Liam Kelly 0 Reputation points
    2026-10-13T18:11:06.6333333+00:00

    So glad this is the top search result for this problem, It is so helpful /s

    Was this answer helpful?

    0 comments No comments

  2. Limitless Technology 45,251 Reputation points
    2023-03-14T08:46:45.1033333+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to site bindings can not be changed.

    Select file from applicationHost.config -> Properties -> Clear encryption Check box -> then try to edit the file.

    --If the reply is helpful, please Upvote and Accept as answer--

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.