Posts

Showing posts from April, 2018

Setup is unable to proceed due to the following error(s): This product requires Microsoft .Net Framework 4.5.

Image
"Setup is unable to proceed due to the following error(s):This product requires Microsoft .Net Framework 4.5." Step 1: Uninstalling .Net framework 4.5 from server manager. =============================================       We uninstalled .Net framework completely and we rebooted server. After rebooted server it was showing only cmd prompt. Even UI is not controlling through mouse or key board. After some google search we rolled back to server with some commands.    1).  DISM.exe /online /enable-feature /all /featurename:NetFx4    2). DISM.exe /online /enable-feature /all /featurename:MicrosoftWindowsPowerShell Above two commands run with any error then reboot server using shutdown -r once server got rebooted,then type PowerShell on Cmd prompt and run  GUI installation with following cmd.   1). Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra Reboot server with Shutdown -r. Now ...

Creating new list items using VS on SharePoint 2013/2010

using Microsoft.SharePoint.Client; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SPListItemCreation {     class Program     {         static void Main(string[] args)         {             AddGeolocationField();             Console.WriteLine("Location field added successfully");         }         private static void AddGeolocationField()         {             // Replace site URL and List Title with Valid values.             ClientContext context = new ClientContext("http://t-test-sp13:7777");             List oList = context.Web.Lists.GetByTitle("RealEstates");             oList.Fields.AddFie...

Export and Import SharePoint 2013/2010 Subsites using powershell

For Backup/Export:  Export-SPWeb http://YourLinkwithsubsite -Path "D:\FCR1\FCR1.cmp" -force For Restore/Import: Import-SPWeb http://YourLinkwithsubsite -Path "D:\FCR1\FCR1.cmp" -UpdateVersions Overwrite -force Note: I tried without -Force. Its showing "Export-SPWeb : Feature '8915db8f-2a3f-4e5e-a72f-76bfcae4b185' for list template '10012' is not installed in this farm.  The operation could not be completed."

SharePoint 2013 workflow platform is not available because the workflow service is not configured on the server

Image
Issue: The option for the SharePoint 2013 workflow platform is not available because the workflow service is not configured on the server. And I checked workflow Service status. It's showing below error. I tried all possibilities from google and some blogs didn't find any solution of my issue. Finally, It's work with the following Steps. 1). Create Internal URL from AAM( CA--> Application Management --> Configure Alternate access mapping -->App Internal URLS).   Select an  Alternate Access Mapping Collection(http://server.domain.com), Add Internal URL( https://server.domain.com ) and save Note: Internal URL should be https. 2). Run the following PowerShell Query: Register-SPWorkflowService -SPSite "https://YoursiteURL" -WorkflowHostUri "http:/YourWFURL:12291" -AllowOAuthHTTP Now go and check in SharePoint designer its works like charm...!!!!