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

0 votes

I am trying to export application pools from one server and then import it to newly created server.

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

this gives error

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 . )

Please help me resolve this issue.

Jun 19, 2018 in Other DevOps Questions by Atul
• 10,220 points
61 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

There is a config file at

%SystemRoot%\System32\inetsrv\config\redirection.config

Removed the Read-only property and it worked.

I hope the above information will be helpful to you.

answered Jun 19, 2018 by shubham
• 6,560 points

Related Questions In Other DevOps Questions

0 votes
1 answer
0 votes
1 answer

What is the best practice for updating an already existing web app deployment using ARM?

The Service Principal solution, through the SDK, ...READ MORE

answered Jul 8, 2018 in Other DevOps Questions by Atul
• 10,220 points
24 views
0 votes
1 answer

Issue with the perl script

I don't really know what might the ...READ MORE

answered Jun 22, 2018 in Other DevOps Questions by ajs3033
• 7,080 points
29 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

© 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.