SCM Start Service

  • Thread starter Thread starter Joseph Bittman MVP MCSD
  • Start date Start date
J

Joseph Bittman MVP MCSD

December 18, 2005

I am creating the most basic windows server using .Net 2.0.... I can't get
it to start in SCM: Error 193, 0xc1 ... In the event log it states it is not
a valid win32 app. I can't get any service to start that I write in 2.0,
although I can't figure out why. Does anyone have any ideas? Thanks!

--

Joseph Bittman
Microsoft Certified Solution Developer
Microsoft Most Valuable Professional -- DPM

Blog/Web Site: http://71.39.42.23/
 
December 18, 2005

Got it... You have to switch the Class Type to Windows Service in the
Project's Properties.... there is no longer a template in the New Project
Dialog. I had thought since there wasn't a template anymore, then the Class
Library automatically could be used.

This wasn't documented anywhere for the error code though...

--

Joseph Bittman
Microsoft Certified Solution Developer
Microsoft Most Valuable Professional -- DPM

Blog/Web Site: http://71.39.42.23/
 
Hi,

When I created a new project I had to expand visual basic and
look in windows to find the windows service project template.

Ken
------------
 
December 18, 2005

Very strange... I don't see it there, although I do see it ONLY under
C++.Net... lol Do you think that is a bug or just a limit of the Std
version?

--

Joseph Bittman
Microsoft Certified Solution Developer
Microsoft Most Valuable Professional -- DPM

Blog/Web Site: http://71.39.42.23/
 
Back
Top