Problem storing files on server



I've written some code to store some information in a database, resize a picture and then save the new file on the server. I've run this code in another project outside EPiServer so the code itself should work fine but on img.Save(directory + fileName, System.Drawing.Imaging.ImageFormat.Png); I get "Thread was being aborted."

Are there any rights in EPiServer denying me to write files to a folder on the server?

Dec 23, 2009 14:30
Edited, Dec 23, 2009 16:13

Sorry, actually "A generic error occurred in GDI+" is the error message I get.

Dec 23, 2009 16:38
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.