I have a discrepancy on a Windows Server (2019 DC) that is showing up as follows:
]2
Which one is correct? The site eating 13GB in IIS is showing 8GB in Task Manager.
Does IIS do something that's not apparent in Task Manager?
Did you tried to remove IIS and remove it again unter the roles?
Related
I've been working on creating reproducible development virtual machines for my team's work on Xperience CMS with the Hashicorp Vagrant tool. In this environment, the Xperience 13 administrative backend is encountering a runtime error upon startup, as can bee seen in the attached screenshot. I can confirm that the CMS connection string is correct because I have been able to successfully run an Xperience MVC Core site in the very same environment with the very same connection string. I have also used the exact same connection string to directly open a SQL connection using PowerShell in the exact same environment.
Things I have tried to diagnose the issue:
I have tried increasing the execution timeout to the maximum allowed value. The runtime error still occurs, and long before the timeout's default value of 2400 seconds.
I have tried attaching the Visual Studio debugger. The debugger reported "'CMS.DataEngine.ApplicationInitException' in CMS.DataEngine.dll" but no further details or stack trace.
I have confirmed the correct firewall passthrough rules are in place.
I have completely turned off Windows Firewall.
The environment is running on Hyper-V inside a Windows 10 host. The guest development environment has the following specs:
Windows 11 Pro 21H2
16GB RAM
200GB Virtual Drive
11th Gen Intel(R) Core(TM) i7-11800H # 2.30GHz 2.30 GHz - 4 virtual processors
SQL Server 2019
All required IIS features enabled for XperienceCMS
.NET Framework 4.8
Kentico Xperience CMS 13 Hotfix 47
I'm running out of ideas to diagnose this problem.
It was an NTFS folder permissions issue on inetpub\wwwroot that either wasn't being applied or wasn't being propagated down the hierarchy. IIS_IUSRS needed Modify permissions. Setting then resetting Modify, Read, and Execute permissions and propagating them down to subfolders and files solved the issue.
Good day
My self-imposed task is to migrate my small Web sites onto a brand-new machine.
I am looking for some input, on what would possibly be the most sensible way to move these Web sites' relevant IIS settings onto the other machine.
(The network part is not an issue, just forwarding to a different IP and telling the firewall should be no problem.)
Source system has IIS 7.5 on Win 7 Ultimate.
Target system has IIS 8.5 on Win 8.1 Pro.
What doesn't work, most likely due to the different IISs, is the following approach. On current machine:
appcmd add backup "backup name"
and on new machine:
appcmd restore backup "backup name"
This smashed in two the whole tree (I should have saved the target machine's empty IIS state, of course). This is easily fixed, though: from Windows Features, disable IIS, let the PC restart, and enable IIS again.
Backup and restore has been designed to be a machine local way of managing IIS configuration. One backup saved from one machine cannot be restored on another machine easily.
Microsoft does provide a tool for users to move web sites from one IIS machine to another, which names Web Deployment Tool,
https://www.iis.net/learn/publish/using-web-deploy/synchronize-iis
I have switched recently to windows 10 and have no clue if this is linked but my IIS doesn't seem to work as it used to. I previously had a remote connection to one of my website but every time I click its name in IIS it returns me an error: "Remote connections are not supported".
A quick check tells me that IIS Manager for Remote Administration is installed in its version 1.2. I have no idea what is happening and it is really frustrating because I cannot add any new website either.
I had a similar problem. I solved it by downloading and running "IIS Manager for Remote Administration 1.2" and doing a "Repair" operation. This did three things: 1) reduced the startup time for the IIS Manager dramatically, 2) added a "Start Page" root node in my IIS Manager Connections pane (I know this used to be there but I had not noticed it was missing after my Windows 10 update), and 3) fixed my remote connection node.
I have a Win 2008 R2 Enterprise machine that is running fine several websites each one with its own app pool.
I have no troubles giving permissions (using windows GUI) to IIS AppPool\A, IIS AppPool\B, etc... But today I have created one more app pool "C" and I can't find it in the GUI nor using icacls command. I'm trying to give permissions in a folder to IIS AppPool\C but it says it can't find! I'm including built-in security principals in the search and if I type any of the existing app pool identities windows finds then Ok. The problem is just with this new one.
Does anyone knows what is going on?
I don't know if it is reladed but the only change made to this server was to enable .net 3.5 WCF Activation for http and non-http. After enabling this, I got error in all my .net 4 sites and fixed by running aspnet_regiis.exe /iru as described here http://devonenote.com/2010/06/could-not-load-type-system-servicemodel-activation-httpmodule .
Turns out you need to start the associated IIS application for the first time before you can see your application pool in the windows GUI!
I'm running Visual Studio 2010 and IIS 7.5
My site accesses a specified servers hardware for some statistical analysis.
When I debug my site in Visual Studio, I can access other servers hardware information with now issue. When I publish the site to IIS running as ASP.Net 4.0 appPool because the site is written under the 4.0 framework, the hardware retrieval fails. (note: when I run the site and analyze the local machine hardware, it works perfectly... the problem lies in analyzing another machine on the network.)
My question is, What is the difference in permissions a site is running under when debugging in Visual Studio in comparison to a published site in IIS 7.5?
Things I've tried...
Changing the app pool identity to every possible built in option, and my own domain profile, which is local admin on the machine I'm trying to retrieve hardware info about.
Changing the user that access the file directory of the website.
Changing app pools period. (The site has to run under .net 4.0, or else it barks out bad things).
I'm thinking I may need to install the site directly on the server that's being analyzed, but I find it odd that I can get all the data from other machine when I'm debugging. Any insight someone could bring would be greatly appreciated. Thanks!!
This answer is, in some cases, you have to add the appPool identity running the site to the "Performance Monitoring" group for the local machine in order to allow an ASP.NET site access the server's local hardware resources...