Could Not Delete Sy...
 
Notifications
Clear all

Could Not Delete System User Error when Updating Web Server Settings

11 Posts
2 Users
0 Reactions
3,605 Views
Posts: 73
Topic starter
(@javier-wong)
Trusted Member
Joined: 8 years ago

The App Pool for SCP is running on a domain admin account. The ANON is the same account as well. By right it shouldnt have any problems. Trying to run PROCMON to see if anything comes up. So far nothing.

Reply
Posts: 73
Topic starter
(@javier-wong)
Trusted Member
Joined: 8 years ago

Oh BTW I run it on Shared Config, but the location is within the same server and I use a local path. Would that cause any problems?

Could you point me to the code that obtains the apphost config path? I want to check if its obtaining the right one.

Reply
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hey,

Can you tell me if you see a account called "appHostConfigWriter"?

I have done further checks into the code and it appears it does create this account with the intention of using it for the apphost.

 

You can see the code here: https://git.key4ce.com/SolidCP/v1.0/blob/master/SolidCP/Sources/SolidCP.Providers.Web.IIS70/IIs70.cs#L3856

 

Regards,

 

Trevor Robinson

Reply
Posts: 73
Topic starter
(@javier-wong)
Trusted Member
Joined: 8 years ago

Just going through the code, the account should be "WDeployConfigWriter" and yes i do see it in the local users list. It is a member of nothing though. I tried granting it local Admin rights and ran it again. Same error.

Reply
Posts: 73
Topic starter
(@javier-wong)
Trusted Member
Joined: 8 years ago

Another thing that worries me is

var appHostConfigFilePath = FileUtils.EvaluateSystemVariables(@"%WINDIR%system32inetsrvconfigapplicationHost.config");

The applicationhost.config path seems hardcoded here. I wonder if this will break Shared Config. But its strange though, I've been using Shared Config for the longest time and it has never complained.

Reply
Page 2 / 3
Share: