Asp.Net VB.Net

Discussion for other Server-Sided OpenTok libraries

Asp.Net VB.Net

Postby gracia » Mon Nov 12, 2012 2:45 am

has anyone tried it with vb.net?
i have a working code here and not changed anything and now its not working.
the error.

The remote server returned an error: (405) Method Not Allowed.


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (405) Method Not Allowed.


Source Error:

Line 32: Dim SessionID As String = tox.CreateSession(HttpContext.Current.Request.ServerVariables("REMOTE_ADDR")) '''


please help me if you are also working with vb.net. thank you
Was this post helpful? (1)
gracia
 
Posts: 3
Joined: Mon Nov 12, 2012 1:41 am
Thumbs Up: 1

Re: Asp.Net VB.Net

Postby jtsai » Mon Nov 12, 2012 11:47 am

Hi there

You should get our latest .net SDK: https://github.com/opentok/Opentok-.NET-SDK
I believe you have an older version which points to staging.

John
Was this post helpful? (0)
User avatar
jtsai
 
Posts: 4547
Joined: Wed Sep 14, 2011 3:00 pm
Thumbs Up: 195

Re: Asp.Net VB.Net

Postby gracia » Tue Nov 13, 2012 8:52 pm

hi, i have tried your advice. i imported the latest file into my project.
i has the same error but this time it is pointing to a specific line.

please help. thanks!

Image
Was this post helpful? (0)
Attachments
tokbox.JPG
screenshot of error
gracia
 
Posts: 3
Joined: Mon Nov 12, 2012 1:41 am
Thumbs Up: 1

Re: Asp.Net VB.Net

Postby jtsai » Thu Nov 15, 2012 11:51 am

Hi there

Can you make sure you are pointing to api.opentok.com, and not staging.tokbox.com?

John
Was this post helpful? (0)
User avatar
jtsai
 
Posts: 4547
Joined: Wed Sep 14, 2011 3:00 pm
Thumbs Up: 195


Return to Other Server API



Who is online

Users browsing this forum: No registered users and 1 guest

cron