Running subversion on windows 7

windows7Yesterday I upgraded Windows 7 Home Premium from Windows Vista in my main laptop. Today I found subversion, tortoise svn, netbeans svn are not working. Its a very bad situation because without SVN I couldn’t work. Today I spent more than 4 hours to find solution and at last I got the solution.

So here I’m describing how I made subversion working in my windows 7 home premium. So if you’re facing same problem in your windows 7 then you may try to check these issues:

1.First check if your windows firewall blocks svn port or not. Normally svn use 3690 port. So if this port is blocked by firewall then you have to make it open. Go to Control Panel\All Control Panel Items\Windows Firewall and click Advanced Setting. Then click Inbound Rules and New Rules. Here select port and provide the port number. Do the same thing for TCP and UDP. And also repeat the same action in Outbound Rules. Then restart the computer and check if SVN works or not.

port_open_windows7

2. If SVN works then enjoy. If not then check which antivirus you use. I use BitDefender. I opened ports in windows firewall but svn wasn’t working until I disabled BitDefender. Then I found If I turn gamemode on in bit defender then svn works. So I changed some options in BitDefender and found SVN works nicely in my windows 7. So check your antivirus guard.

By the way in my netbook I use Ubuntu 9.10. Ubuntu is also one of the best OS.

Hope this article will help you
:)

About mahmud ahsan

Founder And Lead Programmer at iThinkdiff.net

, , ,

9 Responses to Running subversion on windows 7

  1. kai March 25, 2010 at 9:27 am #

    Hi,
    I’m facing same issue as yours, may I know what options did you set in BitDefender?? If I set those options as well, do I still need to set windows firewall?? Thanks

  2. Mahmud Ahsan March 25, 2010 at 12:12 pm #

    Hello Kai, you’ve to turn on game mode in BitDefender and then I found subversion works. Also check that windows firewall didn’t block subversion port.

  3. Patricia November 11, 2010 at 12:03 am #

    Thank you!!!! I was installing this for the first time today and am a totally newbie. Your instructions were great and did the trick!

  4. Rolex Oyster January 3, 2011 at 12:21 pm #

    your advice is very useful. thanks for sharing knowledge.

  5. Anirban Talukdar July 17, 2011 at 5:42 pm #

    Really helped me. Thanks a lot. I was struggling with the SVN for last couple of days.

  6. stef March 5, 2012 at 7:15 am #

    you are a kind soul! thanks -stef

  7. itdev March 26, 2012 at 3:53 pm #

    i have popup error ” This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.”

    how to resolve for my case ?

    thank you

  8. Ammu May 4, 2012 at 11:28 am #

    I’m using Office Scan Antivirus, what steps should i follow… i’ve created the inbound & outbound rules as suggested, but its not working :-(

  9. Archit Dey January 8, 2014 at 11:00 am #

    Thanks for the sharing the idea !!!!

    After spending more than 6 hrs trying to solve the access problem of svn on windows 7, I finally came across this link and followed the steps mentioned.

    It worked like a charm :-)

    Thanks Mahmud