Solved

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

Posted on 2010-08-17
2
680 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
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SqlDataBase 7 47
VB.net Move a class from Solution Items to a project 2 22
Add different cell to otherwise similiar row 4 38
ASP.NET MVC -Add authentication 2 21
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 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