| View previous topic :: View next topic |
| Author |
Message |
gbrown
Joined: 06 Mar 2008 Posts: 18 Location: Hurd
|
Posted: Tue Mar 18, 2008 7:15 pm Post subject: Problems with the connection to a server |
|
|
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 |
|
 |
admin Site Admin

Joined: 01 Jan 1970 Posts: 4362 Location: Smolensk, Russia
|
|
| Back to top |
|
 |
gbrown
Joined: 06 Mar 2008 Posts: 18 Location: Hurd
|
Posted: Wed Mar 19, 2008 7:16 pm Post subject: |
|
|
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 |
|
 |
admin Site Admin

Joined: 01 Jan 1970 Posts: 4362 Location: Smolensk, Russia
|
Posted: Thu Mar 20, 2008 12:34 pm Post subject: |
|
|
| 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 |
|
 |
|