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;
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
add a comment |
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
add a comment |
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
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
configuration share iis-8
edited Mar 12 '13 at 0:49
mgorven
26.6k755109
26.6k755109
asked Mar 9 '13 at 2:58
BradBrad
2821721
2821721
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Mar 9 '13 at 3:16
BradBrad
2821721
2821721
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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