|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using InstallUtil - Unknown Error "-1"I've built a small windows service on .NET 2.0 framework. In order to
test/debug the application if first must be installed using the InstallUtil command from the vs command prompt. Everything I have tried results in: Unknown Error "-1" I built a similar service on my personal machine at home and I am able to install it doing the same things I have tried above. The problem is on my work machine. I have local Admin rights, but suspect that there may be a policy or something preventing it from running. Of course, our desktop architects don't have any ideas... Any ideas? (there was an older post on this same subject, but no replies). I solved my problem by copying the Installutil.exe from the framework
folder (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727) directly into the \bin\Release and/or Debug folder and running if from there. Kudo's to ms for their awesome error coding. And for all this command line crap. I'm so glad we've progressed so far since dos. </sarcasm> Clancy wrote: Show quote > I've built a small windows service on .NET 2.0 framework. In order to > test/debug the application if first must be installed using the > InstallUtil command from the vs command prompt. Everything I have > tried results in: Unknown Error "-1" > > I built a similar service on my personal machine at home and I am able > to install it doing the same things I have tried above. The problem is > on my work machine. I have local Admin rights, but suspect that there > may be a policy or something preventing it from running. Of course, > our desktop architects don't have any ideas... > > Any ideas? (there was an older post on this same subject, but no > replies). |
|||||||||||||||||||||||