Is TFS 2013 Accessible During Scheduled Backup?

If you are taking backup for your TFS 2013 through “Scheduled Backups Wizard” from TFS Administration console, is the TFS will be accessible or not?

This question come to my mind, however, I tested it and I see that TFS will be online and accessible for readying and writing.

Which means, you can query your work items and update them as well.

TFSBackup.png

Advertisements

Release Locked (checked out) Document in SharePoint

As a feature in SharePoint, you can check out any document item.

Sometime, the user who check out the document library is not available and the admin need to release (undo check-out) the document library.

We can use the following power shell script (Change the bold values)

$WebSiteURL="http://sps-dev/"
$DocLibName="DocLib"
$ItemID=5

$web=Get-SPWeb $WebSiteURL
$item=$web.Lists[$DocLibName].GetItemById($ItemID)
$userId=$item.file.LockedByUser.ID
$user = $web.AllUsers.GetByID($userId)

$impSite= New-Object Microsoft.SharePoint.SPSite($web.Url, $user.UserToken)
$impWeb = $impSite.OpenWeb()
$impList=$impWeb.Lists["Appraisal"]
$impitem=$impList.GetItemById($item.ID)
$impitem.file.ReleaseLock($impitem.File.LockId)

 

“Open with Explorer” is very slow in SharePoint 2010

In SharePoint 2010 , when you try to open a document library with windows explorer you may notice that it took too much time and very slow to open.

0

Actually, I solved this by clear the check box “Automatically detect settings” in LAN Settings of internet option.

1

2

Running SSIS Package in 32-bit Mode

I have SSIS package reading from Oracle database

When running the package for testing I got the following error in Output window:

The requested OLE DB provider MSDAORA.1 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode. Error code: 0x00000000.

To run the package in 32-bit mode, apply the following steps:

In the Debugging >> Run64BitRuntime change it to False

Disable Mobile Redirection in SharePoint 2013

To disable mobile redirection in SharePoint 2013 follow the below steps:

C:\inetpub\wwwroot\wss\VirtualDirectories\<your web app folder>\App_Browsers


Search for “isMobileDevice” across all file and change its value to “false” and save the file

Deploying SharePoint 2010 Solution on SharePoint 2013

As you know, in SharePoint 2010 there was 14 hive where you deploy your files. And then you reference them like below:

 

Physical Path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS

Virtual Path: “/_layouts/<your folder>/<your files>”

 

In SharePoint 2013, there is new 15 hive

Physical Path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS

Virtual Path: “/_layouts/15/<your folder>/<your files>”

 

If you have SharePoint 2010 solution (.wsp file) and you need to deploy it on SharePoint 2013, then you have the following options:

First, you have to add the solution to your farm using PowerShell as following:

  • Add-SPSolution C:\SP2010Project.wsp

Now,

  • Deploy to 14 hive è
    Install-SPSolution sp2010project.wsp
  • Deploy to 15 hive è Install-SPSolution sp2010project.wsp -CompatibilityLevel 15