Friday, July 8, 2011

[InvalidOperationException: Unable to generate a temporary class (result=1).

[InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'D:\WINDOWS\TEMP\d0lurtzx.0.cs' could not be found
error CS2008: No inputs specified while using webservice which is using Windows Auth to connect to sql


Solution:

This issue occurs if the user account does not have the List Folder Contents and Read permissions on the %windir%\Temp folder.
To resolve this issue, grant the user account the List Folder Contents and Read permissions on the %windir%\Temp folder

No comments:

Post a Comment

If you’re using Visual Studio to build your .NET MAUI app on a Mac, locating the IPA (iOS App Package) file can be a bit tricky

  If you’re using   Visual Studio   to build your   .NET MAUI   app on a   Mac , locating the   IPA (iOS App Package)   file can be a bit tr...