Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Mar 11, 2010 @ 15:22
    Ismail Mayat
    0

    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

     


     


  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Mar 11, 2010 @ 15:48
    Ismail Mayat
    0

    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.

  • elspiko 133 posts 302 karma points
    Mar 11, 2010 @ 15:59
    elspiko
    0

    Its not something like setting the AppPool Managed Pipeline Mode to Classic instead of Integrated?

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Mar 11, 2010 @ 16:09
    Ismail Mayat
    0

    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

  • elspiko 133 posts 302 karma points
    Mar 11, 2010 @ 16:14
    elspiko
    0

    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?

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Mar 11, 2010 @ 16:45
    Ismail Mayat
    0

    Rich,

    Actually the app pool is set to classic.

    Regards

    Ismail

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Mar 11, 2010 @ 17:29
    Douglas Robar
    0

    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.

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Mar 12, 2010 @ 10:43
    Ismail Mayat
    0

    Doug,

    Whats the declaration that needs to go in web.config 

    Regards

    Ismail

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

    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.

Please Sign in or register to post replies

Write your reply to:

Draft