I use reference Microsoft.Web.Administration from
C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll
to read IIs Status must allow IIS user readable on folder
C:\Windows\System32\inetsrv\config
and to write or change IIS must writable on it.
It can create new user and set to Application pool and allow this user for read and write on above folder.
ไม่มีความคิดเห็น:
แสดงความคิดเห็น