简体   繁体   中英

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

Process Explorer

Find out what files, registry keys and other objects processes have open, which DLLs they have loaded, and more. 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.

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 . 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. With Visual Studio you will want to inspect the devenv.exe process.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM