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 fine, but when I deploy the application to the Webserver, I begin getting the error “Access to the path “D:Attachmentsmyfile.doc” is denied”. I gave the “IIS AppPool” user that the application is running under full permission on the folder. I even gave “Everyone” full permissions, but with the same error.

The configuration section ‘system.servicemodel’ cannot be read because it is missing a section declaration

I have somewhat of a problem.
My old webserver (windows 2003) have been replaced, with a 2008 R2. I have been given an admin account on it, and can do whatever I want, but I am no expert on this area.
I configured the roles to have application developement and Web server (iis7).