I occasionally started to see a jit pop up on my windows forms / remoting
application when it was being run on a windows 2003 box. I turned off jit,
and got the error "Setup Error: Failed to load resources from resource
file".

People w/ similar probs said to look at what the app was trying to access
using sysinternal's filemon.exe. It's amazing to see all the crap your app
is accessing or trying to access. Some of the files it was trying to access
was worker.ini and worker.dll. Worker.exe is another application that this
app talks to w/ .NET Remoting. BUT I don't have a worker.dll or a worker.ini
!!!! What the hell is the dotnet framework doing?? So I decided to put an
empty worker.dll and a worker.ini file next to the error prone app exe, and
whola! No more error. I turned out that it needed an empty worker.dll
file. So why is this app looking for a dll and an ini that don't exist and
are never referenced in any of my code? And why would putting an empty dll
file fix this? I ran filemon.exe on my development machine, and sure
enough, my app tries to access this dll and ini file - but it doesn't have
this setup error. very strange stuff . . . .

-Lars