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. General Programming
  3. C#
  4. Windows Service

Windows Service

Scheduled Pinned Locked Moved C#
csharpbeta-testingquestion
1 Posts 1 Posters 0 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.
  • A Offline
    A Offline
    another
    wrote on last edited by
    #1

    I'm trying to create a Windows Service (not a Web Service) in C# with Beta 2. I create a new Windows Service, and add the installer. I didn't do anything else - I just wanted a minimum windows service. When I try to install it with InstallUtil.exe, I get the following output: An exception occurred during the Install phase. System.NullReferenceException: Value null was found where an instance of an obje ct was required. The log it generates tells me the same info it prints out. :mad: Has anybody written a windows service in C#? :confused: If so, could you tell me what I'm doing wrong? Thanks. Craig Dodge A catchy signature should appear here.

    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