I found the solution
IIS - this configuration section cannot be used at this path (configuration locking?)
(The chosen answer helped me).
But unfortunately, now a new error appeared saying
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
I searched and found this:
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive
Kenik's answer
Registering the framework with IIS is what worked for me:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -i
helped me solve this problem. And Voilla, I've setup my Local git server finally :)
Update:
I've had problems connecting to the server after setting up the server. The following sequence worked for me:
- Created an empty Git repository at Bonobo Git Server (In my case:
localhost://Bonobo.Git.Server.new/
). The Username and Password were admin/admin.
- Created the users from the user's management control.
- Created an empty repository called newproject, added the users to the repository.
- At the client side, I used the following command to clone the repository:
git clone http://username@server/Bonobo.Git.Server.new/newproject.git
e.g. in my case it was
git clone http://kamran@Bonobo.Git.Server.new/newproject.git
This cloned the repository at the client side with the warning that the repository was empty. But no problem. I moved into the repository, created some files for testing, pushed them to the server using git push
. Now to test, if everything was working fine, I viewed the repository history and my commit was being shown there :) To be further assure, I tried on another client the same procedure i.e. cloned the repository, made some changes and pushed them to the server. After that on my first client, I came back and pulled the repository git pull
and the changes were there :)
Note
The Server's firewall must be turned off inorder for the client to connect to the server.