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

Open default email app in .NET MAUI

Sample Code:  if (Email.Default.IsComposeSupported) {     string subject = "Hello!";     string body = "Excellent!";    ...