问题标签 [w3wp.exe]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
1361 浏览

debugging - 如何有效地使用 W3WP.exe 调试 SharePoint 应用程序?

谁能告诉我如何有效地使用 w3wp.exe 来调试共享点应用程序?

0 投票
3 回答
8844 浏览

c# - asp.net下的Process.Start()?

根据msdn

ASP.NET 网页和服务器控制代码在 Web 服务器上的 ASP.NET 工作进程的上下文中执行。如果您在 ASP.NET 网页或服务器控件中使用 Start 方法,则新进程将在具有受限权限的 Web 服务器上执行。该进程不会在与客户端浏览器相同的上下文中启动,并且无权访问用户桌面。

究竟哪个 账户“受限权限”

例子 :

  • 我登录到win7为RoyiN
  • Windows 身份验证已启用
  • 在web.config 中启用了模拟(整个站点)BobK
  • W3WP用户是UserA(不是网络也不是 ApplicationPoolIdentity)。

在 C# 中我这样做Process.start("....cmd.exe...")凭据为:“ ”,“ ”,“ ”) StartinfoMartinPasswordDomain

  • 谁是account最终运行的高效者cmd.exe

  • “受限权限”实际上与谁有关?

0 投票
1 回答
16506 浏览

asp.net - 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 happily on it's way until a few months latter it happens again.

The IIS manager is handling four sites, both times this issue occurred on the same site. The .NET Framework version being used is v4.0.

Looking at the event log I see the following

Web Server IIS:

Warning: Event 5011 "A Process serving the application pool 'foo' suffered a fatal communication error with the Windows Process Activation Service. The process id was 'X' The data field contains the error number." - This warning appears 5 times, with 5 difference values for X, this takes place over about a minute 10-15 seconds between each warning.

Error: Event 5002 "Application pool 'foo' is being automatically disabled due to a series of failures in the process(es) serving that application pool."

Application log:

Error: Event 1000: "Faulting application name: w3wp.exe, version 7.5.7601.17514, time stamp: 0x4ce7afa2.
Faulting module name: clr.dll version 4.0.30319.17929, times tamp: 0x4ffa59b1. Exception codeL 0x0000fd"

Information: Event 1001 "Fault bucket, type 0
Event Name: APPCRASH Response: Not available"

The above two events occur over the same time period, first the error followed by two information events. This occurs five times and lines up with the warnings from the web server log.

If anyone can clarify what is going on it would be much appreciated. I'd rather not be worrying that our site is going to disappear from the web because the application pool decided to switch itself off.

I know that the Rapid Fail Protection (which causes the switch off after a given number of failures) can be switched off, but I'd rather deal with the underlying issue.

0 投票
10 回答
71249 浏览

asp.net - .Net Framework:w3wp.exe 中的异常

我在 asp.net 3.5 中开发了带有 Web 表单的网站。我用 IIS 运行它。之前效果不错。但是当我调试它时突然发生异常。消息是

w3wp.exe [XXXX] 中出现未处理的 Microsoft .Net Framework 异常

每次我尝试运行我的应用程序时都会发生这种情况,但是当我使用 Cassini 运行网站时也不例外。当我在 IIS 上部署 html 页面时也不例外。仅 IIS 上的 .net 应用程序会出现问题。

我尝试了许多在这里找到的解决方案,但没有一个能解决问题。

怎么了?有人可以帮忙吗?谢谢。

0 投票
1 回答
85 浏览

iis - 尝试读取 VPS 磁盘空间时 W3WP.exe*32 崩溃

我尝试了两种不同的代码来获取我的 VPS 上的 C 盘磁盘空间,它们如下:

另一个是

现在这些代码在 localhost 上运行良好,但是,每当我在 ASP.Net (FW4) 应用程序下运行它们时,W3WP.exe 崩溃并且 IIS 技术上会自动重新启动。

有没有办法在不使 W3WP.exe 崩溃的情况下获得我的 VPS 上的磁盘空间?

我正在使用来自 GoDaddy 的 IIS 7.5 和 Windows Server 2008 R2 Standard

任何帮助表示赞赏:)

0 投票
0 回答
324 浏览

iis - How much memory can/will w3wp use

On Win2k12, running IIS8, with 12GB of ram, how much memory will a single w3wp process use with no other pressures.

I am attempting to isolate where I have an issue. It seems like there is a leak somewhere since it grows to about 10GB and then crashes and starts up again. It usually hovers between 800MB-2GB. Then, all of the sudden, it starts increasing over a 2-5 minute period and it crashes.

As I begin to isolate I was wondering, all things being equal, how much would the process use up with no other pressure - just one site on this server. Similar to the way SQL Server will use up all the ram, if you let it, will w3wp do the same?

0 投票
1 回答
3444 浏览

iis - 错误应用程序名称:w3wp.exe 错误模块名称:nlssorting.dll 异常代码:0xc00000fd

在我的开发服务器上,出现以下错误。

错误应用程序名称:w3wp.exe,版本:7.5.7600.16385,时间戳:0x4a5bcd2b

错误模块名称:nlssorting.dll,版本:4.0.30319.1,时间戳:0x4ba1d8ae

异常代码:0xc00000fd

故障偏移量:0x000020d5

故障进程ID:0xae4

错误应用程序启动时间:0x01d049af7c9369d8

