EnglishRussianUkrainianChinese
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems with the connection to a server

 
Post new topicReply to topic    TrackStudio Forum Forum Index -> TrackStudio Support
View previous topic :: View next topic  
Author Message
gbrown



Joined: 06 Mar 2008
Posts: 18
Location: Hurd

PostPosted: Tue Mar 18, 2008 7:15 pm    Post subject: Problems with the connection to a server Reply with quote

Hi
I am trying to use the API's provided and am having an issue when trying to instantiate the first one. I have retrieved the session ID without a problem. I then call a sub function

Public Shared Sub SetHoldForRush(ByVal thisOrderNumber As String, ByVal thisSessionID As String)
'Declare Objects
Dim tbTask As New Task.TaskBean
Dim aryWorkflows() As WorkflowBean
Dim wfbNeededWorkflow As New WorkflowBean
Dim aryPriorities() As PriorityBean
Dim prbNeededPriority As New PriorityBean
Dim aryCategories() As CategoryBean
Dim ctbNeededCategory As New CategoryBean
Dim aryUsers() As Acl.UserBean
Dim aclbNeededUser As New Acl.UserBean
Dim intLoopControlx As Integer
Dim name() As String = {"Admin"}
Dim task() As String = {""}

'Find the task by ID number
tbTask = tskService.findTaskByNumber(thisSessionID, "73")
...
}

when the code hits the tskService.findTaskByNumber I recieve the error unable to connect to server. the Inner Exception states "No connection could be made because the target machine actively refused it". I know that this is using a more web bassed xml. I am not sure how to go about fixing this error or getting it to work. As I said it gets the session ID and authenticates, but has problems when it hits the find task by number.
Not sure if the Stack Trace will help anyone but here it is

at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
Thanks
_________________
Grant Brown
Hurd Windows and Doors, Inc.
grant.brown@2behurd.com
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 01 Jan 1970
Posts: 4362
Location: Smolensk, Russia

PostPosted: Wed Mar 19, 2008 6:02 pm    Post subject: Re: Problems with the connection to a server Reply with quote

Can you access TS from browser ?
http://www.trackstudio.com/documentation/35/html/Using_SOAP_from_Web_Browser.html
_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
gbrown



Joined: 06 Mar 2008
Posts: 18
Location: Hurd

PostPosted: Wed Mar 19, 2008 7:16 pm    Post subject: Reply with quote

I can access the TS from my broser on my computer. The place I am trying to access however is on another server. EX: I use the localhost:8888 connection string to run the program on my computer. When I change that to Ironman:8888 which is our development server I start getting the error. I can log into track studio on our Spiderman Server, and change spiderman:8888 to Ironman:8888 and it will let me log in with no problems.
Thanks
_________________
Grant Brown
Hurd Windows and Doors, Inc.
grant.brown@2behurd.com
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 01 Jan 1970
Posts: 4362
Location: Smolensk, Russia

PostPosted: Thu Mar 20, 2008 12:34 pm    Post subject: Reply with quote

gbrown wrote:
I can access the TS from my broser on my computer. The place I am trying to access however is on another server. EX: I use the localhost:8888 connection string to run the program on my computer. When I change that to Ironman:8888 which is our development server I start getting the error. I can log into track studio on our Spiderman Server, and change spiderman:8888 to Ironman:8888 and it will let me log in with no problems.
Thanks


1) Please try to reach servers by IP.
2) Try access SOAP from web browser, as described above.
_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
TrackStudio Forum Forum Index -> TrackStudio Support All times are GMT + 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Copyright © 2002-2007,   TrackStudio, Ltd.
Contact Us