You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a self contained ASP.NET Core web application that I host on IIS. The app pool is configured to always running. So, I want to delete the web application using xWebAppPool and xWebApplication. In case, if a web application was in use a few seconds ago, xWebAppPool and xWebApplication does nothing.
Verbose logs
12:25:55 | Instance i-xxxx: Access is denied. The related file/directory is: C:\Site\MySite. The
12:25:55 | related file/directory is: C:\Site\MySite. The related ResourceID is [File]DeleteFolder. +
12:25:55 | CategoryInfo : PermissionDenied: (:) [], CimException + FullyQualifiedErrorId : Windows System
12:25:55 | Error 5 + PSComputerName : localhost The SendConfigurationApply function did not succeed. +
12:25:55 | CategoryInfo : PermissionDenied: (root/Microsoft/...gurationManager:String) [], CimException +
12:25:55 | FullyQualifiedErrorId : MI RESULT 2 + PSComputerName : localhost
Name Version Path
---- ------- ----
xWebAdministration 3.3.0 C:\Program Files\WindowsPowerShell\Modules\xWebAdministration\3.3.0\xWebAdministration.psd1
The text was updated successfully, but these errors were encountered:
Problem description
Hi,
I have a self contained ASP.NET Core web application that I host on IIS. The app pool is configured to always running. So, I want to delete the web application using xWebAppPool and xWebApplication. In case, if a web application was in use a few seconds ago, xWebAppPool and xWebApplication does nothing.
Verbose logs
DSC configuration
Suggested solution
I think the easiest solution is to have any retry strategy because, usually, the second try deletes a web application and an app pool as expected.
Operating system the target node is running
PowerShell version and build the target node is running
WebAdministrationDsc version
The text was updated successfully, but these errors were encountered: