Click here to Skip to main content
15,903,175 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Question.net remoting security problem Pin
Tokes Erno3-Jun-08 20:38
Tokes Erno3-Jun-08 20:38 
AnswerRe: .net remoting security problem Pin
leppie4-Jun-08 2:15
leppie4-Jun-08 2:15 
GeneralRe: .net remoting security problem Pin
Tokes Erno4-Jun-08 2:37
Tokes Erno4-Jun-08 2:37 
GeneralRe: .net remoting security problem Pin
leppie4-Jun-08 4:36
leppie4-Jun-08 4:36 
QuestionCould we have VS.NET 2005 and 2008 onthe same machine (pc or notebook) ? [modified] Pin
bug_aonz3-Jun-08 18:36
bug_aonz3-Jun-08 18:36 
AnswerRe: Could we have VS.NET 2005 and 2008 onthe same machine (pc or notebook) ? Pin
John Ad3-Jun-08 18:57
John Ad3-Jun-08 18:57 
AnswerRe: Could we have VS.NET 2005 and 2008 onthe same machine (pc or notebook) ? Pin
Tariq A Karim9-Jun-08 16:49
Tariq A Karim9-Jun-08 16:49 
QuestionMultiple instances of NTService process [modified] Pin
malharone3-Jun-08 10:36
malharone3-Jun-08 10:36 
Just when I thought all the coding is done, i've hit a brick wall .. It's CP to the rescue Smile | :)

I have an NT Service ("Windows Service") which does some processing based on a configuration file. I can install and uninstall this NT service using installutil without any problem.

However, I need to be able to run multiple instances of the same NT Service each with various param.

E.g.

service1.exe /config1.xml
service1.exe /config2.xml
service1.exe /config3.xml


I have tried modifying the install-script and pass param:
e.g. installutil /i "service1.exe /config1.xml"

This installs, but when I look at the actual registry value under HKLM\System\CurrentControlSet\Services\Service1, the "ImagePath" key does not contain the additional arg I passed at install-time.

Then I manually modified the registry-key to include the additional arg, but I still cannot run subsequent installutil. It fails with "The specified service already exists" error.

How can I install multiple process instances of this Windows NT Service ? (Windows does runs multiple instances of "svchost.exe" without any problem)

Due to some constraints I cannot a) consolidate the logic and run as single process multiple threads or b) consolidate the logic and run as single process multiple app-domains or c) create multiple copies of the binaries in N different locations.

I look forward to your responses.

- Malhar

modified on Tuesday, June 3, 2008 5:16 PM

AnswerRe: Multiple instances of NTService process Pin
Mike Dimmick3-Jun-08 13:59
Mike Dimmick3-Jun-08 13:59 
GeneralRe: Multiple instances of NTService process Pin
malharone3-Jun-08 21:37
malharone3-Jun-08 21:37 
QuestionRegistering an windows Application to a URL Protocol Pin
asma_panjabi3-Jun-08 3:27
asma_panjabi3-Jun-08 3:27 
QuestionC# Console Program Issue Pin
Verghese2-Jun-08 4:27
Verghese2-Jun-08 4:27 
AnswerRe: C# Console Program Issue Pin
Ray Cassick2-Jun-08 4:49
Ray Cassick2-Jun-08 4:49 
GeneralRe: C# Console Program Issue Pin
Verghese2-Jun-08 5:57
Verghese2-Jun-08 5:57 
GeneralRe: C# Console Program Issue Pin
tasumisra3-Jun-08 19:58
tasumisra3-Jun-08 19:58 
AnswerRe: C# Console Program Issue Pin
Prasanta_Prince14-Apr-11 0:27
Prasanta_Prince14-Apr-11 0:27 
QuestionHow can i know from the keyboard scan code what is the real key that pressed? Pin
Yanshof1-Jun-08 20:26
Yanshof1-Jun-08 20:26 
AnswerRe: How can i know from the keyboard scan code what is the real key that pressed? Pin
Alan N2-Jun-08 3:09
Alan N2-Jun-08 3:09 
GeneralRe: How can i know from the keyboard scan code what is the real key that pressed? Pin
Yanshof2-Jun-08 3:13
Yanshof2-Jun-08 3:13 
GeneralRe: How can i know from the keyboard scan code what is the real key that pressed? Pin
Giorgi Dalakishvili2-Jun-08 7:21
mentorGiorgi Dalakishvili2-Jun-08 7:21 
GeneralRe: How can i know from the keyboard scan code what is the real key that pressed? Pin
Yanshof2-Jun-08 23:05
Yanshof2-Jun-08 23:05 
QuestionDataGridView SelectionMode Property Pin
MarkMokris30-May-08 7:14
MarkMokris30-May-08 7:14 
QuestionDllImport and parameters type selection ??? Pin
devboycpp30-May-08 2:40
devboycpp30-May-08 2:40 
AnswerRe: DllImport and parameters type selection ??? Pin
Giorgi Dalakishvili30-May-08 12:26
mentorGiorgi Dalakishvili30-May-08 12:26 
QuestionDotNet Remoting : Event Listner not working in Client App Pin
moobo30-May-08 2:31
moobo30-May-08 2:31 

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.