book
Article ID: KB0086656
calendar_today
Updated On:
Description
Resolution:
An exception may be thrown in the init() method of a .NET service using Run-as that resembles the following:
01/10/2005 16:36:50:640 Severe: in init
System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINNT\TEMP\ptrdjpqr.0.cs' could not be found
error CS2008: No inputs specified
This is caused by incorrect permissions to the Windows temp directory on the Engines when using XML serialization in a .NET Service.
If you are using .NET Services that use XML serialization, complete the following steps:
1. Right-click the Engine's temp directory in its Windows system directory (C:\WINNT\temp for Windows 2000, C:\Windows\temp for Windows XP and Windows Server 2003), select Properties, and under the Security tab, use Add... to add all users that you intend to run Services as.
2. Click the Allow box, for Read , __Write__ , and Delete permissions. Note that the Delete permission is set using the Advanced button on the Security page of the Windows Explorer folder properties dialog box.
Issue/Introduction
.NET Exception When Using Run-As (GridServer 4.1)