I have a c# executable that triggers the WCF webservice in the same server.It was working fine until it started to throws this error message
Message : Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\mchgnxs3.0.cs' could not be found
error CS2008: No inputs specified
What I tried so far: Provided read/write access to the account that triggers the WCF
Recently the server crashed and restored from a backup server.Is there any chance that it is related to the error?
I solved it.You have to provide the write access to temporary folder . I was providing this access to different user.The correct user id is the one that is mentioned in application pool of your web service.