Update to this i am using iis7 i have the site on 2 servers running iis6 and all works fine. is there something extra i need to do under iis7 to get ashx extensions to work? Although when i do ?version i get a version back so dont think thats the issue.
i installed the site on my win7/iis7 laptop using the webinstaller that will have set it to integrated? I dont want to change to classic else site will probably stop working? got to be iis setting im certain of it.
Classic mode is essentially "Run as IIS6" - if you've used the webinstaller, maybe it will have set some IIS7 specifc settings, but I guess you could use the web.config from the IIS6 instances?
Depending on what version of ImageGen you've got, you need to have the ImageGen Professional settings in web.config and have a /config/imagegen.config file (though it can be empty).
You see, 'localhost' can run the Pro features and in at least one version of ImageGen it required that you had the Pro features enabled by checking your config file... if it weren't there and you tried to use the Pro features you got a really unhelpful message.
Value cannot be null. Parameter name: value error
Hello,
I am using imagegen ImageGen version 2.2.1.38932 when i try to resize image using url http://localhost/umbraco/ImageGen.ashx?image=/media/6310/touch_logo.jpg&height=87&width=188
i get no image so i enter the above url in browser and in resultant page i get the error:
Value cannot be null. Parameter name: value error
Anyone else seen this before?
Regards
Ismail
Update to this i am using iis7 i have the site on 2 servers running iis6 and all works fine. is there something extra i need to do under iis7 to get ashx extensions to work? Although when i do ?version i get a version back so dont think thats the issue.
Its not something like setting the AppPool Managed Pipeline Mode to Classic instead of Integrated?
i installed the site on my win7/iis7 laptop using the webinstaller that will have set it to integrated? I dont want to change to classic else site will probably stop working? got to be iis setting im certain of it.
Regards
Ismail
Classic mode is essentially "Run as IIS6" - if you've used the webinstaller, maybe it will have set some IIS7 specifc settings, but I guess you could use the web.config from the IIS6 instances?
Rich,
Actually the app pool is set to classic.
Regards
Ismail
Depending on what version of ImageGen you've got, you need to have the ImageGen Professional settings in web.config and have a /config/imagegen.config file (though it can be empty).
You see, 'localhost' can run the Pro features and in at least one version of ImageGen it required that you had the Pro features enabled by checking your config file... if it weren't there and you tried to use the Pro features you got a really unhelpful message.
Sorry for the confusion.
cheers,
doug.
Doug,
Whats the declaration that needs to go in web.config
Regards
Ismail
Just check out the documentation, it covers everything (though there's a typo with a slash that should go the other way in the web.config file).
cheers,
doug.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.