Solved

Server request failed error while trying to connect to televantage server 7.0

Posted on 2010-08-17
2
690 Views
Last Modified: 2012-05-10
I am am developing customize application using televantage SDK 7 and visual studio 2008. I am using client API to connect to external number from my VS 2008 web application. For that I have included TV object library 7.0 into the reference of my project and wrote a code to connect to external number.

Here is the code :
 Dim osession As New TeleVantage.Session
        osession.Logon("servername", "userid", "password", 91, tvApplicationTypeClient, "32044", , False)

It gives me the error : Server request failed

Here is the detail of error/exception I am getting while trying to connect to televantage server.
System.Runtime.InteropServices.COMException was unhandled by user code
  ErrorCode=-2147213937
  Message="Server request failed"
  Source="TeleVantage.Session(0x229ED0,U2777).Logon_v61"
  StackTrace:
       at TeleVantage.SessionClass.Logon(String Server, String UserName, String Password, Int32 Station, TVApplicationType ApplicationType, Int32 ApplicationID, TVServerConnectionLevel ServerConnectionLevel, Boolean CheckVersions, TVStationUsage StationUsage)    at _Default.btnCall_Click(Object sender, EventArgs e) in C:\Documents and Settings\Administrator\Desktop\WebSite1\Default.aspx.vb:line 17    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)    at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)    at
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)    at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  Innerexception
0
Comment
Question by:seju123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 33461340
0
 

Accepted Solution

by:
seju123 earned 0 total points
ID: 33464768
The problem is resolved now. It was creating problem to connect to tv server as I was in different domain a/c and I did not have access to TV server's domain a/c. After adding access to the TV server's domain, I am able to login to the TV server successfully.
Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
asp web application 3 56
How we can add Dten600.dll in GAC in c#. 18 55
Fastest way to get file count in MS Server 2012 3 38
Adding Rows to Grid 4 34
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question