Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
Go Back  Xtreme Visual Basic Talk > > > Service will not auto-start on Win8/Win2012


Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2014, 07:47 AM
Mike Mike is offline
Contributor
 
Join Date: Apr 2001
Location: Montreal, Canada
Posts: 462
Default Service will not auto-start on Win8/Win2012


Hi folks!

Oddest thing. I have a service and its associated console, both 32bit built in VB2008. The service is set to be auto-started upon Windows launch. Everything works fine on WinXp, Vista, Win7 and Win2008.

But on Win8 and Win2012:
- Windows does not auto-start the service upon Windows launch (even though the service properties specify to do so)
- the console can't start/stop the service either. The service can only be started/stopped by going into the Services dialog of Windows and manually starting it.

I know that the Administrator is not the same in Win8 and Win2012 as it was in prior Windows versions. Would I need to start compiling the service and/or the console with "requireAdministrator" or "highestAvailable" instead of "asInvoker" in the manifest? Would manifest need to be altered in some other fashion?

Does this ring a bell for anyone? Thanks!
Reply With Quote
  #2  
Old 12-10-2014, 10:27 AM
PlausiblyDamp's Avatar
PlausiblyDampService will not auto-start on Win8/Win2012 PlausiblyDamp is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Nov 2003
Location: Newport, Wales
Posts: 2,058
Default

Are there any errors being logged in Event Viewer when the system starts? Do you get any errors displayed at the console?

Can you start the service from an elevated console or does that fail too?
__________________
Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein

Posting Guidelines Forum Rules Use the code tags
Reply With Quote
  #3  
Old 12-10-2014, 11:26 AM
Mike Mike is offline
Contributor
 
Join Date: Apr 2001
Location: Montreal, Canada
Posts: 462
Default

I did and it works. Thus the reason for my second post that you also replied to.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012 Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
 
Service will not auto-start on Win8/Win2012
Service will not auto-start on Win8/Win2012
 
-->