469,921 Members | 2,152 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,921 developers. It's quick & easy.

System.Drawing, Server error

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?
Jun 12 '07 #1
0 863

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Toby Mathews | last post: by
10 posts views Thread by tshad | last post: by
4 posts views Thread by Liverpool fan | last post: by
2 posts views Thread by ThatsIT.net.au | last post: by
reply views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.