increase stack size if the w3wp.exe executable C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\amd64\editbin.exe check the current stack size.... dumpbin /ALL w3wp.exe > jw.txt editbin.exe /stack:9000000 w3wp.exe check the current stack again after the edit.... dumpbin /ALL w3wp.exe > jw.txt http://blogs.msdn.com/b/tom/archive/2008/03/31/stack-sizes-in-iis-affects-asp-net.aspx http://helpdeskgeek.com/windows-7/windows-7-how-to-delete-files-protected-by-trustedinstaller/ http://forums.asp.net/t/1736000.aspx?EDITBIN+STACK+1048576+w3wp+exe+fatal+error+LNK1104+cannot+open+file+w3wp+exe