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, 7 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
-
Google’s 10-year-old Chromecast is busted, but a fix is coming
by
Alex5723
19 minutes ago -
Expand the taskbar?
by
CWBillow
10 minutes ago -
Gregory Forrest “Woody” Leonhard (1951-2025)
by
Susan Bradley
18 minutes ago -
March 2025 updates are out
by
Susan Bradley
9 hours, 52 minutes ago -
Windows 11 Insider Preview build 26120.3380 released to DEV and BETA
by
joep517
17 hours, 56 minutes ago -
Update Firefox to prevent add-ons issues from root certificate expiration
by
Alex5723
1 day, 1 hour ago -
Latest Firefox requires Password on start up
by
Gordski
19 hours, 39 minutes ago -
Resolved : AutoCAD 2022 might not open after updating to 24H2
by
Alex5723
1 day, 13 hours ago -
Missing api-ms-win-core-libraryloader-11-2-1.dll
by
IreneLinda
12 hours, 41 minutes ago -
How Much Daylight have YOU Saved?
by
Nibbled To Death By Ducks
15 hours, 38 minutes ago -
A brief history of Windows Settings
by
Simon Bisson
9 hours, 16 minutes ago -
Thunderbolt is not just for monitors
by
Ben Myers
7 hours, 53 minutes ago -
Password Generators — Your first line of defense
by
Deanna McElveen
13 hours, 19 minutes ago -
AskWoody at the computer museum
by
Will Fastie
8 hours, 55 minutes ago -
Planning for the unexpected
by
Susan Bradley
14 hours, 19 minutes ago -
Which printer type is the better one to buy?
by
Bob99
1 day, 15 hours ago -
Upgrading the web server
by
Susan Bradley
1 day, 14 hours ago -
New Windows 11 24H2 Setup – Initial Win Update prevention settings?
by
Tex265
2 days, 9 hours ago -
Creating a Google account
by
DavidofIN
2 days, 7 hours ago -
Undocumented “backdoor” found in Bluetooth chip used by a billion devices
by
Alex5723
2 days, 14 hours ago -
Microsoft Considering AI Models to Replace OpenAI’s in Copilot
by
Alex5723
3 days, 1 hour ago -
AI *emergent misalignment*
by
Alex5723
3 days, 2 hours ago -
Windows 11 Disk Encryption/ Bitlocker/ Recovery Key
by
Tex265
1 day, 10 hours ago -
Trouble signing out and restarting
by
Tech Hiker
9 hours, 43 minutes ago -
Windows 7 MSE Manual Updating
by
Microfix
6 hours, 30 minutes ago -
Problem running LMC 22 flash drive
by
Charlie
2 days, 9 hours ago -
Outlook Email Problem
by
Lil88reb
2 days, 9 hours ago -
“Microsoft 365 Office All-in-One For Dummies, 3rd Edition FREE
by
Alex5723
2 days, 17 hours ago -
Cant use Office 2013 – Getting error message about Office 2013
by
SAAR
3 days, 10 hours ago -
Nearly 1 million Windows devices targeted in advanced “malvertising” spree
by
bbearren
3 days, 10 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.