This is a migrated thread and some comments may be shown as answers.

SDK browser and proxy authentication

2 Answers 130 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andre
Top achievements
Rank 1
Andre asked on 22 Nov 2011, 12:21 PM
Hi,

I just downloaded and installed the newly released Telerik-OpenAccess SDK (2011.3.1116.3).

If I start up the SDK as user with admin rights, I'm getting an error message "Remote server reported error. (407) proxy authentication required". and the tab "Getting started" remains empty.

How can I get rid of that error message? Is there any way to provide proxy credentials (e.g. inside a config file or inside a configuration menu or the like)?

Regards
Andreas

2 Answers, 1 is accepted

Sort by
0
N Mackay
Top achievements
Rank 1
answered on 22 Nov 2011, 05:38 PM
Yeah,

Same problem with some of the WPF RADControls sample apps as well, we're behind a proxy server too. It's fairly simple to do in code but not sure you can authenticate the proxy via the config file.


If _bBypassProxy Then
    RSS_GetData = XDocument.Load(sURL)
Else
    Dim oProxy As New WebProxy(_sProxyServer)
    oProxy.Credentials = New NetworkCredential(_sProxyUID, _sProxyPWD)
    Dim oWebClient As New WebClient()
    oWebClient.Proxy = oProxy
    Dim oMemoryStream As New MemoryStream(oWebClient.DownloadData(sURL))
    Dim oReader As New XmlTextReader(oMemoryStream)
    RSS_GetData = XDocument.Load(oReader)
    oReader = Nothing
    oMemoryStream = Nothing
    oWebClient = Nothing
    oProxy = Nothing
End If

0
Serge
Telerik team
answered on 25 Nov 2011, 09:38 AM
Hello Norman and hello Andreas

 Unfortunately we have not implemented any proxy authentication settings for the OpenAccess SDK so far. We will add this to our list and implement such a feature hopefully with the next release.

Thank you for letting us know about this issue. Please find your Telerik points updated for reporting this.

Kind regards,
Serge
the Telerik team

Q3’11 of Telerik OpenAccess ORM is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
Getting Started
Asked by
Andre
Top achievements
Rank 1
Answers by
N Mackay
Top achievements
Rank 1
Serge
Telerik team
Share this question
or