I thought it may be that I need to create the Cached folder myself and also tried giving the folder write permission but then it comes back with the error "Request Failed"
http://**.**/services/ImageGen.ashx?version
ImageGen Basic version 2.5.7.27945 Professional features are available for localhost Professional features are available for *.local
any ideas ? i am using go daddy hosting if that helps
It does indeed seem to be a permissions issue. The application pool owner needs to have Create/Read/Update permissions to the folder(s) containing the images you are resizing. In your example, the app pool identity would need to be able to create the /images/cached folder and be able to create, read, and update files in that folder.
The 'cached' folder is created in the same folder as any image that ImageGen resizes.
"Thank you for your reply. You will not have access to server side logs in our Windows shared hosting environment. It appears that you are attempting to perform a function which requires Full trust. Our hosting accounts have a Medium trust level. Trust level refers to permissions set in the Web.config file that dictate what operations can and cannot be performed by Web applications. Our ASP.NET 3.5 and 4.0 shared hosting servers use the default Medium trust level with the addition of OleDbPermission, OdbcPermission, and a less-restrictive WebPermission.
Applications operating under a Medium trust level have no registry access, no access to the Windows event log, and cannot use ReflectionPermission (but can use Reflection). Such applications can communicate only with a defined range of network addresses and file system access is limited to the application's virtual directory hierarchy.
Using a Medium trust level prevents applications from accessing shared system resources and eliminates the potential for application interference. Adding OleDbPermission and OdbcPermission allows applications to use those data providers to access databases. WebPermission is modified to allow outbound http and https traffic.
Please don't hesitate to contact us again if we can be of additional assistance."
Access to the path 'Cached' is denied.
When I deploy my files onto my hosting server it does not work anymore, on localhost everything is working fine.
http://**.**/services/ImageGen.ashx?image=/images/image_1.jpg&width=250
Access to the path 'Cached' is denied.
However this works fine:
http://**.**/services/ImageGen.ashx?image=/images/image_1.jpg
I thought it may be that I need to create the Cached folder myself and also tried giving the folder write permission but then it comes back with the error "Request Failed"
http://**.**/services/ImageGen.ashx?version
ImageGen Basic version 2.5.7.27945
Professional features are available for localhost
Professional features are available for *.local
any ideas ? i am using go daddy hosting if that helps
Hi, Raj,
It does indeed seem to be a permissions issue. The application pool owner needs to have Create/Read/Update permissions to the folder(s) containing the images you are resizing. In your example, the app pool identity would need to be able to create the /images/cached folder and be able to create, read, and update files in that folder.
The 'cached' folder is created in the same folder as any image that ImageGen resizes.
cheers, doug.
This is the reply I got from my hosting company:
"Thank you for your reply. You will not have access to server side logs in our Windows shared hosting environment. It appears that you are attempting to perform a function which requires Full trust. Our hosting accounts have a Medium trust level.
Trust level refers to permissions set in the Web.config file that dictate what operations can and cannot be performed by Web applications. Our ASP.NET 3.5 and 4.0 shared hosting servers use the default Medium trust level with the addition of OleDbPermission, OdbcPermission, and a less-restrictive WebPermission.
Applications operating under a Medium trust level have no registry access, no access to the Windows event log, and cannot use ReflectionPermission (but can use Reflection). Such applications can communicate only with a defined range of network addresses and file system access is limited to the application's virtual directory hierarchy.
Using a Medium trust level prevents applications from accessing shared system resources and eliminates the potential for application interference. Adding OleDbPermission and OdbcPermission allows applications to use those data providers to access databases. WebPermission is modified to allow outbound http and https traffic.
Please don't hesitate to contact us again if we can be of additional assistance."
Hi, Raj,
ImageGen requires full trust (or at least high trust) for some of its resizing operations.
cheers, doug.
this is a bit of a deal breaker, my hosting wont allow full trust and therefore I cant use this software :(
Hi,
Look at this topic.. http://issues.umbraco.org/issue/U4-6338
I'm using Windows 2012 R2 server and the application seems to shut down once in a while, which causes the index lock.
I've installed the microsoft patch, that's mentioned in the topic and never had the lock again.
Good luck!
is working on a reply...