Try our conversational search powered by Generative AI!

Problem storing files on server

Vote:
 

Hi,

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?

#35790
Dec 23, 2009 14:30
Vote:
 
#35791
Edited, Dec 23, 2009 16:13
Vote:
 

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

#35792
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.