+ Reply to Thread
Results 1 to 2 of 2

Thread: Troubles programming extensions

  1. #1

    Question Troubles programming extensions

    Hello. I'm starting programming extensions for my deki wiki.

    Ha ha, of course, first of all, famous "Hello world" was my first chance.

    The program is... easy, ok. I'd copied the assembly in C:\var\www\dekiwiki\web\bin\services, restarted machine (because I don't know how to restart MindTouch) and added extension.

    Adding extension, with Native type, name the same of the assembly (HelloWorldExtService) and SID..., What I have to put in SID?? I know in header class, I have to put a SID value in DreamService attribute, but what exactly??

    I mean, I tried to put http://services.shanty.com/deki/site...ces/helloworld as an example, but when I add the extension, I have an error like this:

    HelloWorldExtService could not be restarted.

    [response] => URI required:
    ....
    ....
    ....
    http://192.168.1.17:8081/deki/site/s...=192.168.1.221
    ....
    ....
    ....
    [message] => unable to initialize service (blueprint not found)

    I'm Lost (like Sawyer, ha ha), any idea??

    Thanks a lot.

  2. #2
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    If you're using IIS, it will auto-restart when you add/update an extension.

    You can use any SID you want. The SID is just a name. We follow the convention of putting the release year and month in our SID names. For example: sid://shanty.com/samples/helloworld

    The SID looks like a URI, but it's not a URI. Just make sure they match in the code and in the control panel when you add a native extension.
    ---
    Ok, now onto you problem. The message "blueprint not found" means that the server did not load your extension when it started. This can happen for any number of reasons. Take a loog a the api.log and see if it gives you a reason.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts