System.Drawing, Server error

Discussion in 'ASP .Net' started by Manuel, Jun 12, 2007.

  1. Manuel

    Manuel Guest

    Hi to all
    I'm using System.Drawing.Image for drawing in a web application, in
    local work fine for all value, when I put the my application on the
    server I get this error for big value:

    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.

    Exception Details: System.ArgumentException: Parameter is not valid.

    Source Error:

    Line 324: System.Drawing.Image img = new Bitmap(256 * n, 256 * m);

    Anyone know the problem?
    Manuel, Jun 12, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    633
    Kevin Spencer
    Jan 9, 2006
  2. byrd48
    Replies:
    0
    Views:
    3,560
    byrd48
    Jul 6, 2006
  3. defn noob
    Replies:
    1
    Views:
    380
    Mark Space
    Jun 28, 2008
  4. ThatsIT.net.au
    Replies:
    2
    Views:
    489
  5. ThatsIT.net.au

    Help with writing System.drawing in server control

    ThatsIT.net.au, Oct 2, 2008, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    211
Loading...

Share This Page