Who Shut The Gate?

Discussion in 'C-Bus Toolkit and C-Gate Software' started by UncleSam, Oct 5, 2005.

  1. UncleSam

    UncleSam

    Joined:
    Sep 7, 2005
    Messages:
    53
    Likes Received:
    0
    Location:
    StateSide
    I have just loaded TKV1.1.8 from the CIS.com downloads site.

    It was loaded over the top of V1.1.7 that I installed from a CD that Coppo burnt for me. Not sure if this V1.1.7 install worked because just after I finished loading it I checked the forum and saw V1.1.8 was available.

    The first download of V1.1.8 took soooo long that the connection timed out (~40mins).

    But not dishearteded I tried again.

    This time it was done in ~5mins flat.

    when I attempted to launch ToolKit it comes back with a 'Can't connect to C-Gate' box.

    The IT guys here nosed around the C-Gate?java files and moved a few things around but to no avail. Any hints or clues as to where to go next would be appreciated
     
    UncleSam, Oct 5, 2005
    #1
  2. UncleSam

    Wonkey

    Joined:
    Aug 3, 2004
    Messages:
    418
    Likes Received:
    39
    Location:
    Adelaide
    UncleSam
    Can you check to see if your firewalls are allowing the program to run.
    Then check to see if C-gate2 runs, if it does not try starting it
    from a command prompt.

    Click "Start" button on the desktop.

    Then "Run" menu item.

    Enter "cmd" without the quotes and press OK.
    You will get a command session window with the following

    Microsoft Windows XP [Version 5.1.2600]

    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Richarda>

    Enter the following commands (each followed by enter).

    cd\

    cd clipsal\c-gate2

    java -jar cgate.jar

    The command window will end up looking something like this is everything works fine

    Microsoft Windows XP [Version 5.1.2600]

    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Richarda>cd\

    C:\>cd clipsal\c-gate2

    C:\CLIPSAL\C-Gate2>java -jar cgate.jar

    Clipsal C-Gate(TM) v2.3.25 (build 2057)

    Warning: unknown parameter clock.updtate-interval

    License file found:

    Customer Name: PUBLIC

    Location: PUBLIC

    License type: PUBLIC

    Network licenses: 2

    Expiry: 1 January 2100

    Total network licenses: 2

    If you get something else then there is a problem.
    And you may want to remove c-bus and c-gate using the window add and remove software feature, then reinstall toolkit 1.1.8
     
    Wonkey, Oct 13, 2005
    #2
  3. UncleSam

    UncleSam

    Joined:
    Sep 7, 2005
    Messages:
    53
    Likes Received:
    0
    Location:
    StateSide
    Odd Behaviour

    Thanks Wonky,

    I am running XP service pack 2, I first went to control panel and checked that 'Windows Firewall' was off and it was.

    So, I thought perhaps it says it's off but it isn't so I'll turn it on then turn it back off again just in case that really sets it to off.

    While I'm doing that and the firewall is in the on state I wodered off to the Clipsal Folder and saw the c-gate jar file (one of the IT guys poped in and I was explaining the problem) so I idely clicked on that and up jumped a screen that said windows firewall would allow that jar file to run and did I want to allow it to run so I said yes and low and behold Toolkit could be launched.

    When I went back to the Windows Firewall it now showed that C-gate files would be allowed through.

    Now I'm wondering why would the firewall not allow it through when it is off and give no warnings or info that it was stopping C-gate but when I turned it on bingo it tells me and gives me the option to allow it to run?

    Criptic coment from the IT guy was that as C-gate used Java that the MS guys probably went out of there way to make it difficult.

    When I get time I will go through the exercise again and see if Toolkit/C-gate can be updated with the Windows Firewall off or whether it has to be on and the option selected.
     
    UncleSam, Oct 13, 2005
    #3
  4. UncleSam

    Newman

    Joined:
    Aug 3, 2004
    Messages:
    2,203
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    Even better is to ditch the MS firewall, leaving it always turned off, and install a real firewall. The MS firewall is smart enough to be switched right off when there's another firewall present. You still need to tell it though......
     
    Newman, Oct 13, 2005
    #4
  5. UncleSam

    UncleSam

    Joined:
    Sep 7, 2005
    Messages:
    53
    Likes Received:
    0
    Location:
    StateSide
    Newman says:

    Even better is to ditch the MS firewall, leaving it always turned off, and install a real firewall. The MS firewall is smart enough to be switched right off when there's another firewall present. You still need to tell it though......

    However I retort:

    Well it might - but firstly the beast wouldn't let me run c-gate when the MS firewall was turned off, perhaps I could delete it? , and secondly the IT guys may nor want me to dick around with whats on 'their' machines (allthough when I got the laptop the MS firewall was 'disabled') loading on some other stuff may upset them and then it will be pocket protectors at 20 paces.
     
    UncleSam, Oct 14, 2005
    #5
  6. UncleSam

    UncleSam

    Joined:
    Sep 7, 2005
    Messages:
    53
    Likes Received:
    0
    Location:
    StateSide
    Now this is getting stupid

    Well I thought it was sorted but it would appear that to get Toolkit to work I have to go into the C-gate folder and manually start the C-gate jar file every time I fire up the PC.
     
    UncleSam, Oct 14, 2005
    #6
  7. UncleSam

    Phil.H

    Joined:
    Jul 29, 2004
    Messages:
    466
    Likes Received:
    0
    Location:
    Sydney
    What did you think would happen ?

    That's what happens when you get in a big plane and travel a long - long way. Away from all your friends. Instead of getting new software on a nice disk all the information has to bounce around Internet routers as datagrams.

    You might want to consider coming back. Not because we miss you. Just because it is easier to keep your software up to date that way.

    OK we might miss you a little bit... ;)
     
    Phil.H, Oct 15, 2005
    #7
  8. UncleSam

    Nobes

    Joined:
    Oct 7, 2004
    Messages:
    167
    Likes Received:
    1
    Location:
    Hobart
    UncleSam,

    Your network administrators (If you have any) may have disallowed running the command prompt window automatically for security reasons. I had the same problem once, could run C-Gate manually but it would not start up with Toolkit. I had to ask the guys nicely to allow my profile to do it. No problems since then


    Nobes.
     
    Nobes, Oct 16, 2005
    #8
  9. UncleSam

    UncleSam

    Joined:
    Sep 7, 2005
    Messages:
    53
    Likes Received:
    0
    Location:
    StateSide
    Back to Basics (a good Billy Bragg CD)

    OK Wonkey,

    I went through the proceedure that you laid down.

    I got to: cd\clipsal\c-gate2 hit enter
    and got: 'The System Cannot Find The Path Specified'

    I have uninstalled and re loaded the software to no avail
     
    UncleSam, Oct 18, 2005
    #9
  10. UncleSam

    Ross

    Joined:
    Aug 3, 2004
    Messages:
    174
    Likes Received:
    0
    Howdi UncleSam,
    from the C: prompt
    try cd clipsal\c-gate2 then hit enter :)
     
    Ross, Oct 18, 2005
    #10
  11. UncleSam

    Wonkey

    Joined:
    Aug 3, 2004
    Messages:
    418
    Likes Received:
    39
    Location:
    Adelaide
    UncleSam
    Its time to have a look and see if the c-gate2 folder exist on you PC.
    Have a look using explore to see if its there.

    Just in case you are unsure what to do
    Right click on the start button, then left Click on Explore
    find you C drive then look for the Clipsal folder, press the little '+' box at the side of this and see if there is a folder called C-Gate2

    If not try installing toolkit again and this time making note where the C-Gate Server 2 destination Folder is it should be C:\Clipsal\C-Gate2 and the toolkit destination C:\Clipsal\CBusToolkit.
    Good Luck
     
    Wonkey, Oct 19, 2005
    #11
  12. UncleSam

    UncleSam

    Joined:
    Sep 7, 2005
    Messages:
    53
    Likes Received:
    0
    Location:
    StateSide
    Oh it's there all right

    Wonkey,
    I definatly have a C-gate 2 folder and it's jam packed with things including the C-gate jar file that I refered to in an earlier posting that I can manualy fire up and get Toolkit to work but it only works that one time, the next time I fire up the PC I have to manualy go in to the C-Gate folder and fire the C-gate jar file again.
     
    UncleSam, Oct 19, 2005
    #12
  13. UncleSam

    UncleSam

    Joined:
    Sep 7, 2005
    Messages:
    53
    Likes Received:
    0
    Location:
    StateSide
    I did it honest

    Well spotted Ross, however I did type in the correct form when doing the test I just miss typed when posting on the forum.
     
    UncleSam, Oct 19, 2005
    #13
  14. UncleSam

    Michael

    Joined:
    Aug 3, 2004
    Messages:
    46
    Likes Received:
    0
    Greetings UncleSam

    Have sent you an email with a screen grab and a couple of notes to look at....
    Lets get a solid base to work on before we beat around the bush anymore! :rolleyes:

    Cheers,

    Michael
     
    Michael, Oct 20, 2005
    #14
  15. UncleSam

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    What is the value of the following registry keys?

    PHP:
    KeyHKEY_LOCAL_MACHINE\SOFTWARE\Clipsal Integrated Systems\C-Gate\CurrentVersion
    Value
    PathToCGate

    Key
    HKEY_CURRENT_USER\Software\Clipsal Integrated Systems\C-Gate\CurrentVersion
    Value
    PathToCGate
    Both of these values (if they exist) should be set to "C:\Clipsal\C-Gate2\" (no quotes) for a default install. It is likley that only one of the 2 entries will exist (which is normal)
     
    Richo, Oct 20, 2005
    #15
  16. UncleSam

    UncleSam

    Joined:
    Sep 7, 2005
    Messages:
    53
    Likes Received:
    0
    Location:
    StateSide
    Curiouser and curiouser

    Michael,
    The screen grabs that you sent matches what I have in my C-bus and C-gate folders.

    Richo.
    When I tried the regestry key entries I got nothing for either
     
    UncleSam, Oct 27, 2005
    #16
  17. UncleSam

    Michael

    Joined:
    Aug 3, 2004
    Messages:
    46
    Likes Received:
    0
    Just to elaborate on how to find the registry keys......

    Goto: Start button; Run; and type 'regedit' and hit enter.
    This should open the registy editor, we don't want to play in this are to much or it could result in a dud computer. However;

    Goto: Edit; Find; copy the following line into the find field:

    Key: HKEY_LOCAL_MACHINESOFTWAREClipsal Integrated SystemsC-GateCurrentVersion

    Then click find. If it exists you should see it appear on the right hand side of the screen when the search is complete.

    If nothing appears goto: edit; find; copy the following line to the find field:

    Key: HKEY_CURRENT_USERSoftwareClipsal Integrated SystemsC-GateCurrentVersion

    Then click find. If it exists you should see it appear on the right hand side of the screen when the search is complete.

    The registry acts a bit like a roadmap, by providing paths for various programs to operate.

    Cheers
     
    Michael, Oct 27, 2005
    #17
  18. UncleSam

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    We are looking into this problem. It would appear that the installer is not setting the value(s) on your machine. Most likely this is a permissions problem based on the security level of your user account.

    Try adding the values in if you feel confident with RegEdit. By using regedit there is a chance you can render your entire machine inoperable so only do it if you are confident you know what you are doing. Otherwise you will need to manually start C-gate until will have a solution in place.

    If you have admin rights on your machine everything should work fine. The immediate solution is to get you system administrator to install C-Bus Toolkit using their account.
     
    Last edited by a moderator: Oct 28, 2005
    Richo, Oct 28, 2005
    #18
  19. UncleSam

    Michael

    Joined:
    Aug 3, 2004
    Messages:
    46
    Likes Received:
    0
    Hmm, I wouldnt be so keen to edit the registy values by hand, as richo said, if something goes wrong... everything might stop..... and that would be a sad/bad thing!!!

    However was thinking (yes - it hurt a little) that we could create a shortcut to the C-Gate.jar file to the startup menu.

    Goto:
    C:\CLIPSAL\C-Gate2

    Right click cgate.jar and create shortcut.

    Cut the cgate.jar shortcut - the icon will have a little arrow in the bottom left corner.

    paste the file to:
    C:\Documents and Settings\All Users\Start Menu\Programs\Startup


    The next time you start your computer you should find that C-Gate starts as it should.

    However I must stress that this is not an optimal fix, but rather something to reduce the hassle of having to goto that folder everytime you want to run toolkit, untill the proper method has been done....
     
    Michael, Oct 31, 2005
    #19
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.