locked
Parameter name: source RRS feed

  • Question

  • User591150598 posted
    I created, based on a lot of pieces of code I found here and other places, code to upload images, resize to certain parameters, and create a thumbnail. It works fine, unless I try to upload a really old pic that does not have an author attribute. The error I get is as follows: Value cannot be null. Parameter name: source. Does anyone know how I can bypass this or how to set this to an empty string so that the system will manipulate the image. Thanks.
    Tuesday, December 28, 2004 4:33 PM

All replies

  • User-1372641848 posted
    Check for null value first or put that part in to try catch block.
    Wednesday, January 5, 2005 10:16 AM