ASP.net Getting the error “Access to the path is denied.” while trying to upload files to my Windows Server 2008 R2 Web server?

I have an asp.net webapplication that uploads files to a specific folder on the Web server. locally everything works...