Not able to connect https server using SharpSvn in C# , Could not connect to server error -


i developing windows application in vs2010. using sharpsvn connect subversion repository. have tried repository items using svnclient.getlist(targeturi, out list); function. working fine local(file\\:) repository. when try connect https server, giving error.

i have used sample https server given in codespeces. have tried in tortoisesvn connect. saying "could not connect server". , have tried through c# , getting same error.

please see below https server url , username , password

https://svn.codespaces.com/cw/com_codespaces_api_net  username: api_guest password password1 

below code have used connect.

using (svnclient svnclient = new svnclient())   { svnclient.authentication.defaultcredentials = new system.net.networkcredential("api_guest", "password1");                  svntarget targeturi = new svnuritarget(new uri(sourcepath));                 var list = new collection<svnlisteventargs>();                                 svnclient.getlist(targeturi, out list); } 

error message:

options of 'https://svn.codespaces.com/cw/com_codespaces_api_net': not connect server (https://svn.codespaces.com)" 

i have searched solution in google. not able find help.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -