.Net Errors Service Crashing

Hi Guys,

We have a folder watch service setup on a server in here and its giving what look like to me .Net errors of some form.
There have been no changes to this server before this issue started to occur and again no changes since it has occured.
The server is 2008R2 standard. A service crashes, this is a custom built service, 3 errors are posted to the app log below then the service restarts about 60 seconds later.

FYI the AV has been ruled out of the equation already.
FYI this server has not received any windows updates since december 2014.

Error 1 -
Log Name:      Application
Source:        Windows Error Reporting
Date:          12-11-2015 12:53:53
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:     Server Hostname
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: folderwatcherservice.exe
P2: 1.0.0.3
P3: 55647a14
P4: mscorlib
P5: 4.0.30319.18444
P6: 52717edc
P7: 46b9
P8: 26
P9: System.ArgumentException
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_folderwatcherser_e0157fe268fa1d8c4fc6a058883815688eac3d_2b928eb5

Analysis symbol:
Rechecking for solution: 0
Report Id: 6cda996c-893c-11e5-b728-005056ae33e4
Report Status: 4
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Windows Error Reporting" />
    <EventID Qualifiers="0">1001</EventID>
    <Level>4</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-11-12T12:53:53.000000000Z" />
    <EventRecordID>14238</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SERVERHOSTNAME</Computer>
    <Security />
  </System>
  <EventData>
    <Data>
    </Data>
    <Data>0</Data>
    <Data>CLR20r3</Data>
    <Data>Not available</Data>
    <Data>0</Data>
    <Data>folderwatcherservice.exe</Data>
    <Data>1.0.0.3</Data>
    <Data>55647a14</Data>
    <Data>mscorlib</Data>
    <Data>4.0.30319.18444</Data>
    <Data>52717edc</Data>
    <Data>46b9</Data>
    <Data>26</Data>
    <Data>System.ArgumentException</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_folderwatcherser_e0157fe268fa1d8c4fc6a058883815688eac3d_2b928eb5</Data>
    <Data>
    </Data>
    <Data>0</Data>
    <Data>6cda996c-893c-11e5-b728-005056ae33e4</Data>
    <Data>4</Data>
  </EventData>
</Event>

Error 2 -
Log Name:      Application
Source:        .NET Runtime
Date:          12-11-2015 12:53:52
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:     Serverhostname
Description:
Application: FolderWatcherService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
   at System.IO.Path.CheckInvalidPathChars(System.String, Boolean)
   at System.IO.Path.GetFileName(System.String)
   at System.IO.FileSystemWatcher.MatchPattern(System.String)
   at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32, System.String)
   at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32, UInt32, System.Threading.NativeOverlapped*)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-11-12T12:53:52.000000000Z" />
    <EventRecordID>14236</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SERVERHOSTNAME</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: FolderWatcherService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
   at System.IO.Path.CheckInvalidPathChars(System.String, Boolean)
   at System.IO.Path.GetFileName(System.String)
   at System.IO.FileSystemWatcher.MatchPattern(System.String)
   at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32, System.String)
   at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32, UInt32, System.Threading.NativeOverlapped*)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
</Data>
  </EventData>
</Event>

Error 3 -
Log Name:      Application
Source:        Application Error
Date:          12-11-2015 12:53:53
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:     SERVERHOSTNAME
Description:
Faulting application name: FolderWatcherService.exe, version: 1.0.0.3, time stamp: 0x55647a14
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86
Exception code: 0xe0434352
Fault offset: 0x0000c42d
Faulting process id: 0xb2c
Faulting application start time: 0x01d11d28cf979628
Faulting application path: FolderWatcherService.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 6cda996c-893c-11e5-b728-005056ae33e4
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-11-12T12:53:53.000000000Z" />
    <EventRecordID>14237</EventRecordID>
    <Channel>Application</Channel>
    <Compute>serverhostname</Computer>
    <Security />
  </System>
  <EventData>
    <Data>FolderWatcherService.exe</Data>
    <Data>1.0.0.3</Data>
    <Data>55647a14</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>6.1.7601.18409</Data>
    <Data>53159a86</Data>
    <Data>e0434352</Data>
    <Data>0000c42d</Data>
    <Data>b2c</Data>
    <Data>01d11d28cf979628</Data>
    <Data>D:\XmlFolderMonitorService\FolderWatcherService.exe</Data>
    <Data>C:\Windows\syswow64\KERNELBASE.dll</Data>
    <Data>6cda996c-893c-11e5-b728-005056ae33e4</Data>
  </EventData>
</Event>
LVL 1
wannabecraigAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
is this the folderwatcher service that you are using
https://msdn.microsoft.com/en-us/library/ff724702%28v=expression.40%29.aspx
wannabecraigAuthor Commented:
I believe so, I will confirm this asap, lets operate on the basis that is for now thanks david.
wannabecraigAuthor Commented:
Hi David, this is not the folderwatch service were using its a custom module designed using System.IO.FileSystemWatcher in .NET , he codes it all up in visual studio. I believe it is C sharp coding.
David Johnson, CD, MVPOwnerCommented:
I'd start running the debug version for a while in the debugger this way the programmer can find the problem since he has the .pdb files

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wannabecraigAuthor Commented:
Thanks will post back the reports.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.