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
Post a Comment