Visual Studio 2012 unable to launch IIS express web server

In Visual Studion 2012, whe you create a new web project and try to start or view web application in browser, you may get the below error:

Unable to lunch the IIS Express Web server.

Solution:

  1. Right click on project >> properties

  2. Choose web tab and select “Use Visual Studio Development Server”

Advertisements

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

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