Last post Aug 19, 2010 12:12 AM by caofangc
Aug 18, 2010 03:54 PM|caofangc|LINK
I have a piece of code that writes string into an image and save it. It works on one of my site and but not the other. The image.save is not working. If this is a permission problem, which account should I change? I use win server 2003 and IIS 6, and have
given ASPNET, NETWORK SERVICE, and anonymous user write access.
Aug 18, 2010 07:22 PM|sansan|LINK
Are you using Windows Authentication?
if you are using windows authentication, user whoever was impersonated won't have rights to save the images.
I recommend creating user with full control of the folder where image resides and impersonate with that user account.
try that and see if it works.
Aug 19, 2010 12:12 AM|caofangc|LINK
It has integrated authentication in IIS. The strange thing is it works on another site and they have the same user permission.