@atripp Thank you! I was able to fix that issue. After changing the service to "Local system account" I gave full permission of Buildmaster database for the user "NT AUTHORITY\SYSTEM"
M
manager_7279
@manager_7279
0
Reputation
3
Posts
1
Profile views
0
Followers
0
Following
Best posts made by manager_7279
This user hasn't posted anything yet.
Latest posts made by manager_7279
-
RE: I have permission error when deploy the build on the IIS
-
RE: I have permission error when deploy the build on the IIS
Hi @atripp,
Thank you so much for your answer. Actually, I am trying to stop the IIS Pool (that is connected to only 1 site) without stopping IIS pool I can't deploy artifact files.
I tried to change the BuildMaster Service and BuildMaster Web Server to run under Local System Account but after restart service BuildMaster web app not running so I have to revert it back.Any suggestion?
Thank you!
-
I have permission error when deploy the build on the IIS
Its .NET app and build are working fine but when I tried to deploy it on IIS I got this error.
I have given full permission to the site folder as well but still the same error. I am using Windows Server 2019 Standard.
I tried to use IIS::Stop-Site Script as well but same error there as well.Error: Unhandled exception: System.UnauthorizedAccessException: Access is denied. (0x80070005 (E_ACCESSDENIED)) at Microsoft.Web.Administration.Interop.IAppHostProperty.get_Value() at Microsoft.Web.Administration.ConfigurationElement.GetPropertyValue(IAppHostProperty property) at Microsoft.Web.Administration.ApplicationPool.get_State() at Inedo.Extensions.Windows.Operations.IIS.AppPools.AppPoolJob.StopAppPoolAsync(ApplicationPool pool, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E361574\Src\Windows\InedoExtension\Operations\IIS\AppPools\AppPoolJob.cs:line 104 at Inedo.Extensions.Windows.Operations.IIS.AppPools.AppPoolJob.ExecuteAsync(CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E361574\Src\Windows\InedoExtension\Operations\IIS\AppPools\AppPoolJob.cs:line 37 at Inedo.Agents.LocalJobExecuter.ExecuteJobAsync(RemoteJob job, CancellationToken cancellationToken) at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.OtterScriptExecuter.Inedo.ExecutionEngine.Executer.IExecutionHostEnvironment.ExecuteActionAsync(ActionStatement actionStatement, IExecuterContext context)