Insufficient permissions in configuration for importing IIS application pool

0 votes

I'm failing to export application pools from server to another newly created server.

These are the steps I'm Following

Step 1: Export on server1

D:>%windir%\system32\inetsrv\appcmd list apppool /config /xml > d:\apppools.xml

Step2: Deleting duplicate apppools from xml file

Removed tags for defaultAppPool, .NetVxx appPools.

Step3: Importing on Server2

  • copied the apppools.xml file on server2
  • %windir%\system32\inetsrv\appcmd add apppool /in < D:\ServerFeature\apppools.xml

And this shows up

D:\ServerFeature>%windir%\system32\inetsrv\appcmd add apppool /in < D:\ServerFea ture\apppools.xml ERROR ( message:Configuration error Filename: redirection.config Line Number: 0 Description: Cannot read configuration file due to insufficient permissions . )

What am I doing wrong??

Jun 11, 2018 in Other DevOps Questions by Atul
• 5,470 points
234 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Seems like a read-write permission issue. Check and enable the read write permissions for this file:

%SystemRoot%\System32\inetsrv\config\redirection.config
answered Jun 11, 2018 by DareDev
• 6,580 points

Related Questions In Other DevOps Questions

0 votes
1 answer

IS app pool import fails with error message.configuration error…insufficient permissions

There is a config file at %SystemRoot%\System32\inetsrv\config\redirection.config Removed the ...READ MORE

answered Jun 19, 2018 in Other DevOps Questions by shubham
• 6,500 points
51 views
0 votes
1 answer

How to use Powershell DSC for application installation?

Occasionally folks want to be able to ...READ MORE

answered Jul 16, 2018 in Other DevOps Questions by Kalgi
• 2,620 points
26 views
0 votes
1 answer

Multiple applications in one IIS website with MS Release Management

Do the following: Add a Manage IIS task ...READ MORE

answered Jul 16, 2018 in Other DevOps Questions by Kalgi
• 2,620 points
49 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

TFS support for in-build custom web sockets

TFS has no native support for this. ...READ MORE

answered Jul 19, 2018 in Other DevOps Questions by DareDev
• 6,580 points
28 views
0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,580 points
156 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.