I can see C:WindowsSystem32inetsrvappcmd.exe in the folder and dir C:WindowsSystem32inetsrvappcmd.exe also shows the file. But File.Exists(@"C:WindowsSystem32inetsrvappcmd.exe") returns false. I tried File.OpenRead as this article: Why does System.IO.File.Exists(string path) return false? suggested, but still failed (System.IO.FileNotFoundException) Why I can see C:WindowsSystem32inetsrvappcmd.exe in the folder but unable to access it programmatically? Source: Windows..
Category : appcmd
I am running a windows 2016 server, we are running IIs 10 on it and i need to be able to assert if there is an AppPool setup before i deploy a website. If it doesn’t exist i need setup the AppPool with a specific user and password. All of this is done using a ..
Recent Comments