Click here to Skip to main content
15,897,360 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Service Setup installation doesn't work on a different computer Pin
Dave Kreskowiak21-Nov-13 1:59
mveDave Kreskowiak21-Nov-13 1:59 
GeneralRe: Windows Service Setup installation doesn't work on a different computer Pin
emma.sun.sts21-Nov-13 14:00
emma.sun.sts21-Nov-13 14:00 
GeneralRe: Windows Service Setup installation doesn't work on a different computer Pin
Dave Kreskowiak21-Nov-13 16:49
mveDave Kreskowiak21-Nov-13 16:49 
GeneralRe: Windows Service Setup installation doesn't work on a different computer Pin
jschell22-Nov-13 9:38
jschell22-Nov-13 9:38 
AnswerRe: Windows Service Setup installation doesn't work on a different computer Pin
Bernhard Hiller21-Nov-13 3:02
Bernhard Hiller21-Nov-13 3:02 
GeneralRe: Windows Service Setup installation doesn't work on a different computer Pin
emma.sun.sts21-Nov-13 14:05
emma.sun.sts21-Nov-13 14:05 
GeneralRe: Windows Service Setup installation doesn't work on a different computer Pin
Bernhard Hiller21-Nov-13 21:16
Bernhard Hiller21-Nov-13 21:16 
AnswerRe: Windows Service Setup installation doesn't work on a different computer Pin
jschell22-Nov-13 9:45
jschell22-Nov-13 9:45 
Member 10400691 wrote:
Hope someone can help!


For starters it appears that this has nothing to do with installation even though you spent a bit of time explaining about installing it.

If the install failed then either the service wouldn't appear at all or the service would not start.

It appears that the service is in fact starting. So that means there is some problem which has nothing to do with the install. If you were missing a dependent dll then the service would be unlikely to work.

What is probably happening is that either your code is not even attempting to send the email or it does and fails. And of course you don't have any code that would even give you a hint as to what that is. The way to solve that is to add logging.

Doing that allows you to solve problems going forward.

The alternative is to
- Build a debug version of the service
- Install it
- Install VS
- Attach to the running service
- Step through it.

As noted in another thread one reason could be permissions. The service ALWAYS runs as a user. So which user does it run on the first computer? Which on the second? It could be the firewall preventing the email code from connecting to the email server. If you were collecting and reporting (logging) errors then this would be obvious immediately.
Questioncapture data from Panasonic PBX using c# Pin
Arjun Mourya20-Nov-13 17:54
Arjun Mourya20-Nov-13 17:54 
QuestionRe: capture data from Panasonic PBX using c# Pin
Richard MacCutchan20-Nov-13 22:35
mveRichard MacCutchan20-Nov-13 22:35 
AnswerRe: capture data from Panasonic PBX using c# Pin
Arjun Mourya21-Nov-13 5:37
Arjun Mourya21-Nov-13 5:37 
GeneralRe: capture data from Panasonic PBX using c# Pin
Richard MacCutchan21-Nov-13 6:09
mveRichard MacCutchan21-Nov-13 6:09 
GeneralRe: capture data from Panasonic PBX using c# Pin
Arjun Mourya21-Nov-13 21:55
Arjun Mourya21-Nov-13 21:55 
GeneralRe: capture data from Panasonic PBX using c# Pin
Richard MacCutchan21-Nov-13 21:59
mveRichard MacCutchan21-Nov-13 21:59 
AnswerRe: capture data from Panasonic PBX using c# Pin
Dave Kreskowiak21-Nov-13 1:58
mveDave Kreskowiak21-Nov-13 1:58 
AnswerRe: capture data from Panasonic PBX using c# Pin
Arjun Mourya21-Nov-13 5:41
Arjun Mourya21-Nov-13 5:41 
GeneralRe: capture data from Panasonic PBX using c# Pin
Dave Kreskowiak21-Nov-13 5:59
mveDave Kreskowiak21-Nov-13 5:59 
GeneralRe: capture data from Panasonic PBX using c# Pin
Arjun Mourya21-Nov-13 21:52
Arjun Mourya21-Nov-13 21:52 
GeneralRe: capture data from Panasonic PBX using c# Pin
Dave Kreskowiak22-Nov-13 1:38
mveDave Kreskowiak22-Nov-13 1:38 
QuestionHow to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Fatih BURAL20-Nov-13 6:35
professionalFatih BURAL20-Nov-13 6:35 
QuestionRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Eddy Vluggen20-Nov-13 6:45
professionalEddy Vluggen20-Nov-13 6:45 
AnswerRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Pete O'Hanlon20-Nov-13 6:57
mvePete O'Hanlon20-Nov-13 6:57 
AnswerRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Bernhard Hiller21-Nov-13 3:13
Bernhard Hiller21-Nov-13 3:13 
GeneralRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Fatih BURAL21-Nov-13 11:05
professionalFatih BURAL21-Nov-13 11:05 
GeneralRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Bernhard Hiller21-Nov-13 21:01
Bernhard Hiller21-Nov-13 21:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.