SIP and ASP.Net
Question:
I have ASP.Net installed on the server. I ran the test file and it confirmed that everything is ok.
But when I use the ASP.Net component, the image is uploaded, but without resizing the image and no thumbnail is created. I tried the component that comes with SIP and it works fine.
I checked the security and permission of IUSRXXXX, and there is read, write, execute and modify permission.
Answer:
ASP.Net runs with a different user then classic ASP. Classic ASP uses the user IUSR_xxx, for ASP.Net a new user called ASPNET (IIS_WPG in Windows 2003) has been created. You should give this user full access to the image folder.
When Your server is configured as a domain server then the ASPNET user is not available, you have to use the IWAM_xxx instead for ASP.Net 1.1 or later. See http://support.microsoft.com/kb/315158/ for more information.
In addition you can secure your folder from executing uploaded scripts by disabling Execute rights from within IIS.
See for more info: http://www.asp.net/security.aspx
See also: http://www.dmxzone.com/go?11158
Comments
What do I do for the server?
How do I get ASP.NET to work for my server. I have the same problem that the question describes on my server, not my local computer.
I don't get any errors, just that it doesn't create a thumbnail or resize the picture. The one componet on my server that will work is ASP.NET. Do I have to send an email to my hosting company (experthost.com) so they can set the full access to the images folder?
Same problem
I have the same problem.
What can i do to make it work, i have webspace on asp.net enabeld server.
How can I a new user?
Permission there already
Hi
The script is working perfectly on my local machine, but does not seem to work on the ISP remote machine. I did contact my ISP and they say that they have applied the permissions?!
Is there another reason this could not be working?
Thanks, Rian
RE: Permission there already
Please post these questions in the forum for SIP.
http://www.dmxzone.com/forum/default.asp?NewsId=3965
Martha Graham
You must me logged in to write a comment.