PDA

View Full Version : Service starts/stops on Win 2008 Server



NewsArchive
08-03-2010, 01:59 AM
Any guesses why a service start/stop/check request would fail on Windows
Server 2008 Standard?

Installer is set to requireAdministrator and delivers a UAC prompt as
expected but it still fails. Problem is, the %_SB_Errorcode% returned is 0.

Likewise even a checkservice returns 0 even if the service is running.

One note: The service's display name has a space in it.

I can start/stop services manually without issue.
--

Mark Riffey
http://www.rescuemarketing.com/blog/
Now featured on the Visa Business Network
If Guy Kawasaki, the staff of the Wall Street Journal,
Fast Company, Marketing Profs & Business Week read it,
maybe you should too.

Follow me on Twitter at http://twitter.com/MarkRiffey
Friend me on Facebook at http://facebook.com/MarkRiffey

NewsArchive
08-03-2010, 02:00 AM
Mark,

> One note: The service's display name has a space in it.

That's not what you're using for the service name, is it? Service Name
and Display Name can be different.

Service Name: FaxManService
Display Name: AFE FaxMan Server

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Enhanced Reporting: http://www.cpcs-inc.com

NewsArchive
08-03-2010, 02:00 AM
> Service Name: FaxManService
> Display Name: AFE FaxMan Server

Such as the attached<g>...

Lee White

NewsArchive
08-03-2010, 02:01 AM
> That's not what you're using for the service name, is it? Service Name
> and Display Name can be different.

Nope. The SB docs say to use the display name, so I believed the docs (yes,
I am the last person on earth who actually reads them<g>).

However, based on a test I just ran, its not the display name you should
use, its the service name (the one that doesnt allow spaces).

Friedrich, please make this change to the docs (its in several places).
Thanks.
--

Mark Riffey
http://www.rescuemarketing.com/blog/
Now featured on the Visa Business Network
If Guy Kawasaki, the staff of the Wall Street Journal,
Fast Company, Marketing Profs & Business Week read it,
maybe you should too.

Follow me on Twitter at http://twitter.com/MarkRiffey
Friend me on Facebook at http://facebook.com/MarkRiffey

NewsArchive
08-03-2010, 02:02 AM
In taskmanager, on the services tab, the name is displayed. So..<g>

Jeff Slarve

NewsArchive
08-03-2010, 02:02 AM
> In taskmanager, on the services tab, the name is displayed. So..<g>

Right, but the SB7 doc I was looking at said "display name". Its Moseley's
fault:)
--

Mark Riffey
http://www.rescuemarketing.com/blog/
Now featured on the Visa Business Network
If Guy Kawasaki, the staff of the Wall Street Journal,
Fast Company, Marketing Profs & Business Week read it,
maybe you should too.

Follow me on Twitter at http://twitter.com/MarkRiffey
Friend me on Facebook at http://facebook.com/MarkRiffey

NewsArchive
08-03-2010, 02:02 AM
Mark,

> Nope. The SB docs say to use the display name, so I believed the docs (yes,
> I am the last person on earth who actually reads them<g>).

You must be behind on your updates!<g> The help for the service
dialogs say "Service Name" just like the dialogs!!!

I WIN!<lol>

> However, based on a test I just ran, its not the display name you should
> use, its the service name (the one that doesnt allow spaces).

Hmm, isn't that what I said?!

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Enhanced Reporting: http://www.cpcs-inc.com

NewsArchive
08-03-2010, 02:03 AM
> You must be behind on your updates!<g>

Might be. Im on 7.2.2978. Oh well:)
--

Mark Riffey
http://www.rescuemarketing.com/blog/
Now featured on the Visa Business Network
If Guy Kawasaki, the staff of the Wall Street Journal,
Fast Company, Marketing Profs & Business Week read it,
maybe you should too.

Follow me on Twitter at http://twitter.com/MarkRiffey
Friend me on Facebook at http://facebook.com/MarkRiffey