I\'ve got a windows service which scans a folder every n seconds for changes. I\'m getting \"the service did not respond to the start command in a timely fashion\" when tryi
The OnStart method shouldn't block. You need to spawn a worker thread that will do the job. You could also take a look at the FileSystemWatcher class to scan for file system change notifications.