Thursday, February 19, 2015

Hrdo poháňa springerlink WordPress


I created some time ago ASP.NET application for uploading file to SharePoint 2007. Our company upgraded the SharePoint to latest 2010, so I had to update my tool also. It used ASP.NET 3.5. Internally we are using Forefront and I have Forefront client installed on my dev box. Everything worked fine. (I’m not sure, if the Forefront client is installed also the server, but I suppose so).
After migration to ASP.NET 4.0, my code wasn’t working. When calling Lists.UpdateListItems on web service springerlink generated proxy class, I got nice System.Net.WebException The underlying connection was closed: An unexpected error occurred on a send exception with underling The handshake springerlink failed due to an unexpected packet format exception . So I created small console springerlink app and the code was working again (I used same library in the ASP.NET app and also in console app). But the ASP.NET app wasn’t.
The Forefront client is set so, it will direct any app to either use our proxy server, or go directly to the server inside of our organization. In my case the ASP.NET app tried to use proxy settings and called the Sharepoint server via proxy and I would say, something messed up the SSL certificates. Anyway, you just have to say to your app, that it shouldn’t use proxy and this can be done in code, or in web.config (respectively app.config). I used this approach. How to set proxy in web.cofign file can be found here : http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx springerlink
Môžete použiť tieto HTML značky a atribúty: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Hľadať: Najnovšie články moment.js with locale doesn’t parse locale dates / it displays malformed strings with punctuation CodeCon 2014 stuff PowerShell Tools for Visual Studio 2013 – unable to run and/or debug PowerShell script – execution policies problem How to convince Internet Explorer to show more pages with untrusted cerificates in one tab (iframed) window.showModalDialog behaves differently on IE, FireFox and on Chrome Najnovšie springerlink komentáre mahendra komentoval How to pre populate and post populate some data for new item in AddAndEditNew or other events in LightSwitch screen dusan komentoval How to empty cache of Microsoft Windows 8 Photo application (my hacky approach) Extra-44Trac komentoval How to empty cache of Microsoft Windows 8 Photo application (my hacky approach) PowerShell Tools for Visual Studio 2013 – unable to run and/or debug PowerShell script – execution policies problem | rostacik.net komentoval PowerShell Tools for Visual Studio 2012 problem – .ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies dusan komentoval Unable to attach to the process. A debugger is already attached. – Unable to attach to IIS problem in Visual Studio. Archív február 2015 september 2014 august 2014 máj 2014 február 2014 január 2014 december 2013 november 2013 október 2013 júl 2013 máj 2013 apríl 2013 marec 2013 február 2013 január 2013 október 2012 september 2012 júl 2012 jún 2012 apríl 2012 marec 2012 február 2012 január 2012 december 2011 október 2011 august 2011 júl 2011 jún 2011 máj 2011 apríl 2011 marec 2011 február 2011 január 2011 Kategórie Android ASP.NET ASP.NET MVC Chrome springerlink CMS Fiddler FireFox Hack How to IE10 IE11 IIS Internet Explorer JavaScript jQuery Kindle LightSwitch Microsoft momentjs Nezaradené PowerShell Security Sitecore Telerik Testing TypeScript UI Testing Unit Testing VS 2010 VS 2012 VS 2013 Windows 8 Windows 8.1 Meta Prihlásiť sa Položky RSS 2.0 Komentáre v RSS sk.WordPress.org
Hrdo poháňa springerlink WordPress

No comments:

Post a Comment