Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now