884 questions
0
votes
1
answer
203
views
How do I configure garbage collection for a ASP.NET 4.8 IIS application pool?
I'm trying to fine tune performance/memory usage of a ASP.NET 4.8 web application in IIS. I did all the measurements and determined that I'd like to sacrifice a bit of performance for lower memory ...
0
votes
0
answers
83
views
IIS Application pool hangs for PHP site
On a Windows Server 2016 Standard with IIS 10.0 I am experiencing serious problems with the IIS application pool hanging for a PHP site written in YII, making the site unresponsive until the pool is ...
0
votes
1
answer
40
views
Application Pool stops when using a Custom HttpModule to subscribe Begin, Error and End request events
I have hosted an aspx Application in IIS version(10.0.19) with the Application Pool Identity configured to a custom user. The credentials of the user in correct. And the application seemed to be ...
0
votes
1
answer
61
views
How can I create and test two web apps in two separate application pools on my local machine?
I have been tasked with determining how to maintain user sessions via cookies from one subdomain to another across multiple application pools. My findings so far indicate that subdomains can share ...
0
votes
0
answers
129
views
App pool stops with various warnings like 5201, 5009, 5022 Etc. Rapid fail protection set to 5 occurrences, and 6th time app pool stops
we are struggling in finding the root cause for App pool stop at IIS in randomn. Rapid fail protection settings below:
App pool stops after 5 warnings like below: (warning codes are different each ...
1
vote
0
answers
79
views
Application pool recycle cause bug with duplication of collection items. Blazor server .net6 app hosted in windows Azure app service
We experience a serious bug when application pool recycles for a .net6 Blazor server-side application hosted on windows Azure app service. We have a Mapster mapping between client side ViewModel and ...
1
vote
1
answer
129
views
Expected App Pool is not showing. Instead of that Generic App Pool is showing
I've written code in C# to start and stop the IIS Pool. I've used ServerManager method and trying to user ServerManager().ApplicationPools but it is only showing below five application pools and not ...
0
votes
1
answer
371
views
IIS - Assign a custom count to an application pool : Windows user password "invalid"
When I want to enter the Windows user's password, IIS tells me that the password is invalid.
However, I am administrator of my machine, and I launched "IIS" in administrator mode.
There must ...
1
vote
2
answers
3k
views
Is there any way to know why an application pool in IIS has restarted?
I have a Windows Server 2016 machine running IIS 10.0. It hosts a number of application pools. One pool in particular restarts itself randomly. It is a heavily used pool and this disruption is a ...
1
vote
0
answers
166
views
How is computed the private memory limit with multiple worker process on IIS?
On IIS, we can set a private memory limit to trigger a recycle if the worker process serving the application pool consumes too much memory. However, it seems that this computation is off when there is ...
1
vote
1
answer
402
views
How to automatically set the Application Pool Identity, User Name & Password
Question
How can I automatically set the password of the Application Pool Identity from within a Windows commandline interface or script?
What I have Tried
I have tried to following command in ...
0
votes
1
answer
136
views
How to resolve 'recycle IIS application pool error in vbScript website'? [duplicate]
This application needs to be recycled at least 3 times a day, currently it's a very big problem. This is not a large-scale logical application, it is primarily used for uploading and downloading ...
1
vote
1
answer
1k
views
IIS App Pool Crashing when App Pool User connects to fileshare
At my workplace, we use Visual Studio to create ASP.NET MVC websites for most of our in-house applications. We have one particular site that is being... obstinate with file connections. What we have ...
1
vote
0
answers
4k
views
How to find cause of IIS shutting down an app pool after only a minute or so
We have a .Net 5 web app we just launched recently. In the event log I'm seeing that the application pool keeps shutting down and restarting after anywhere from 30 seconds to a minute or so. I have ...
0
votes
0
answers
114
views
App Pool Issues and Website redirecting back to login after successful login
I have a website developed with asp.net webforms. It uses the asp.net identity for user authentication and management. Also, I set a response cookie once a user is authenticated upon login which is ...
-1
votes
2
answers
977
views
IIS Website intermittently going down and coming back up
I have a .Net based IIS Website that appears to be going down and coming back up without logging it. The only way I'm able to tell this is happening is from our CMS logging the time that it needs to ...
0
votes
1
answer
846
views
Using appcmd.exe, is there away to ADD OR UPDATE an IIS app pool's environment variable?
I know I can add an environment variable to an app pool using this:
appcmd.exe set config /section:system.applicationHost/applicationPools /+"[name='myAppPool'].environmentVariables.[name='myvar',...
-2
votes
1
answer
368
views
IIS_IUSRS group is empty
I have 500.19 error when trying to host a PHP application
I've tried to add the IIS_IUSRS group and permissions to it, but when I added it the site stopped working, maybe the problem is that the ...
0
votes
2
answers
1k
views
ApplicationPool is not creating a new user profile
When creating a new website or just a new ApplicationPool, IIS should create a new Windows user-profile (via WAS). Unfortunately this is not working anymore when I set the identity of the ...
0
votes
0
answers
333
views
IIS Vertical Scalability with Multiple App Pools
In my company, there is an ASP.NET Core application that is being used today but will retire in a year. The application started having huge amount of concurrent users so we need to scale the ...
1
vote
1
answer
4k
views
An ISAPI reported an unhealthy condition to its worker process in Blazor Entity Framework App
I use Entity Framework in a Blazor Server App to access data in an SQL Server database. The app runs fine in the IDE against the SQL Server database, but when I deploy to a test web server running IIS ...
0
votes
1
answer
491
views
How to force an IIS App Pool to go into the 'Unknown' state?
How can we force an IIS app pool to go into Unknown state? Is there a way to do this through the inetmgr GUI or through power shell ? I want to test a script that I'm writing, based off the Unknown ...
0
votes
0
answers
2k
views
Website is redirecting back to login page after successful authentication
I have a website in production server, asp.net webforms using Asp.Net Identity system.
Sometimes, when users tries to login, it redirects then back to login page after successful authentication ...
0
votes
0
answers
829
views
IIS-10 worker processes crashing
We recently upgraded our server O/S from Win2012 to Win2019. While on 2012, in IIS, we had configured a Virtual Directory called PDFReader. The physical path was a filestream directory which contains ...
0
votes
0
answers
238
views
Application working when app pool refresh in ASP.NET
App pool refresh issue
Application is not working if we do not refresh the app pool (in IIS).
Issue Background
When our ASP.NET application and database (Oracle SQL developer) was migrated to a new ...
0
votes
1
answer
3k
views
IIS 10 Application Pool CPU Limit and Limit Interval
I have been going over allot of IIS tuning for my web application, and have set everything that I have found online. But I still had some lag after some time idle, even after setting idle time out to ...
0
votes
1
answer
781
views
how can I change IIS log files directory names
How can I change the default logfiles directory name for all sites?
For example:
%SystemDrive%\inetpub\logs\LogFiles\{{ site_name }}
Where {{ site_name }} is the website name (e.g. www.example.com).
0
votes
2
answers
2k
views
Which application pool does an application use by default
If I create a number of application pools, and then create an application but don't specify which application pool it should run in, which one does it use?
Is it random? Does it always take the first ...
0
votes
1
answer
1k
views
The ASP.NET_SessionId is missing for http but works fine for https
I have a web application in ASP.NET 4.5.2. The application works fine in IE but in Chrome & Edge when I access the application using HTTP the ASP.NET_SessionId cookie is not created. When I log in ...
0
votes
2
answers
4k
views
Setup IIS Identity in an ApplicationPool using cmd or ps1
is there an example of setting the Identity in IIS for a Custom User in an Application Pool using command line or powershell script?
1
vote
0
answers
646
views
IIS Express hosted site not setting HttpContext.User
I'm working on a process of migrating some old projects running on Windows Server 2003 to 2022. One of the websites I'm working on uses ClearTrust ISAPI Filter with some ASP pages to provide an STS ...
0
votes
0
answers
345
views
how does plesk asp.net website restart without affecting others in the shared pool
I have multiple asp.net sites in plesk shared hosting, and if I were to modify the web.config for one site it will restart, and the first request will take about 10 to 15 seconds.
However this restart ...
-1
votes
1
answer
511
views
Is it possible to move an application to a new app pool with a batch file? [closed]
Lets say I have a website called "MyApp" that exists on the wwwroot folder in iis.
I also have an app pool called "AppPool2" that I want to move "MyApp" to this app pool.
...
0
votes
2
answers
3k
views
How to change IIS app pool password on multiple servers at once remotely?
We have a requirement to change our application's IIS app pool password everytime it expires. Currently, we have to manually login to each server and run a snippet of PowerShell code which changes the ...
0
votes
2
answers
637
views
Recycle all app pools with a .bat file with a delay between each one
I would like to have a delay between each recycled app pool so the CPU doesn't get high. Below is my current .bat file that recycles all my app pools at once. How can I add a delay between each one ...
0
votes
0
answers
547
views
IIS Application Pool Stopped automatically with Fatal Communication Error when migrated from Windows Server 2012 to Windows Server 2019
We are facing serious IIS Application Pool issue which stops automatically after regular intervals with below error message as:
"Application pool 'testapi.com' is being automatically disabled due ...
4
votes
1
answer
4k
views
Does .NET 6 Allow Multiple Apps to run in a Single App Pool?
Does .NET 6 allow multiple apps to run in a single app pool?
.NET Core did not, but I'm not finding anywhere that specifies if .NET 6 allows this?
2
votes
1
answer
327
views
Application Pool Suffered a fatal communication error with the Windows Process Activation Service
So the company I work for has been having this issue for years. We continuously get this error almost every other day. After the application pool crashes, it does reboot. However, we're having ...
0
votes
1
answer
268
views
PowerShell IIS How to make each recycle period 2 minutes apart
I need to set all times for IIS pools to be recycled each 2 minutes apart. I want to create a script in PS that would set that up for me. This is how it looks:"
$AppPool = Get-IISAppPool
$...
1
vote
1
answer
2k
views
How do I start and stop several IIS Applicationpools at once with a PowerShell script
I would like to create a PowerShell script that can Start and Stop several IIS Applicationpools at once.
I already found a similar article about this: How to start and stop application pool in IIS ...
0
votes
0
answers
286
views
Cannot break do-while loop in Powershell
I have been working on this PowerShell script. I'm still pretty new at this. The way it works is that I give it a list of servers which it goes though and restarts the App Pools 1 by 1. I have been ...
0
votes
0
answers
83
views
I have a problem with this "Incorrect program output" --- Input --- help me
import interface as In
from fecha import Fecha
class Empleado:
def __init__(self,nombre,cedula,salario,dia,mes,anio):
self.nombre=nombre
self.cedula=cedula
self.salario=...
0
votes
1
answer
797
views
Recycle IIS App Pool from a different server using c#
Is it possible to recycle an IIS APP Pool using c# from a different server?
I can recycle the IIS App Pool if the App is inside the server but I want to trigger the recycle app pool from a different ...
0
votes
1
answer
789
views
Unable to export the IIS result to CSV
I have created a script to get all the IIS Sites and App-pool details from multiple servers, the script is working fine as expected, but I am unable to export the results to CSV file.
It will helpful ...
0
votes
0
answers
233
views
connection not initialized issue resolved after restart iis
My MVC web application crashes sometimes in live server while we are working on it. All users are facing [Exceptions]yellow error screen.
This exception occurs on randomly not on specific location or ...
0
votes
0
answers
371
views
IIS restarts suspended aplications after configuration change
I have encountered a (mis?)behavior of IIS/ASP.NET related to app pool suspension (Idle Worker Process Page-Out), and I can't find documentation about it. When an ASP.NET app (.NET Framework 4.8) in ...
0
votes
1
answer
2k
views
Disable recycling for configuration and alternative ways to do it for IIS and AppPool
We are having weird configuration change errors that happen and we can't tell why. We have tried just about everything to figure out what is happening. We now want to stop the site from recycling ...
0
votes
0
answers
491
views
An extra app pool auto created on IIS Server 10.0
I am facing an issue with IIS Server 10.0, Window Server 2016. I am using InstallShield to install a web application. It is using a new .NET CORE application that uses an Unmanaged app pool. The ...
7
votes
0
answers
4k
views
IIS loghttp module spams EventLog with errors about a worker process which cannot obtain custom log data for N requests
we have setup our web application on a new Windows Server Datacenter 2019 edition.
Previously it ran on a Windows 2008 server.
The application runs smoothly, but the EventLog is being overflooded with ...
2
votes
0
answers
3k
views
ASP.Net Core application - setting up memory limit
I am writing .NET Core application (Blazor), which is hosted in Webhosting under IIS. I cannot control IIS settings (it is under control of provider) and I have Application Pool limited to 500 MBs. ...