Click here to Skip to main content
15,888,018 members
Home / Discussions / C#
   

C#

 
AnswerRe: Service Exits with No Fanfare Pin
BobJanova15-Jul-11 6:34
BobJanova15-Jul-11 6:34 
GeneralRe: Service Exits with No Fanfare Pin
Richard Andrew x6415-Jul-11 6:41
professionalRichard Andrew x6415-Jul-11 6:41 
AnswerRe: Service Exits with No Fanfare Pin
Ennis Ray Lynch, Jr.15-Jul-11 7:45
Ennis Ray Lynch, Jr.15-Jul-11 7:45 
GeneralRe: Service Exits with No Fanfare Pin
Richard Andrew x6415-Jul-11 7:50
professionalRichard Andrew x6415-Jul-11 7:50 
AnswerRe: Service Exits with No Fanfare Pin
PIEBALDconsult15-Jul-11 7:48
mvePIEBALDconsult15-Jul-11 7:48 
GeneralRe: Service Exits with No Fanfare Pin
Richard Andrew x6415-Jul-11 7:51
professionalRichard Andrew x6415-Jul-11 7:51 
AnswerRe: Service Exits with No Fanfare Pin
Shameel15-Jul-11 8:03
professionalShameel15-Jul-11 8:03 
GeneralRe: Service Exits with No Fanfare Pin
Richard Andrew x6415-Jul-11 8:08
professionalRichard Andrew x6415-Jul-11 8:08 
Hi Shameel. The code is below, however the service quits as a response to a different service interacting with it through remoting. In other words, it starts up OK.

protected override void OnStart(string[] args)
{
    try
    {
        RemotingConfiguration.Configure("Poller.dll.config", false);
    }
    catch (Exception ex)
    {
        StreamWriter Fs = new StreamWriter("PollStationError.log");
        Fs.WriteLine(ex.ToString());
        Fs.Close();
    }

}

The difficult we do right away...
...the impossible takes slightly longer.

GeneralRe: Service Exits with No Fanfare Pin
Shameel15-Jul-11 8:16
professionalShameel15-Jul-11 8:16 
GeneralRe: Service Exits with No Fanfare Pin
Richard Andrew x6415-Jul-11 8:20
professionalRichard Andrew x6415-Jul-11 8:20 
GeneralRe: Service Exits with No Fanfare Pin
Shameel15-Jul-11 8:32
professionalShameel15-Jul-11 8:32 
GeneralRe: Service Exits with No Fanfare Pin
Dave Kreskowiak16-Jul-11 11:20
mveDave Kreskowiak16-Jul-11 11:20 
GeneralRe: Service Exits with No Fanfare Pin
Richard Andrew x6416-Jul-11 12:04
professionalRichard Andrew x6416-Jul-11 12:04 
GeneralRe: Service Exits with No Fanfare Pin
Dave Kreskowiak16-Jul-11 17:43
mveDave Kreskowiak16-Jul-11 17:43 
QuestionHelp tracking down power management settings (... was Looking for help in converting REG_BINARY to readable values) Pin
turbosupramk315-Jul-11 3:05
turbosupramk315-Jul-11 3:05 
AnswerRe: Looking for help in converting REG_BINARY to readable values Pin
Richard MacCutchan15-Jul-11 4:47
mveRichard MacCutchan15-Jul-11 4:47 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
turbosupramk315-Jul-11 4:59
turbosupramk315-Jul-11 4:59 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
Mark Salsbery15-Jul-11 6:03
Mark Salsbery15-Jul-11 6:03 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
turbosupramk320-Jul-11 7:29
turbosupramk320-Jul-11 7:29 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
turbosupramk321-Jul-11 5:12
turbosupramk321-Jul-11 5:12 
QuestionRegular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 1:21
Member 297299215-Jul-11 1:21 
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
BobJanova15-Jul-11 2:26
BobJanova15-Jul-11 2:26 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 2:45
Member 297299215-Jul-11 2:45 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
BobJanova15-Jul-11 3:56
BobJanova15-Jul-11 3:56 
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
GuyThiebaut15-Jul-11 2:50
professionalGuyThiebaut15-Jul-11 2:50 

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.