I have an asp.net webapplication that uploads files to a specific folder on the Web server. locally everything works fine, but when I deploy the application to the Webserver
Have you looked under Advanced Security Settings?
something like below image change permissions of folder to IIS_IUSRS