Windows 2012 Core - IIS8 - Shared ConfigurationASP.NET custom configuration section declaration breaks IIS Manager Configuration EditorIIS7 - Shared Configuration stored on a File clusterUnable to link IIS8 and Tomcat7 by ISAPI on Windows Server 2012Security configuration in IIS8 does not allow for folders to be created on network shares with ClassicASPWhat's the best way to read/write to UNC virtual directory on IIS8?IIS8 and RDS 2012Random connection failures between IIS8 and MSSQL 2012 in RackSpace CloudIIS8 Centralized Certificates Not Recognizing Certs (“The specified private key password is not correct.”)Invalid Encryption Keys Password when enabling shared Configuration to Azure file share in iisCan't find IIS config file listed by appcmd

Will TSA allow me to carry a Continuous Positive Airway Pressure (CPAP) device?

Movie where a boy is transported into the future by an alien spaceship

Can you please explain this joke: "I'm going bananas is what I tell my bananas before I leave the house"?

How to detach yourself from a character you're going to kill?

How to decline physical affection from a child whose parents are pressuring them?

Is it possible to kill all life on Earth?

The term for the person/group a political party aligns themselves with to appear concerned about the general public

Is there any Biblical Basis for 400 years of silence between Old and New Testament?

PhD student with mental health issues and bad performance

Humans meet a distant alien species. How do they standardize? - Units of Measure

Word for a small burst of laughter that can't be held back

Is it a problem that pull requests are approved without any comments

Could a guilty Boris Johnson be used to cancel Brexit?

Credit card offering 0.5 miles for every cent rounded up. Too good to be true?

Can a magnetic field of a large body be stronger than its gravity?

Why was it possible to cause an Apple //e to shut down with SHIFT and paddle button 2?

Beginner's snake game using PyGame

Is the decompression of compressed and encrypted data without decryption also theoretically impossible?

How can I add depth to my story or how do I determine if my story already has depth?

Did thousands of women die every year due to illegal abortions before Roe v. Wade?

Strange math syntax in old basic listing

How to apply the "glow" effect to a rectangle with tcolorbox?

Asking bank to reduce APR instead of increasing credit limit

Filling region bounded by multiple paths



Windows 2012 Core - IIS8 - Shared Configuration


ASP.NET custom configuration section declaration breaks IIS Manager Configuration EditorIIS7 - Shared Configuration stored on a File clusterUnable to link IIS8 and Tomcat7 by ISAPI on Windows Server 2012Security configuration in IIS8 does not allow for folders to be created on network shares with ClassicASPWhat's the best way to read/write to UNC virtual directory on IIS8?IIS8 and RDS 2012Random connection failures between IIS8 and MSSQL 2012 in RackSpace CloudIIS8 Centralized Certificates Not Recognizing Certs (“The specified private key password is not correct.”)Invalid Encryption Keys Password when enabling shared Configuration to Azure file share in iisCan't find IIS config file listed by appcmd






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm trying to setup windows 2012, IIS8 shared configuration. That is two IIS servers share the same configuration file which is stored on a network share.



I've setup a share and granted userA "full control" to the share. I've also granted the userA account "modify" permission to the file security.



I then ran the following VB script:



Set adminManager = WScript.CreateObject("Microsoft.ApplicationHost.WritableAdminManager")
adminManager.CommitPath = "MACHINE/REDIRECTION"
Set configurationRedirection = adminManager.GetAdminSection( "configurationRedirection", "MACHINE/REDIRECTION" )
configurationRedirection.Properties.Item( "enabled" ).Value = True
configurationRedirection.Properties.Item( "path" ).Value = "\serveriis-config"
configurationRedirection.Properties.Item( "userName" ).Value = "ourdomainuserA"
configurationRedirection.Properties.Item( "password" ).Value= "password"
adminManager.CommitChanges


When I try and access the server via IIS Manager I get the following error:



There was an error while performing this operation.

Details:
Filename: MACHINE/WEBROOT/APPHOST

Error: Cannot read configuration file due to insufficient permissions


What am I doing wrong? How can I get this to work?










