Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Referring to Exporting and importing Sites and App Pools from IIS 7 and 7.5 | versionestabile[^] , I did the following:
1) exported a server's IIS AppTool configuration file as apptools.xml
2) copied the apptools.xml to another CPU's E:\.
3) right-click the file's property and set its security Everyone, which allows Full control.
4) opened the cmd and pasted
%windir%\system32\inetsrv\appcmd add apppool /in < E:\apppools.xml

But I still got "Can't read configuration file due to insufficient permissions.
What measure should I take to solve this problem? Thanks.

What I have tried:

insufficient permissions in reading configuration file
Posted
Updated 7-Jun-19 11:20am

1 solution

Right-click on CMD and choose Run as Administrator before you paste in that command
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900