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
116 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
• 6,890 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,240 points
36 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,280 points
51 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
210 views
0 votes
1 answer
0 votes
1 answer