share|improve this question






























    0















    I'm trying to setup windows 2012, IIS8 shared configuration. That is two IIS servers share the same configuration file which is stored on a network share.



    I've setup a share and granted userA "full control" to the share. I've also granted the userA account "modify" permission to the file security.



    I then ran the following VB script:



    Set adminManager = WScript.CreateObject("Microsoft.ApplicationHost.WritableAdminManager")
    adminManager.CommitPath = "MACHINE/REDIRECTION"
    Set configurationRedirection = adminManager.GetAdminSection( "configurationRedirection", "MACHINE/REDIRECTION" )
    configurationRedirection.Properties.Item( "enabled" ).Value = True
    configurationRedirection.Properties.Item( "path" ).Value = "\serveriis-config"
    configurationRedirection.Properties.Item( "userName" ).Value = "ourdomainuserA"
    configurationRedirection.Properties.Item( "password" ).Value= "password"
    adminManager.CommitChanges


    When I try and access the server via IIS Manager I get the following error:



    There was an error while performing this operation.

    Details:
    Filename: MACHINE/WEBROOT/APPHOST

    Error: Cannot read configuration file due to insufficient permissions


    What am I doing wrong? How can I get this to work?










    share|improve this question


























      0












      0








      0








      I'm trying to setup windows 2012, IIS8 shared configuration. That is two IIS servers share the same configuration file which is stored on a network share.



      I've setup a share and granted userA "full control" to the share. I've also granted the userA account "modify" permission to the file security.



      I then ran the following VB script:



      Set adminManager = WScript.CreateObject("Microsoft.ApplicationHost.WritableAdminManager")
      adminManager.CommitPath = "MACHINE/REDIRECTION"
      Set configurationRedirection = adminManager.GetAdminSection( "configurationRedirection", "MACHINE/REDIRECTION" )
      configurationRedirection.Properties.Item( "enabled" ).Value = True
      configurationRedirection.Properties.Item( "path" ).Value = "\serveriis-config"
      configurationRedirection.Properties.Item( "userName" ).Value = "ourdomainuserA"
      configurationRedirection.Properties.Item( "password" ).Value= "password"
      adminManager.CommitChanges


      When I try and access the server via IIS Manager I get the following error:



      There was an error while performing this operation.

      Details:
      Filename: MACHINE/WEBROOT/APPHOST

      Error: Cannot read configuration file due to insufficient permissions


      What am I doing wrong? How can I get this to work?










      share|improve this question
















      I'm trying to setup windows 2012, IIS8 shared configuration. That is two IIS servers share the same configuration file which is stored on a network share.



      I've setup a share and granted userA "full control" to the share. I've also granted the userA account "modify" permission to the file security.



      I then ran the following VB script:



      Set adminManager = WScript.CreateObject("Microsoft.ApplicationHost.WritableAdminManager")
      adminManager.CommitPath = "MACHINE/REDIRECTION"
      Set configurationRedirection = adminManager.GetAdminSection( "configurationRedirection", "MACHINE/REDIRECTION" )
      configurationRedirection.Properties.Item( "enabled" ).Value = True
      configurationRedirection.Properties.Item( "path" ).Value = "\serveriis-config"
      configurationRedirection.Properties.Item( "userName" ).Value = "ourdomainuserA"
      configurationRedirection.Properties.Item( "password" ).Value= "password"
      adminManager.CommitChanges


      When I try and access the server via IIS Manager I get the following error:



      There was an error while performing this operation.

      Details:
      Filename: MACHINE/WEBROOT/APPHOST

      Error: Cannot read configuration file due to insufficient permissions


      What am I doing wrong? How can I get this to work?







      configuration share iis-8






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 12 '13 at 0:49









      mgorven

      26.6k755109




      26.6k755109










      asked Mar 9 '13 at 2:58









      BradBrad

      2821721




      2821721




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Looks like I was able to figure this out on my own. Per the microsoft documentation:



          *Note: If NT ServiceWMSVC does not have permissions to the UNC share -- which will be the case for UNC shares on another machine -- (WMSVC means nothing outside the realm of a local machine), update the identity of Web Management Service (services.msc) to be a domain user that has access to the server as well as the UNC share.



          So what I had to do is going into services.msc on each of the web servers and change the "Web Management Service" to run using my new domain account (ourdomainuserA) and now it all works.



          Hope this helps someone else.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f486180%2fwindows-2012-core-iis8-shared-configuration%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Looks like I was able to figure this out on my own. Per the microsoft documentation:



            *Note: If NT ServiceWMSVC does not have permissions to the UNC share -- which will be the case for UNC shares on another machine -- (WMSVC means nothing outside the realm of a local machine), update the identity of Web Management Service (services.msc) to be a domain user that has access to the server as well as the UNC share.



            So what I had to do is going into services.msc on each of the web servers and change the "Web Management Service" to run using my new domain account (ourdomainuserA) and now it all works.



            Hope this helps someone else.






            share|improve this answer



























              0














              Looks like I was able to figure this out on my own. Per the microsoft documentation:



              *Note: If NT ServiceWMSVC does not have permissions to the UNC share -- which will be the case for UNC shares on another machine -- (WMSVC means nothing outside the realm of a local machine), update the identity of Web Management Service (services.msc) to be a domain user that has access to the server as well as the UNC share.



              So what I had to do is going into services.msc on each of the web servers and change the "Web Management Service" to run using my new domain account (ourdomainuserA) and now it all works.



              Hope this helps someone else.






              share|improve this answer

























                0












                0








                0







                Looks like I was able to figure this out on my own. Per the microsoft documentation:



                *Note: If NT ServiceWMSVC does not have permissions to the UNC share -- which will be the case for UNC shares on another machine -- (WMSVC means nothing outside the realm of a local machine), update the identity of Web Management Service (services.msc) to be a domain user that has access to the server as well as the UNC share.



                So what I had to do is going into services.msc on each of the web servers and change the "Web Management Service" to run using my new domain account (ourdomainuserA) and now it all works.



                Hope this helps someone else.






                share|improve this answer













                Looks like I was able to figure this out on my own. Per the microsoft documentation:



                *Note: If NT ServiceWMSVC does not have permissions to the UNC share -- which will be the case for UNC shares on another machine -- (WMSVC means nothing outside the realm of a local machine), update the identity of Web Management Service (services.msc) to be a domain user that has access to the server as well as the UNC share.



                So what I had to do is going into services.msc on each of the web servers and change the "Web Management Service" to run using my new domain account (ourdomainuserA) and now it all works.



                Hope this helps someone else.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 9 '13 at 3:16









                BradBrad

                2821721




                2821721



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f486180%2fwindows-2012-core-iis8-shared-configuration%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company