Posts

Showing posts from 2015

.NET Framework 3.5 feature + Specify an alternate source path

Image
.NET Framework 3.5 feature + Specify an alternate source path error for SharePoint prerequisite installation error.




Try to install the following Windows update and it may fix your issues.

https://support.microsoft.com/en-us/kb/3002547

in cmd prompt try to enable.

open cmd window as Administrator and run the following command.
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All If still fails, try installing Powershell enable powershell and than add this feature. It will work.Search for this error Code Error: 0x800f0906 and will give relavent steps to fix the issue.

.NET Framework 3.5 feature + Specify an alternate source path

Image
.NET Framework 3.5 feature + Specify an alternate source path error for SharePoint prerequisite installation error.




Try to install the following Windows update and it may fix your issues.

https://support.microsoft.com/en-us/kb/3002547

in cmd prompt try to enable.

open cmd window as Administrator and run the following command.
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All If still fails, try installing Powershell enable powershell and than add this feature. It will work.Search for this error Code Error: 0x800f0906 and will give relavent steps to fix the issue.

Embrassing screen sharing interview : SharePoint

First time in 10 years I am attending new format of interview. Sharing your computer screen and writing code as per interviewer request.

For me to be frank, interviewer was really a good guy, Nicely spoken most understanding. But I am very nervous about exams right from childhood :)

This interview format is too much for me :) My interviewer was asked me to do very simple stuff write a c# code using SharePoint object model to set values in Choice field. Damn, I know the 5 lines of code. I don't know what happened at that time by I am totally blank :( It was so embarrassing for me and I cannot deliver what he asked. I don't know how to prove I am so much better than this. :(

This blog, I am writing after 1 hr of the interview. The code blow is the what is expected. Hope the code will compile I guess.


//get choice field instance

SPFieldChoice LeaveReason = (SPFieldChoice)myList.Fields["Reason"];

//set field format type

LeaveReason.EditFormat = SPChoiceFormatType.Dropdo…

Service Token Failure In SharePoint 2013 Farm

Service Token Failure


--





cls
# This command loads the Microsoft.SharePoint.PowerShell DLL.

# This DLL is required if you are using Windows PowerShell.
[string]$Snapin="Microsoft.SharePoint.PowerShell"

if ((Get-PSSnapin$Snapin-ErrorActionSilentlyContinue) -eq$null)



{
Write-Host"Loading Snapin: $Snapin";

Add-PSSnapin$Snapin



}
else
{

STSADM Cmds for Cancel and redeploy Farm Solution

STSADM Cmds for Cancel and redeploy Farm Solution

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN>
stsadm -o execadmsvcjobs stsadm -o enumdeployments stsadm -o canceldeployment -id stsadm -o deletesolution -name .wsp -override

Start Central Administration Via PowerShell

Start the Central Administration via PowerShell

To list the Central Admin list in Farm

Get-SPServiceInstance|Where-Object {$_.TypeName –eq‘Central Administration’}


 following code will start the Central Admin if its not started, if its started and online already it will show you a warning message.

cls
# This command loads the Microsoft.SharePoint.PowerShell DLL.
# This DLL is required if you are using Windows PowerShell.
[string]$Snapin="Microsoft.SharePoint.PowerShell"
if ((Get-PSSnapin$Snapin-ErrorActionSilentlyContinue) -eq$null)
{
Write-Host"Loading Snapin: