Error "Source file ‘C:\Windows\Temp\xxxxx' could not be found"

 Sometimes, when invoking methods on a web service and in some other situations the following error may occur "Source file ‘C:\Windows\Temp\xxxxx' could not be found. No source files specified"

This error indicates that improper permissions are set on the ‘C:\Windows\Temp’ folder which prevent the application from creating the temporary files necessary to perform the requested operation. The name of the file located in the Temp folder and that could not be found may be random since it is generated by the system.

By changing the permissions on C:\Windows\Temp folder to allow additional accounts to have write access, the issue should be resolved.

To do this, the following steps should be performed:

  1. Right-click on C:\Windows\Temp in Windows Explorer and select Properties
  2. Click the Security tab
  3. Click Advanced
  4. Click Change Permissions
  5. If the IIS group is not listed, Add the group.  Once added, or if it was already listed, set the permissions to at least ‘List folder / read data’ for this folder, subfolders and files
  6. If the Users group is not listed, Add the group.  Once added, or if it was already listed, set the permissions to at least ‘Traverse folder / execute file, Create files / write data, Create folders / append data’ for this folder, subfolders and files.
  7. Apply all changes and click OK until all dialogs are closed

Add Feedback