I have an application (a service) which calls out to a web service. Usually everything works fine, but sometimes the following happens:
1. Service tries to exceute call creating an instance of the webservice
eg: Dim x As new WebService
2. I get an Error in the event log for the CSC.exe (Faulting application csc.exe, version 8.0.50727.1434, time stamp 0x4757b7d5, faulting module kernel32.dll, version 6.0.6001.18000, time stamp 0x4791a7a6, exception code 0xc0000142, fault offset 0x00009cac, process id 0x42e8, application start time 0x01ca5413f0e5d238.)
3. I get an error from my application (System.IO.FileNotFoundExceptionCould not find file 'C:\Users\myAccount\AppData\Local\Temp\nkpdwe01.dll'.)
My application creates and calls out to this web service once an hour, after the first time it fails it will keep failing every hour thereafter, until I restart the service. After I restart everything will run fine for a while, until it fails once, and they keeps faililing again until restarted.