System.Drawing, Server error

M

Manuel

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top