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,530 points
436 views

1 answer to this question.

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,810 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,890 points
122 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
51 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
76 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
215 views
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,810 points
50 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,810 points
447 views