Hello world,
I'm preparing a talk for this weekend on MVC development with SharePoint Online - I'll post the deck once ready!
In preparing for the demos, when I try to connect an on-premises Provider Hosted App to my SPO tenant, I'm prompted to enter in my tenant credentials, SharePoint is Working On It... then, I get an error in Visual Studio on the clientContext.ExecuteQuery(), System.Net.Exception, Unable to connect to the remote server.
The issue - I'm behind a corporate proxy server. The fix - tell .Net about it! Easy enough to do, just add the following to the web.config file for the MVC app:
<system.net>
<defaultProxy useDefaultCredentials="true" />
</system.net>
Hit F5 and you'll be good to go!
No comments:
Post a Comment