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?]
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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 5 years, 2 months ago.
Tags: NET
AuthorTopicwoody
ManagerViewing 9 reply threadsAuthorReplies-
jstillings1
AskWoody LoungerOk 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
ManagerIf 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 LoungerThis. 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 LoungerThis. 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 LoungerTypically 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
ManagerEssentials 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 LoungerAfter 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
Guestjstillings1
AskWoody Lounger4.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
GuestYou 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 PlusIt’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
Managerjstillings1
AskWoody LoungerThanks 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 PlusWill 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 MVPNaming 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
-
Easily Make Sugar Free Chocolate Nut Clusters
by
Drcard:))
3 hours, 10 minutes ago -
October 2023 Office non-Security updates are now available
by
PKCano
20 minutes ago -
USA only – alert to be sent to all devices
by
Susan Bradley
9 hours, 53 minutes ago -
Humane shows off its futuristic ‘Ai Pin’ wearable
by
Alex5723
13 hours, 23 minutes ago -
Linux Mint 21.2 Cinnamon (Edge)
by
Alex5723
17 hours, 20 minutes ago -
What happened to Web Select?
by
John Harley
10 hours, 15 minutes ago -
StatCounter : Windows 11’s market share is unchanged and not going anywhere.
by
Alex5723
20 hours, 31 minutes ago -
How to view 1990’s files with graphics content. Lotus 123 .wk1/.FMT Harvard.DWG
by
Theodor Arrenbrecht
2 hours, 3 minutes ago -
macOS Sonoma can be installed on 83 unsupported Macs
by
Alex5723
1 day, 4 hours ago -
Unable to create home network connection between Win 7 and Win 10 machines
by
maddaze
12 hours, 56 minutes ago -
Entering pin to start windows 11 22h2
by
mike4381
1 day, 7 hours ago -
Version 1809/Server 2019 kb5030214 problem question?
by
69800
1 day, 6 hours ago -
Ghacks Author Filter
by
rdleib
1 day, 5 hours ago -
ZenRAT Malware Targets Windows Users Via Fake Bitwarden Password Manager
by
Alex5723
1 day, 14 hours ago -
Waterfox G just gets better and better
by
Ascaris
4 hours, 43 minutes ago -
Microsoft Backup triggers help-desk calls and confusion
by
Susan Bradley
7 hours, 41 minutes ago -
How Amazon ejected AI-written e-books from its bestseller lists
by
B. Livingston
1 day, 1 hour ago -
Ten stunning features in Microsoft Word
by
Peter Deegan
4 hours, 55 minutes ago -
Thunderbolt
by
Ed Tittel
1 day, 7 hours ago -
VeraCrypt updates
by
Alex5723
1 day, 6 hours ago -
A.I. and AskWoody
by
WCHS
1 day, 18 hours ago -
Where is Windows Update?
by
bsfinkel
47 minutes ago -
mailwasher
by
jferr333
1 day, 21 hours ago -
Windows Photos
by
Linda2019
1 day, 22 hours ago -
OT QuickBooks payroll module not letting you efile 941
by
Susan Bradley
1 day, 23 hours ago -
MSA logins have been retired from DPC May 1st
by
Cormy1
1 day, 23 hours ago -
Administrator Lock
by
John Monge
2 days, 3 hours ago -
Skype cancels loopback audio
by
Steven
2 days, 6 hours ago -
Python re-installation
by
WSepzcaw
1 day, 13 hours ago -
Finally updated to Thunderbird 115
by
EricB
55 minutes ago
Recent blog posts
- October 2023 Office non-Security updates are now available
- USA only – alert to be sent to all devices
- Microsoft Backup triggers help-desk calls and confusion
- How Amazon ejected AI-written e-books from its bestseller lists
- Ten stunning features in Microsoft Word
- Thunderbolt
- Wait for the bugs to be worked out
- MS-DEFCON 4: Is Windows 11 really a disaster?
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-2023 by AskWoody Tech LLC. All Rights Reserved.