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,240 points
2,154 views

1 answer to this question.

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
• 7,340 points

Related Questions In Other DevOps Questions

0 votes
2 answers
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 9, 2018 in Other DevOps Questions by Atul
• 10,240 points
614 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
0 votes
1 answer

salt error : “TypeError: coercing to Unicode: need string or buffer, bool found”

You can check the discussion regarding same ...READ MORE

answered Jun 17, 2018 in Other DevOps Questions by shubham
• 7,340 points
2,415 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP