Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Some Services won't start...

Some Services won't start...

Scheduled Pinned Locked Moved System Admin
helpcsharpvisual-studiowindows-adminquestion
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eric at Cognos
    wrote on last edited by
    #1

    I've lately been having trouble with services (on win2k) if their ImagePath registry entry has spaces in the path and no quotes around the executable name. Even though the Platform SDK stresses that quotes are needed in ImagePath if the executable name / path has spaces, there are even some Visual Studio services that don't follow this rule. The symptom is a cryptic Message Box showing text such as: Could not start the yadda-yadda service on Local Computer. Error 193: %1 is not a valid Win32 application. We have not been able to determine what caused win2k to suddenly require quotes around service paths. I keep up-to-date with WindowsUpdate patches, but we patched a clean machine and this problem did not occur there. Does anybody have any ideas or suggestions? Thanks, Eric T.

    J 1 Reply Last reply
    0
    • E Eric at Cognos

      I've lately been having trouble with services (on win2k) if their ImagePath registry entry has spaces in the path and no quotes around the executable name. Even though the Platform SDK stresses that quotes are needed in ImagePath if the executable name / path has spaces, there are even some Visual Studio services that don't follow this rule. The symptom is a cryptic Message Box showing text such as: Could not start the yadda-yadda service on Local Computer. Error 193: %1 is not a valid Win32 application. We have not been able to determine what caused win2k to suddenly require quotes around service paths. I keep up-to-date with WindowsUpdate patches, but we patched a clean machine and this problem did not occur there. Does anybody have any ideas or suggestions? Thanks, Eric T.

      J Offline
      J Offline
      J Dunlap
      wrote on last edited by
      #2

      Eric at Cognos wrote: no quotes around the executable name You must have quotes around any paths in the command line in case they might have spaces. If you don't do this, you'll run into trouble. If other services get away with it, it's only luck. ;)

      "Do unto others as you would have them do unto you." - Jesus
      "An eye for an eye only makes the whole world blind." - Mahatma Gandhi

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups