Previously we had a one single Application Server and a database server. We recently added a new server in our SharePoint Farm to handle the Search Service Application Load. The workflow and Web Foundation services are turned off from the second server. All of sudden we getting the following error while publishing the workflow :
(-1, -1) Compilation failed. Could not find file 'C:\Users\\AppData\Local\Temp\z1pwejy2.dll'.)
The name of the dll changes with every publish attempt. However, an IISreset seems to solve the issue but temporarily. The issue arises again after a while.
Any idea why this happens ?