Hi All,
Mine is the Smart Client Application, with windows UI and uses webservices, and there are around 250 users. All users have restricted C Drive Acess and with Roaming Profile On.
Sometime few users are getting one of the following(or all the) three exceptions and application is not working. And restarting the application or machine may starts working again.
And everytime different set of users reports the issue. After 2 or 3 days same user may report the issue. This seems to be intermittent.
I am unable to find the rootcause of the issue. All the user machines is installed with framework .Net 3.5.
--------------------------
----------
----------
----------
----------
----------
----------
-------
There was an error in serializing body of message : 'Unable to generate a temporary class (result=1).
error CS0016: Could not write to output file 'c:\Documents and Settings\veena_ks\Local Settings\Temp\lvpbihgg.dll
' -- 'Could not execute CVTRES.EXE.'
'. Please see InnerException for more details.
System.ServiceModel.Commun
icationExc
eption: There was an error in serializing body of message : 'Unable to generate a temporary class (result=1).
error CS0016: Could not write to output file 'c:\Documents and Settings\veena_ks\Local Settings\Temp\lvpbihgg.dll
' -- 'Could not execute CVTRES.EXE.'
--------------------------
----------
----------
----------
----------
----------
----------
----------
--
Unable to generate a temporary class (result=1).
error CS0016: Could not write to output file 'c:\Documents and Settings\mirza_ali\Local Settings\Temp\yb8kzui3.dll
' -- 'Could not execute CVTRES.EXE.'
--------------------------
----------
----------
----------
----------
----------
----------
----------
--------
The type initializer for 'Utilities.MessagingSuppor
t.RuntimeC
onfigurabl
eProfile' threw an exception.
System.TypeInitializationE
xception: The type initializer for 'Utilities.MessagingSuppor
t.RuntimeC
onfigurabl
eProfile' threw an exception. ---> System.Runtime.InteropServ
ices.Exter
nalExcepti
on: Cannot execute a program. The command being executed was "c:\WINNT\Microsoft.NET\Fr
amework\v2
.0.50727\c
sc.exe" /noconfig /fullpaths @"C:\Documents and Settings\mirza_ali\Local Settings\Temp\uq9dm4wo.cmd
line".
at System.CodeDom.Compiler.Ex
ecutor.Exe
cWaitWithC
aptureUnim
personated
(SafeUserT
okenHandle
userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
--------------------------
----------
----------
----------
----------
----------
----------
----------
----------
-
Can someone help me in finding the rootcause of the issue and helps me resolving the issue. (I am suspecting the temp folder access, but all the users have full access to temp folder)
Start Free Trial