Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / July 2006

Tip: Looking for answers? Try searching our database.

Problem installing windows service after upgrading to .NET 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Colmeister - 12 Jul 2006 10:01 GMT
Hopefully I'm posting this in the correct forum!

I have a solution containing a Windows Service project and a Setup project.  
This was originally written in Visual Studio .NET 2003 (.NET 1.1 - VB.NET)
and the installer worked correctly except that I had to manually start the
service after installation, I could live with this.  After upgrading the
solution to .NET 2.0 in Visual Studio 2005 when I now run the MSI it appears
to install correctly and even appears in Add/Remove Programs but my service
doesn't appear in the Services list, therefore I'm unable to start it.

Has anyone else encountered this problem or have any ideas how to resolve it?

Thanks in advance,

Colin
Colmeister - 12 Jul 2006 15:45 GMT
Ooops, please ignore me.  I had to re-add the primary output of my service to
the installer as it was giving me errors and I forgot to re-add the necessary
custom actions.

I'll check more carefully before I post next time!

Colin
luy - 13 Jul 2006 10:26 GMT
Hi,

I have the same problem, but I don't know what custom actions
should be made. Could you help me?

luy

> Ooops, please ignore me.  I had to re-add the primary output of my service to
> the installer as it was giving me errors and I forgot to re-add the necessary
[quoted text clipped - 3 lines]
>
> Colin
Colmeister - 14 Jul 2006 20:15 GMT
This article from the MS Knowledgebase takes you through the steps required:

http://support.microsoft.com/?kbid=317421

Hope that helps.

Colin

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.