Questions tagged [iisreset]
29 questions
1
vote
0 answers
IIS throws 403 and this issue get resolve after IIS reset
I have a web application hosted on IIS with a separate AppPool. Without any changes, we are getting a 403 error and this error gets resolved on IIS reset.
We have few entity information like user details are stored in an in-memory cache.
Can you…

Rahul S
- 13
- 2
1
vote
1 answer
Does an IIS Reset clear Memory Cache?
I've recently setup some caching for multiple websites that uses MemoryCache. The item I'm adding is a dataset and has an absolute expiry of 12 hours from the time it's added. What I want to know though, is there a way of clearing the cache…

sr28
- 4,728
- 5
- 36
- 67
1
vote
2 answers
Start and Stop IIS on remote machine through C# code
I need to stop IIS on a remote machine and then do some work and then start the IIS service again once the work is done. I am trying to do this using C# code. I have seen some similar questions about starting IIS on remote machines through code. But…

Quest
- 29
- 1
- 1
- 3
0
votes
0 answers
IIS starts application twice after app pool restart
I'm facing an issue with my application.
It's being hosted on IIS, hosting model out of process, application framework .net 6.
Once in a while, after application restart, ISS starts two processes.
Those are the logs from Event Viewer
10:41:57…

KSitnik
- 29
- 4
0
votes
1 answer
IISReset is overriding the application pool status
I have manually stopped app pool and started it by C# code. Then I did IISRESET by C# code only, its stopping again my application pool.

kuldeep Singh
- 5
- 1
0
votes
1 answer
IISreset creates web.config under the wwwroot dir
IISreset creates web.config under the wwwroot dir. Anyone know why this would happen? it's creating a vulnerability.
thanks
0
votes
0 answers
C# .Net 4.6.1 - Sudden Task Cancelled Exception - Fixed only by IIS RESET
I have an async Call from MVC Controller to another WebAPI. This piece of code was working for 3-4 years, without issues. Now, we had to move the Code to a different server environment. The website keeps working for 24 hours, exactly after 24…

jothi
- 332
- 1
- 5
- 16
0
votes
1 answer
Can you point to specific IISReset programs in powershell?
I've written a script that allows users to start, stop, or check various services on various environments pertinent to our work. Currently, for IISReset, it checks all of the app pools it controls, ergo starts and stops too.
Is there a way to point…

Aidan Baker
- 47
- 1
- 8
0
votes
1 answer
ERROR: Attempted to read or write protected memory. This is often an indication that other memory is corrupt
I get this error after having edited a few pages in SharePoint. I have to do an IISReset on both front ends to get this to resolve. I don't know how to fix it or even what else to supply here, but please let me know as the resets now happen…

SPSamL
- 158
- 1
- 12
0
votes
1 answer
WAS stops after iisreset after enabling startMode and preloadEnabled on appPools
Following the steps in this article I am trying to turn on preloadEnabled and startMode in my applications (I have about 20 WCF services in their own app pools and then 3 client sites)…

jcolebrand
- 15,889
- 12
- 75
- 121
0
votes
1 answer
WebDeploy with MSdeploy.exe fails to sync GAC Assembly because dll(s) locked by another process
I'm having this problem using msdeploy to sync GAC assembly to many Application Servers.
When I run this command
msdeploy -verb:sync -source:gacAssembly="'MyAssembly'" -dest:gacAssembly,computername=DESTINATIONSERVER
I obtain this…

Nicola C.
- 2,717
- 3
- 18
- 25
0
votes
1 answer
'Sequence Contains More Than One Element' Error
Relatively new to working with .net but learning a lot while working with a developer at work who at times can be stubborn. Recently the asp.net web form we are developing has periodically started crashing such that every time a link is clicked that…

user3200875
- 11
0
votes
1 answer
IIS doesn't notice updated controller
On IIS 7 I have an application running which uses Entity Framework Web API.
When I copy and replace one of the .cshtml (HTML and JS) files in the Views folder, the change is applied instantly.
But when I replace one of the controllers, changes take…

Explicat
- 1,075
- 5
- 16
- 40
0
votes
1 answer
restarting IIS (7.5) from a web page
This is purely academic curiosity. Is there a way for me to set up a web page, so that surfing to that page will cause IIS to restart (maybe to execute iisreset)?

Ami Malimovka
- 437
- 7
- 22