nope...i did not add any files of that sort to my folder...
it is lookiung for some file called My, the thi ng is i can't find, in my code, any syntax or line of code which specifies this filename...
the core of my code is basicallyt this :
Private Sub Timer1_Elapsed(ByVal sender As System.Object, ByVal e As System.Timers.ElapsedEventArgs) Handles Timer1.Elapsed
Dim MyLog As New EventLog() ' create a new event log
' Check if the the Event Log Exists
If Not MyLog.SourceExists("MyService") Then
MyLog.CreateEventSource("MyService", "Myservice Log") ' Create Log
End If
MyLog.Source = "MyService"
' Write to the Log
MyLog.WriteEntry("MyService Log", "This is log on " & _
CStr(TimeOfDay), EventLogEntryType.Information)
End Sub
This is just a tutorial i followed...just to test out a Windows Service, and how to create one...
the error msg is Exception occured while initiliazing the installation. System.IO.FileNotFoundException : File or Assembly name My, or one of its dependencies, was not found..
I think I'll attach the zip file of all the related files to my project...here for your reference...