• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Creating new custom service in C#

    Scheduled Pinned Locked Moved
    General
    1
    2
    1.2k
    Loading More Posts
    • 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.
    • N
      NicoC
      last edited by

      Hi All,

      I followed the wiki at [url]http://www.fogproject.org/wiki/index.php/Creating_Custom_FOG_Service_Modules[/url] but I used Visual Express 2010. I did need to add a reference to get rid of a not found error on the line
      using system.data;

      I could compile to a dll without other errors and I have put the resulting .dll in my \program files\FOG folder. But I didn’t get any lines from my new .dll in my \fog.log file after restarting the FOG service. I tried the debug version and the release version and also changed the Net version to 3.5 (from NET 4.0 client). No changes.

      Never used C# much, I’m more a Python adept, so I might be missing something obvious…

      Any pointers of tips how to debug this situation? I just used the boilerplate and only changed the modulename, see attachment.

      Greetings,
      Nico (new FOG user)

      [url=“/_imported_xf_attachments/0/227_SLF.txt?:”]SLF.txt[/url]

      1 Reply Last reply Reply Quote 0
      • N
        NicoC
        last edited by

        Never mind, it’s working now. Restarting the Fog service isn’t enough. After rebooting the service is active. Note that the source of all services is included, with Visual 2008 project files, in the tarball at fog_0.32\FOG Service\src

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        150

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project