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?
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.
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.)
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
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.
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
is working on a reply...