I created a windows service on VS 2005. I successfully installed it on a different server but whenever an error is thrown the stack trace returns the location of the computer that the service was built on.
Heres what the stack trace looks like:
Im not concerned with the error since I know why it was thrown. Its the last line that concerns me. The path "C:\Documents and Settings\jeverett\Desktop\FAXSERVICE\FaxService\FaxService.vb:line 423" does not exist on the machine that the service is installed on. Its not even on the same server.
Does anybody know why the stack trace is returning this?
Heres what the stack trace looks like:
Code:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path)
at FaxService.FaxService.CheckFaxLines(String server) in C:\Documents and Settings\jeverett\Desktop\FAXSERVICE\FaxService\FaxService.vb:line 423
Im not concerned with the error since I know why it was thrown. Its the last line that concerns me. The path "C:\Documents and Settings\jeverett\Desktop\FAXSERVICE\FaxService\FaxService.vb:line 423" does not exist on the machine that the service is installed on. Its not even on the same server.
Does anybody know why the stack trace is returning this?