IIS - how to handle file permission problem
Seems like issue is that Drupal is trying to write a temporary file somewhere it cannot write, like in the site's docroot...

Try running below commands using drush and make sure write access is available for temp directories..

~$ drush vget file_directory_temp

~$ drush vget file_temporary_path