错误的应用程序路径:C:\Windows\SysWOW64\inetsrv\w3wp.exe

错误模块路径:C:\Windows\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll

报告 ID:44dd0b77-b627-11e4-96f4-005056aa293f

谁能告诉我可能是什么问题,或者我如何确定问题是什么?

0 投票
2 回答
20382 浏览

windows - 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 options like:

  • Remove net.tcp, net.pipe, net.msmq, and msmq.formatname bindings
  • Install KB2640103 hotfix, that needs to ask for Microsoft Support Customer.

I'm not an expert in Windows Server but would like to understand the situation and receive more comments.

APPLICATION LOG

Log Name: Application Source: Application Error EventId: 1000

Faulting application name: w3wp.exe, version: 8.0.9200.16384, time stamp: 0x50108835

Faulting module name: clr.dll, version: 4.0.30319.18449, time stamp: 0x528fdca2 Exception code: 0xc00000fd

Fault offset: 0x000000000010c0c5

Faulting process id: 0x474

Faulting application start time: 0x01d05204681c00ea

Faulting application path: c:\windows\system32\inetsrv\w3wp.exe

Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll

Report Id: 49a3bf22-bdf8-11e4-944f-22000afcadb1

Faulting package full name:

Faulting package-relative application ID:

SYSTEM LOG

WAS

Application pool 'v3.xxxxx.com.br' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

A process serving application pool 'v3.xxxxx.com.br' suffered a fatal communication error with the Windows Process Activation Service. The process id was '4492'. The data field contains the error number.

0 投票
0 回答
258 浏览

asp.net - 浏览网站时出现此 w3wp.exe 错误是什么?

我在window server 2008 上托管的asp.net 网站突然停止工作。当我浏览网站时,服务器上会显示一个异常,说明 w3wp.exe 错误。即使我在服务器上的 Visual Studio 中运行该网站,它仍然无法正常工作。我已经尝试了很多来修复它,但找不到解决方案。

这是事件查看器上错误的屏幕截图: 在此处输入图像描述

这里有人可以帮我解决吗?

谢谢

0 投票
2 回答
594 浏览

memory-leaks - w3wp.exe 垃圾堆充满了可用对象空间并不断增长

我的 IIS 应用程序(.NET 4.0、IIS7)在内存中不断增长,最终崩溃,就好像我有内存泄漏一样。

所以我在它大约 1.7GB 的时候拿了一个 DMP 并在 WinDbg 中打开它。

dumpheap -stat 命令显示虽然我在堆中有相当数量的对象,但大多数(以及在查看顺序 DMP 时正在增长的位)被标记为“空闲”(>800MB):

000007feef55b768 46091 2212368 System.Data.DataRowView
000007fe9739dda8 10355 2236680 Newtonsoft.Json.Serialization.JsonProperty
000007fef4260610 33062 2644960 System.Signature
000007fef4242250 41809 4682608 System.Reflection.RuntimeMethodInfo
000007fef424f058 69232 8847997 System.Byte[]
000007fef4241b28 11 9437680 System.Double[]
000007fef4237ca0 15 9505176 System.DateTime[]
000007fef424c168 32559 11009308 System.Char[]
000007fef424dc30 17271 11795376 System.Int32[]
000007feef555c48 908 17936676[[] System.Data.RB2`1+IncorNode]
000007feef554f58 853 22056952 System.Data.RBTree`1+Node[[System.Data.DataRow, System.Data]][]
000007feef5514b0 541444 51978624 System.Data.DataRow
000007fef424aee0 1550958 132599872 System.String
000007fef422f1b8 183607 178409288 System.Object[]
0000000000d8b2d0 234017 844500226 免费

所以我然后运行“!dumpheap -type Free”,它给了我很多微小的 Free 对象(准确地说是每个 94 字节!),最后还有几个更大的“Free”对象:

00000003098a59b0 0000000000d8b2d0 134 Free
00000003098c19d0 0000000000d8b2d0 102 Free
00000003098ffa00 0000000000d8b2d0 54 Free
0000000309a41d98 0000000000d8b2d0 5961750 Free 000000041f8a1000
0000000000d8b2d0 24 Free 000000042001b4d0 0000000000d8b2d0 16933078 Free
00000004211bf7c8
0000000000d8b2d0 7702 Free
00000004212c1600 0000000000d8b2d0 35173374 Free
00000004236b3be0 0000000000d8b2d0 66886 Free 0000000423cc41e8 0000000000d8b2d0 10778318
Free 0000000424768928 0000000000d8b2d0 2254734 Free 00000004249ec128 0000000000d8b2d0 21166350
Free
000000042600f1e0
0000000000d8b2d0 51366 免费
000000042621bac8 0000000000d8b2d0 114007238 免费

注意到“d8b2d0”的重复地址,我运行了一个“!gcroot d8b2d0”,得到了以下结果:

0:000> !gcroot d8b2d0
找到 0 个唯一根(运行 '!GCRoot -all' 以查看所有根)。

所以......毕竟......我有大量的空闲对象卡在我的堆上,GC 没有释放。这会持续大约 2-3 小时。没有其他迹象表明实际类型化的对象有任何内存泄漏。它发生在我们生产中的几乎所有虚拟机上。

有谁知道如何处理在堆上留下这么多空闲对象空间的 GC?

它让我在圈子里跑了好几天。所以向可以帮助我解决这个问题的天才致敬!