Questions tagged [w3wp.exe]
46 questions
32
votes
10 answers
.Net Framework: exception in w3wp.exe
I developed website with web forms in asp.net 3.5. I ran it with IIS. It worked good earlier. But exception occured suddenly, when I debugged it. Message was
An unhandled Microsoft .Net Framework exception occured in w3wp.exe
[XXXX]
It occurs…

greatromul
- 1,069
- 2
- 15
- 42
13
votes
3 answers
Process.Start() under asp.net?
According to msdn :
ASP.NET Web page and server control code executes in the context of
the ASP.NET worker process on the Web server. If you use the Start
method in an ASP.NET Web page or server control, the new process
executes on the Web…

Royi Namir
- 144,742
- 138
- 468
- 792
9
votes
2 answers
Dump Diagnostics
Recently i received the error log below in my windows Server 2012.
Some consequences like web site down happens and a 503 error are launching in the browser.
I caught up on updates in OS and i have searching for this problems, that let me to do some…

André Agostinho
- 615
- 1
- 6
- 15
8
votes
1 answer
AppPool shuts itself down
This is an issue I've had twice now over a couple of months. Basically I've gotten a call saying our site is giving an HTTP error 503, I take a look at the IIS7 Manager and notice the AppPool has switched itself off. I restart it and it continues…

Rock250
- 121
- 1
- 1
- 6
6
votes
1 answer
Meaning of w3wp.exe: All outstanding func-evals have not completed
In my years of using Visual Studio and attaching and detaching from processes, I can't recollect seeing this error, which is why it stood out to me just now when I detached from an IIS .NET 4.0 website project.
I'm purely curious about this error…

John K
- 28,441
- 31
- 139
- 229
5
votes
2 answers
w3wp.exe Garbage Heap is FULL of Free object space and keeps on growing
My IIS app (.NET 4.0, IIS7) is continually growing in memory, and eventually falls over, as if I have a memory leak.
So I took a DMP while it was up around 1.7GB and cracked it open in WinDbg.
The dumpheap -stat command showed that while I had a…

Omar McIver
- 111
- 6
4
votes
1 answer
How to get a list of all the ASP.NET running worker process and its associated application pools?
I'm in a need to get a list of all the ASP.NET running worker process and its associated application pools and process ID.
Is there a way to do this pragmatically (C#) or a powershell script?

Ahmed Atia
- 17,848
- 25
- 91
- 133
3
votes
2 answers
w3wp.exe (NETWORK SERVICE user) is locking a newly created file and preventing access to it
I have a Web application. It sends a series of images to the server (no problem there) and then uses code from this tutorial to create a PowerPoint presentation. The presentation is saved in a directory on the web server and the URL is returned to…

Fred
- 31
- 1
- 3
2
votes
1 answer
SQL Server timeout caused by w3wp.exe crashing
I have a ongoing issue with my website, where it appears the W3wp.exe crashes and in turn anyone attempting to connect to the site will receive a SQL server timeout error.
The error is this...
System.Data.SqlClient.SqlException: Timeout expired. The…

JGilmartin
- 8,683
- 14
- 66
- 85
2
votes
1 answer
Getting an Error in my event log of Team Foundation Server
I don't know if this is the right place to ask this, but I'm getting an error in my eventlog every time I open my TFS webpage I get the following error:

Raymon
- 21
- 4
2
votes
2 answers
Recover memory from w3wp.exe
Is it possible to recover memory lost from w3wp.exe? I thought a session.abandon() should clear up the resources like that? The thing is I have a web application, certain pages make w3wp.exe grow significantly. Like from 40 MB to 400 MB. Now I am…

xeshu
- 788
- 2
- 11
- 24
2
votes
7 answers
In an ISAPI filter, what is a good approach for a common logfile for multiple processes?
I have an ISAPI filter that runs on IIS6 or 7. When there are multiple worker processes ("Web garden"), the filter will be loaded and run in each w3wp.exe.
How can I efficiently allow the filter to log its activities in a single consolidated…

Cheeso
- 189,189
- 101
- 473
- 713
1
vote
2 answers
high cpu useage on w3wp process
I am encountering an issue with my asp.net c# web application where the server is hitting very high cpu useage eg. 80%+ on w3wp process.
This has only happened recently after I made numerous changes to my application. I am fairly sure that it may be…

amateur
- 43,371
- 65
- 192
- 320
1
vote
0 answers
The file is locked by: "w3wp.exe" after windows update
I' ve an ASP.NET CORE project with IIS, Im using this about 1 year without problems.
Yeserday I update windows 1909 to 21H2 and im getting all the time these errors on visual studio:
"The process cannot acces the file ... (DLL) because it is used…

user222137
- 41
- 6
1
vote
0 answers
VB.net aspX image resize and created file permission denied
I'm trying to create an image based on an original image as a template.
a picture > kapak.jpg - resize to 1366x768 > orta.jpg - resize to 848x480
Code is working. Nothing wrong BUT when I use; code block 2 its locking the file which is kapak.jpg
I…

Fatih AYDIN
- 11
- 1