Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jim Lesinski 32 posts 54 karma points
    Aug 12, 2010 @ 16:33
    Jim Lesinski
    0

    Could not load file or assembly 'ImageGen' or one of its dependencies. Access is denied.

    Hello,

    I installed ImageGen on a shared hosting account on GoDaddy using medium trust. Everything was working fine and then umbraco stopped loading and throws the error:

    Could not load file or assembly 'ImageGen' or one of its dependencies. Access is denied.

    I can't delete or rename the file, and recycling the application pool won't release it either. I tried resetting the permissions in the hosting account, but that seems to have no effect. I am currently waiting for Godaddy's staff to delete the file. 

    Is there any way I can disable imagegen so that it doesn't try to load imagegen.dll at all? I would need to do this manually as I cannot load the web or log into the content editor. Hopefully I can edit a config file or update the db maybe?

    Thanks,

    Jim

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Aug 12, 2010 @ 16:42
    Douglas Robar
    0

    ImageGen does not (yet) support medium trust, which is the cause of the error. You will need to delete the /bin/imagegen.dll file. Alternatively, you might be able to rename it to /bin/imagegen.dll.bak. Any .dll file in the bin folder is automatically loaded when the application pool starts.

    You might be able to do this via FTP or the host's control panel. Or perhaps you'll have to wait for the host's staff to delete it if you don't have sufficient access priviledges.

    cheers,
    doug.

  • Jim Lesinski 32 posts 54 karma points
    Aug 12, 2010 @ 16:53
    Jim Lesinski
    0

    Thanks Doug, that is what I suspected. The file is locked and I can't rename or delete it through any method I have available. (I tried them all.I was able to rename the bin directory but imagegen.dll is still locked.)

    I guess I will have to wait it out. 

    Thanks,
    Jim

Please Sign in or register to post replies

Write your reply to:

Draft