[英]Is it possible to find the objects and DLL which a website is locking when running in Visual Studio or IIS?
在Visual Studio或IIS中运行时,是否可以找到网站锁定的对象和DLL?
The SysInternals suite contains lots of useful tools for this sort of thing - see http://technet.microsoft.com/en-us/sysinternals/default.aspx SysInternals套件包含许多有用的工具,请参阅http://technet.microsoft.com/en-us/sysinternals/default.aspx
Process Explorer Process Explorer
Find out what files, registry keys and other objects processes have open, which DLLs they have loaded, and more. 找出哪些文件,注册表项和其他对象进程已打开,它们加载了哪些DLL等等。 This uniquely powerful utility will even show you who owns each process. 这个功能独特的实用程序甚至可以向您显示每个进程的拥有者。
Process Monitor 进程监视器
Monitor file system, Registry, process, thread and DLL activity in real-time. 实时监控文件系统,注册表,进程,线程和DLL活动。
You can see what objects, DLLs and other files are locked by any process (including Visual Studio or IIS) by using a tool such as Process Explorer . 您可以使用Process Explorer等工具查看任何进程(包括Visual Studio或IIS)锁定了哪些对象,DLL和其他文件。 For IIS you will want to view the file handles that are open for w3wp.exe or dllhost.exe, depending on what version of IIS you are using. 对于IIS,您需要查看为w3wp.exe或dllhost.exe打开的文件句柄,具体取决于您使用的IIS版本。 With Visual Studio you will want to inspect the devenv.exe process. 使用Visual Studio,您将需要检查devenv.exe进程。
There is a nice search feature in Process Explorer that will be useful if you know the name of the file you suspect is being locked in advance. Process Explorer中有一个很好的搜索功能,如果你知道你怀疑被提前锁定的文件的名称,它将非常有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.