Click here to Skip to main content
16,013,581 members
Home / Discussions / C#
   

C#

 
AnswerRe: Make a Phone Call Pin
Simon P Stevens3-Dec-08 22:09
Simon P Stevens3-Dec-08 22:09 
GeneralRe: Make a Phone Call Pin
Sun Rays3-Dec-08 23:18
Sun Rays3-Dec-08 23:18 
AnswerRe: Make a Phone Call Pin
tonyjsebastian14-Dec-08 0:10
tonyjsebastian14-Dec-08 0:10 
QuestionCannot use any DLL in Windows Service! Pin
Metal763-Dec-08 21:18
Metal763-Dec-08 21:18 
AnswerRe: Cannot use any DLL in Windows Service! Pin
Mbah Dhaim3-Dec-08 21:39
Mbah Dhaim3-Dec-08 21:39 
GeneralRe: Cannot use any DLL in Windows Service! Pin
Metal763-Dec-08 21:47
Metal763-Dec-08 21:47 
GeneralRe: Cannot use any DLL in Windows Service! Pin
Mbah Dhaim4-Dec-08 12:02
Mbah Dhaim4-Dec-08 12:02 
GeneralRe: Cannot use any DLL in Windows Service! Pin
Metal764-Dec-08 20:44
Metal764-Dec-08 20:44 
Hi Dhaim, I think I've found it! It is simply an installation issue.

In order to install the service, I have configured an external tool in VS2008 with the following parameters:

Title: Install Service
Command: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe
Arguments: $(TargetPath)
Init.directory: $(TargetDir)

The uninstall service is the same but adds /u.

Now, launching this command actually installs the service (I have the familiar installutil log and I can start/stop the service as usual), but the service only works correctly if it does not include any dependency! As soon as I add an assembly, installing like this leads to the issue I noticed, for reasons that I'm not able to explain.

If I simply open a VS prompt and install the service "manually" from the command line, everything is fine and the service works as expected.

Thanks for your interest in my issue!

Regards,
Andrea
GeneralRe: Cannot use any DLL in Windows Service! Pin
Metal764-Dec-08 21:03
Metal764-Dec-08 21:03 
GeneralRe: Cannot use any DLL in Windows Service! Pin
Metal764-Dec-08 21:06
Metal764-Dec-08 21:06 
GeneralRe: Cannot use any DLL in Windows Service! Pin
Mbah Dhaim4-Dec-08 21:26
Mbah Dhaim4-Dec-08 21:26 
QuestionUsing a custom control Pin
JpGreiner3-Dec-08 20:47
JpGreiner3-Dec-08 20:47 
AnswerRe: Using a custom control Pin
CodingYoshi4-Dec-08 3:20
CodingYoshi4-Dec-08 3:20 
GeneralRe: Using a custom control Pin
JpGreiner4-Dec-08 5:12
JpGreiner4-Dec-08 5:12 
AnswerRe: Using a custom control Pin
JpGreiner4-Dec-08 5:16
JpGreiner4-Dec-08 5:16 
QuestionDataGridViewComboBoxColumn and databinding? Pin
kbalias3-Dec-08 20:37
kbalias3-Dec-08 20:37 
AnswerRe: DataGridViewComboBoxColumn and databinding? Pin
CodingYoshi4-Dec-08 3:29
CodingYoshi4-Dec-08 3:29 
AnswerRe: DataGridViewComboBoxColumn and databinding? Pin
u2envy1217-Dec-08 3:01
u2envy1217-Dec-08 3:01 
QuestionDiference between Using Namespace and Namespace.Class.Method in the code.... Pin
BhuvaneswarKumar3-Dec-08 20:09
BhuvaneswarKumar3-Dec-08 20:09 
AnswerRe: Diference between Using Namespace and Namespace.Class.Method in the code.... [modified] Pin
Pedram Behroozi3-Dec-08 20:27
Pedram Behroozi3-Dec-08 20:27 
GeneralRe: Diference between Using Namespace and Namespace.Class.Method in the code.... Pin
BhuvaneswarKumar3-Dec-08 21:46
BhuvaneswarKumar3-Dec-08 21:46 
GeneralRe: Diference between Using Namespace and Namespace.Class.Method in the code.... Pin
User 66583-Dec-08 23:03
User 66583-Dec-08 23:03 
QuestionGNU make Pin
Sinol Jose3-Dec-08 20:09
Sinol Jose3-Dec-08 20:09 
AnswerRe: GNU make Pin
leppie3-Dec-08 20:29
leppie3-Dec-08 20:29 
JokeRe: GNU make Pin
Mbah Dhaim3-Dec-08 20:31
Mbah Dhaim3-Dec-08 20: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.