I have a .NET console application running on Windows Server 2003, as a defined task. It uses the process class to run another small console application, but as it uses Process.StartInfo.Username to take the form of a user to run it. If the account is cloned in the task defined in an administrator, then it works perfectly, but if not, then I get the error: 'Application Failed to start properly (0xc0000142) ' I have tried giving users' log on as batch job' and 'log on locally' but its Does not seem to have any effect. . The console application starts as a cloned user, but then fails Looking at the process monitoring, it is unsuccessful before the previous event: Tool1 Exe - Load Image - C: \ WINDOWS \ system32 \ kernel32.dll - Success I depend on the running tool and it is reported that this error is: GetProcAddress (0x77E40000 [c: \ windows \ system32 \ Kernel32.dll], "FlsAlloc") is called "c: \ windows \ system32 \ mscoree.dll" address at 0x7900746D and given by thread 1. 0x77E6B49C Sector exited "c: \ Stfinstall \ stf \ tools \ tool1 \ TOOL1.EXE with" (0xB3C process) thread 1 Code 1282 (0x502). If someone can be caused by this error, or even better, how can I fix it, please tell me! Suggestions of alternative approaches are also welcome thanks :)
I have solved this since then, the problem is that there is no access to desktops. User page scheduled work runs, so it fails. Administrators are able to be able to access this access.
The way I did the round, the user had to always work to log on to the box, so access to the desktop is always available, and it works just fine I know is!
Comments
Post a Comment