FileMon and FileLoadException

We deal heavily with dynamically created assemblies. We do system installs of our product almost never.
When we do I always encounter the dreaded FileLoadException Setup failed with hr = 0x80070005

For some reason the binder uses an obscure directory that does not have the correct permissions for ASPNET user to access. Which directory? I can never remeber.

Filemon from sysinternals does… it’s great (and free). It shows you all file access commands issued and whether they succeded or not. So its easy to find where your access is being denied.

In this case “c:\documents and settings\Default User\local settings\Application Data”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: