Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to generate a temporary class (result=1)

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?

like image 636
Jeyaganesh Avatar asked Jun 15 '13 14:06

Jeyaganesh


1 Answers

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.

like image 123
Jeyaganesh Avatar answered Oct 04 '22 06:10

Jeyaganesh