Skip to main content

Posts

Showing posts from March 3, 2013

Code branching in TFS

Being in the IT world we should be always thirsty in learning new things apart from the regular work. In the world of .net , we are using to have a code repository called TFS.    First of all we should know what is TFS?    TFS refers to the Team Foundation Server to which all the development systems would be connected , so that the CODE will have its own house. I will show simple example here The developer needs to  check-in  the code to the TFS server so that when the other developer takes the updates from the TFS, he will get the recently checked-in code, so that he will be having updated code. Before client release, we need to have stable branch of the code which is thoroughly tested and branched as separate version and so that developer can continue check-in the code in the current trunk in the TFS as they complete the developement , so that if there is any bug or issues in the recently checked-in code ,there will not be any problem on previously taken branch

.bat file for stsadm command actions

Hi All,   Most of the time during client deployment , there might be requirement of Re-Activating client related feature to provide the newly built functionality . usually we used to run the stsadm command as stsadm -o activatefeature -name "CLIENT_FEATURE_NAME" -url "SITE_URL" -force Apart from this client related feature, there we need to reactivate some more product related feature which include functionalities such as timerjob, adding content type to the list or adding new columns to the list,etc..In this case we need to enter the stsadm command again and again which makes you damn bore!!!. Here is a solution to over come your "boring" feeling and enjoy the deployment process Open a notepad Paste the following code. I will explain everything below this snippet. @SET pathToStsadm ="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN" @echo off cd % pathToStsadm % echo ------------------------Enter

Web application in IIS7 is getting stopped everytime

You might have come across situation where the web application is getting stopped every time and you had to do iisreset again and again. The web application gets stopped every time because of some errors and when the error count crosses the error limit, at that time the web application gets stopped. In order to fix this issue i have come across a solution which will never stops the web application by its own. Follow the following steps: Go to Internet Information Services 7(IIS 7) 2.Select the web application 3.Right click on the web application and click on the Advanced Settings. 4.In the Opened window find for " Rapid-Fail Protection ". In this section , the property named " Enable ", set the value to " False ". Thus we can fix this issue. Hope this may help some one Cheers