Error saving temporary Win32 resource file

Question:

When I tried to deploy the report library, I got the error "Deploying 1 data source(s) and 8 design(s) in 43 culture(s) (345 item(s) total)…

Deployment failed unexpectedly with the message:

An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC30137] Error saving temporary Win32 resource file ‘C:WindowsTEMPvbcC82D.tmp’: System Error &H80070020&’.

See the log file for further details.

The deployment log file can be found at "C:UsersUserNameAppDataLocalTemp2tmp3DCB.txt"

 

Answer:

The issue is due to the fact that the Anti virus scanner is locking the .tmp file while the deployment process is trying write into it.

To be able to resolve the issue, we should disable the anti virus scanner for the meantime while we deploy the reports. Or we can add the ".tmp" file types to the exclusion list of the scanner.

In addition, there will be an issue with reports deployment using a regular domain user in Windows server 2008. If you plan to have someone deploy the report with a non-Admin account, we suggest disabling UAC. Otherwise, it is good to leave it at enabled.

 

This entry was posted in 未分类. Bookmark the permalink.

Leave a comment