Interesting quandary from @jstillings1: Ok folks theory check this. Windows server 2016 essentials set up 7/21/2018 All patches are installed… yes the
[See the full post at: Server error “invalid AppPoolId ‘CertWebService_App’” due to bad .NET patches?]
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Server error “invalid AppPoolId ‘CertWebService_App’” due to bad .NET patches?
Home » Forums » Newsletter and Homepage topics » Server error “invalid AppPoolId ‘CertWebService_App’” due to bad .NET patches?
- This topic has 17 replies, 9 voices, and was last updated 6 years, 9 months ago.
Tags: NET
AuthorTopicViewing 9 reply threadsAuthorReplies-
jstillings1
AskWoody LoungerJuly 25, 2018 at 1:45 pm #205787Ok folks theory check this.
Windows server 2016 essentials set up 7/21/2018
All patches are installed… yes the july ones.
Local machines are getting an error when trying to use the web interface to connect to the domain by using http://[server-name]/Connect
I have a theory it is due to the certificate issues with IIS with .Net updates with the july patches…
Here is the error codes in IIS
The application ‘/’ belonging to site ‘2’ has an invalid AppPoolId ‘CertWebService_App’ set. Therefore, the application will be ignored.
Site 2 was disabled because the root application defined for the site is invalid. See the previous event log message for information about why the root application is invalid.
The Application Host Helper Service encountered an error trying to delete the history directory ‘C:\inetpub\history\CFGHISTORY_0000000014’. The directory will be skipped and ignored. Note that the directory may still get deleted in the future if the service restarts. The data field contains the error number.
So am I just a IT noob and didnt set up the server right or… did the .NET patches break something..
1 user thanked author for this post.
-
jstillings1
AskWoody Lounger -
jstillings1
AskWoody Lounger -
PKCano
ManagerJuly 25, 2018 at 2:51 pm #205822If you updated from June to July, it might be worth a try to roll back to the June patches. Both the CUs and .NET patches for most of the versions of Windows have been very problematic this month. Read some of the blog topics lately and their links to the ComputerWorld articles.
2 users thanked author for this post.
-
zero2dash
AskWoody LoungerJuly 25, 2018 at 4:28 pm #205857This. Remove the .NET update for July. If you cannot do it through Add/Remove cpl, View Installed Updates, then check for a System Restore point.
If neither of those pans out, reinstall the OS fresh (since it’s new and doesn’t sound like it’s a prod server).
You may chase your tail and waste days trying to fix it, and could potentially never be able to fully fix it.1 user thanked author for this post.
-
jstillings1
AskWoody LoungerJuly 25, 2018 at 5:24 pm #205877This. Remove the .NET update for July. If you cannot do it through Add/Remove cpl, View Installed Updates, then check for a System Restore point. If neither of those pans out, reinstall the OS fresh (since it’s new and doesn’t sound like it’s a prod server). You may chase your tail and waste days trying to fix it, and could potentially never be able to fully fix it.
Will do, one quick noob question though. When we set up our Office 365 business it wanted us to add a Domain. We of course picked the same domain as our website. I just noted an error that leads me to believe you can not set up a windows server with the same domain name as your website?
-
zero2dash
AskWoody LoungerJuly 25, 2018 at 6:42 pm #205894Typically any server would be domain.local, like askwoody.local whereas the web entity would of course end in .com.
I believe you can technically set up a server (like a DC) as a domain.com, but I’ve never done it and I think (IIRC) that’s not a “recommended” way to go because supposedly it can cause problems. I think AD generally believes that its local Forest is going to be a .local domain.
O365 usually wants a domain for web/email, in which case you probably did fine using a .com there… but if you’re doing something like AD Sync, I believe you’d use a .local to point to your local DC but then also sync to the cloud. You could always remove the domain in your O365 Admin portal, leaving the free provided .onmicrosoft.com one, and then get your local server straightened out before tackling that one.
-
Susan Bradley
ManagerJuly 25, 2018 at 11:38 pm #205925Essentials role in 2016 is a special animal that has a wizard for hooking in Office 365. It names the server .local and then when you run the wizard it sets up the password sync up to the Office 365.
Be aware that Microsoft has announced they are deprecating this role and it will no longer be worked on /included in Server 2019. You can’t install Azure AD connect on an Essentials 2016 server. Did you follow the setup wizard when you set up the Essentials role?
Susan Bradley Patch Lady/Prudent patcher
-
-
-
-
-
jstillings1
AskWoody LoungerJuly 25, 2018 at 3:50 pm #205844After that last removal and install I am getting a hard error for .NET
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 7/25/2018 4:38:23 PM
Event time (UTC): 7/25/2018 8:38:23 PM
Event ID: ab801571fd2547ebb76dbe1ce0ffa8da
Event sequence: 4
Event occurrence: 1
Event detail code: 0Application information:
Application domain: /LM/W3SVC/1/ROOT/Connect-1-131770247007449878
Trust level: Medium
Application Virtual Path: /Connect
Application Path: C:\Program Files\Windows Server\Bin\WebApps\Client\
Machine name: TFA-PDC-SERVERProcess information:
Process ID: 5584
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICEException information:
Exception type: HttpException
Exception message: Attempt by security transparent method ‘Microsoft.WindowsServerSolutions.Client.Website.Global.Application_Start(System.Object, System.EventArgs)’ to access security critical method ‘Microsoft.WindowsServerSolutions.Common.Support.ResolveAssembliesFromProductBinDir()’ failed.Assembly ‘ClientSetupWebsite, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted.
at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)Attempt by security transparent method ‘Microsoft.WindowsServerSolutions.Client.Website.Global.Application_Start(System.Object, System.EventArgs)’ to access security critical method ‘Microsoft.WindowsServerSolutions.Common.Support.ResolveAssembliesFromProductBinDir()’ failed.
Assembly ‘ClientSetupWebsite, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted.
at Microsoft.WindowsServerSolutions.Client.Website.Global.Application_Start(Object sender, EventArgs e)Request information:
Request URL: http://tfa-pdc-server/Connect
Request path: /Connect
User host address: fe80::9a1:4475:dab7:30d0ab801571fd2547ebb76dbe1ce0ffa8da
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICEThread information:
Thread ID: 7
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)Custom event details:
-
anonymous
GuestJuly 25, 2018 at 4:14 pm #2058454.6 and 4.7 are okay with Essentials 2016, but not 4.7.1 or 4.7.2.
https://www.mcbsys.com/blog/2018/06/essentials-2016-dashboard-fails-with-net-4-7-1/
Not sure this related to your issue though.
Mark
-
jstillings1
AskWoody LoungerJuly 25, 2018 at 4:21 pm #2058564.6 and 4.7 are okay with Essentials 2016, but not 4.7.1 or 4.7.2. https://www.mcbsys.com/blog/2018/06/essentials-2016-dashboard-fails-with-net-4-7-1/ Not sure this related to your issue though. Mark
It shows 4.6 is installed and I do not have the KB for 4.7X installed.
-
anonymous
GuestJuly 25, 2018 at 6:50 pm #205893You Can use the same domain as your website, but in the end it generally causes more problems than it’s worth. Generally it’s best practice to use a .local instead of .com as part of your domain name. Or was, for non-cloud networks. If you’re planning on doing something like Single Sign-on in the future with Office 365, you may want to instead do a subdomain. eg: office.domainname.com
I think integration with Office365 will still work with .local domains (It’s been a while since my last transition), but a subdomain will be more future-proof.
-
mcbsys
AskWoody PlusJuly 25, 2018 at 8:18 pm #205905It’s possible that your issue is patch-related (uninstalling July patches should tell you) but certificate setup is a classic Essentials stumbling block. You might get more help in a forum dedicated to Essentials:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserveressentials
-
Susan Bradley
ManagerJuly 25, 2018 at 11:32 pm #205922https://windowsserveressentials.com/2014/02/14/windows-server-essentialsconfiguration-troubleshooter/ Use that tool to help identify what’s going on.
Susan Bradley Patch Lady/Prudent patcher
-
jstillings1
AskWoody LoungerJuly 25, 2018 at 11:46 pm #205927Thanks all, it was partly both issues 1 me being a noob and 2 july patches.
I had to 1 install the server 2016 essentials with the default [name].onmicrosoft.com
I also had to used advanced install so that MS update was turned off.
Once that was done I was able to set everything up like a champ. Just connected a windows 10 pro to the domain and all is well… till I try to enable Access anywhere tomorrow.
The funny thing Susan is I just graduated in May and they were teaching us Server 12 like it was new… I had a serious crash course this past week in Server 2016 and if they are turning this off in 5 months then I guess I get to learn something new. The constant in IT is change.
Thanks all.
-
BB-PRA
AskWoody PlusJuly 26, 2018 at 7:46 am #205982Will do, one quick noob question though. When we set up our Office 365 business it wanted us to add a Domain. We of course picked the same domain as our website. I just noted an error that leads me to believe you can not set up a windows server with the same domain name as your website?
”
The short answer, as best practice:
- Microsoft strongly recommends that you register a public domain and use subdomains for the internal DNS.
- So, register a public DNS name, so you own it. Then create subdomains for internal use (like corp.example.org, dmz.example.org, extranet.example.org) and make sure you’ve got your DNS configuration setup correctly.
Source:
-
Paul T
AskWoody MVPJuly 27, 2018 at 1:15 am #206207Naming your DC the same as your internet site is a recipe for disaster because your PCs will not know how to get to your internet site.
Always use a separate domain, .local is good, but you can choose almost anything that doesn’t exists, and will never exist, on the internet.cheers, Paul
Viewing 9 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Does windows update component store “self heal”?
by
Mike Cross
1 hour, 19 minutes ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
2 hours, 19 minutes ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
1 hour, 45 minutes ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
2 hours, 26 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
5 hours, 1 minute ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
5 hours, 3 minutes ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
12 hours, 4 minutes ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
13 hours, 10 minutes ago -
0Patch, where to begin
by
cassel23
7 hours, 12 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
1 day, 2 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
14 hours, 34 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
1 day, 11 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
1 day, 2 hours ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
13 hours, 27 minutes ago -
Installer program can’t read my registry
by
Peobody
8 hours, 25 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
1 day ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
1 day, 7 hours ago -
False error message from eMClient
by
WSSebastian42
1 day, 22 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
2 days, 7 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
2 days, 8 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
1 day, 5 hours ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
2 days, 12 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
1 day, 13 hours ago -
Outdated Laptop
by
jdamkeene
2 days, 17 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
2 days, 23 hours ago -
Another big Microsoft layoff
by
Charlie
2 days, 22 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
56 minutes ago -
May 2025 updates are out
by
Susan Bradley
2 hours, 38 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
3 days, 4 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
3 days, 4 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.