Smart Object server "No such host is known"

Last post 05-13-2008, 3:16 AM by lasse. 2 replies.
Sort Posts: Previous Next
  •  04-29-2008, 6:54 AM 23448

    Smart Object server "No such host is known"

    I just started developing on K2 yesterday and got the above error when I am trying to connect to the SmartObject server.

     

    My question is: Where can I find out what server the program is trying to connect to? and how can I change it?

     

    I hope you can help me getting started.

     

    Best regards,

    Lasse
     

  •  04-29-2008, 9:36 AM 23451 in reply to 23448

    Re: Smart Object server "No such host is known"

    Hi Lasse,

    The server name is included as part of the connection string that is passed to the Open method when opening a connection to the SmartObject Server.  You will need to determine the hostname of the K2 [blackpearl] server and include this as part of the connection string in your code.

    There is a good code example in the K2 Developer Reference Guide that uses the SCConnectionStringBuilder class to build the connection string.  The current version (0803 release) of the developer reference guide can be downloaded here:

    https://portal.k2workflow.com/downloads/bp/Default.aspx

    There are several code examples in SmartObjects -> Accessing/Managing sections.

     


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.

  •  05-13-2008, 3:16 AM 23776 in reply to 23451

    Re: Smart Object server "No such host is known"

    Hi,

     

    Thanks for the answer.

    Now I can connetc to the server, but I get authorisation problems. I can get access in most cases, but in some cases not.

    Is there anyway that I can just give more or less free access to the K2 servers so I don't have to cope with setting up access in VS for K2? I am working in a "sandbox" environment right now, so security is not a big concern. The problems I have is setting up login/pw in VS for K2 and to give sufficient access right on the server side.

    Thanks in advance. 

     

    -Lasse 

View as RSS news feed in XML