Automating Sharepoint Foundation 2013 Installation and Deployment of Project

Hi all,
I'm a long time software developer with absolutely no experience in Sharepoint.
I have just joined a new company and I was asked by the team leader to create an installer for Sharepoint Foundation 2013 and a working Sharepoint solution made by the company, preferably using HTA.
I have experimented installing it manually and deploying the solution, however, what's the best method to automate these two steps?
I was thinking of something like AutoSPInstaller, and after the end of the installation, I would run Add-SPSolution and Install-SPSolution commands for deploying the solution.
What do you think?

So the only problem with SharePoint Foundation is that you cannot script the provisioning of the Search Service, you must use the wizard via Central Admin UI to create it. There is an unsupported workaround, but again, unsupported so I don't use it.
I'd stay away from HTA and go just pure PowerShell prompts, myself though.
Trevor Seward
Follow or contact me at...
&nbsp&nbsp
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • SharePoint Foundation 2013 installation question / guide.

    Hi All,
    I'm new in SharePoint and going to Install SharePoint Foundation 2013. What I want is after installation when I'll provide Site URL to my users they can able to access the site using there windows / system Login ID and Password which has been provided by company.
    Can you please help me what steps I've to follow while doing the installation also is it need to install SQL Server also for foundation. Please Advice
    Thanks

    Hi,
    SQL is the backbone for SharePoint and your SharePoint content (the content you actually store in your sites) is going into SQL. So, SQL is mandatory but if you are planning to use SQL Express (the lightweight edition) then you don’t need to install it separately
    – by selecting a Standalone type SP Installation wizard will automatically install SQL Express for you. But there are few limitations directly associated with express edition. Like Microsoft SQL Server Express Edition database cannot be larger than 10 GB etc.
    For a complete list please visit
    http://msdn.microsoft.com/en-us/library/cc645993.aspx
    In order to access newly created site, all you need to install SP product and create a site using the site template, once done grant access to the required users via site settings page and that way users can access sites.
    I hope it helps you.
    Thanks.
    MachPanel - Premium Cloud Automation Solution

  • SharePoint Foundation 2013 Installation Error

    Hi,
    While doing the SharePoint Foundation Installation 2013 I'm getting below error screen when I click on Install Software Prerequisites. Can you please advice how to resolve this issue :-

    Log file :-
    Below are the log details :-
    2015-01-17 09:31:42 - Processor architecture is (9)
    2015-01-17 09:31:42 - Reading the following string value/name...
    2015-01-17 09:31:42 - Common Startup
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    2015-01-17 09:31:42 - The value is... 
    2015-01-17 09:31:42 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    2015-01-17 09:31:42 - Trying to remove the startup task if there is any.
    2015-01-17 09:31:42 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    2015-01-17 09:31:42 - Error: Startup task doesn't exist. This is not a continuation after a restart.
    2015-01-17 09:31:42 - Locating the following command line arguments file:
    2015-01-17 09:31:42 - C:\Program Files (x86)\MSECache\SharePoint2010\PrerequisiteInstaller.Arguments.txt
    2015-01-17 09:31:42 - Error: This file does not exist
    2015-01-17 09:31:42 - Details of the current operating system: 
    2015-01-17 09:31:42 - Major version number of the operating system:  (6)
    2015-01-17 09:31:42 - Minor version number of the operating system:  (2)
    2015-01-17 09:31:42 - Build number of the operating system:  (0X23F0=9200)
    2015-01-17 09:31:42 - Major version number of the latest Service Pack:  (0)
    2015-01-17 09:31:42 - Minor version number of the latest Service Pack:  (0)
    2015-01-17 09:31:42 - Platform ID of the operating system:  (2)
    2015-01-17 09:31:42 - Product suites available on the operating system:  (0X110=272)
    2015-01-17 09:31:42 - Product type of the operating system: VER_NT_SERVER
    2015-01-17 09:31:42 - Product type:  (7)
    2015-01-17 09:31:42 - OS type:  (0)
    2015-01-17 09:31:42 - Configuring the application's property sheet...
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Windows Management Framework 3.0
    2015-01-17 09:31:42 - Reading the following string value/name...
    2015-01-17 09:31:42 - PowerShellVersion
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine
    2015-01-17 09:31:42 - The value is... 
    2015-01-17 09:31:42 - 4.0
    2015-01-17 09:31:42 - A higher version of the prerequisite above is already installed
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Microsoft .NET Framework 4.5
    2015-01-17 09:31:42 - Reading the following DWORD value/name...
    2015-01-17 09:31:42 - Install
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2015-01-17 09:31:42 - The value is (1)
    2015-01-17 09:31:42 - Reading the following string value/name...
    2015-01-17 09:31:42 - Version
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2015-01-17 09:31:42 - The value is... 
    2015-01-17 09:31:42 - 4.5.51641
    2015-01-17 09:31:42 - A post release .NET 4.5 is installed
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Windows Identity Foundation (KB974405)
    2015-01-17 09:31:42 - Reading the following string value/name...
    2015-01-17 09:31:42 - 
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Microsoft\Windows Identity Foundation\Setup\v3.5
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
    2015-01-17 09:31:42 - Reading version of the following file...
    2015-01-17 09:31:42 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
    2015-01-17 09:31:42 - GetFileVersionInfoSize failed (-2147024894)
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Microsoft SQL Server 2008 R2 SP1 Native Client
    2015-01-17 09:31:42 - Reading the following string value/name...
    2015-01-17 09:31:42 - Version
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI10\CurrentVersion
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Windows Server AppFabric
    2015-01-17 09:31:42 - Reading the following string value/name...
    2015-01-17 09:31:42 - ProductVersion
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Microsoft\AppFabric\V1.0
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Windows Identity Foundation (KB974405)
    2015-01-17 09:31:42 - Reading the following string value/name...
    2015-01-17 09:31:42 - 
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup\1.0
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Microsoft Information Protection and Control Client
    2015-01-17 09:31:42 - Reading the following string value/name...
    2015-01-17 09:31:42 - 
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Microsoft\MSIPC\CurrentVersion
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Microsoft WCF Data Services 5.0
    2015-01-17 09:31:42 - Reading the following string value/name...
    2015-01-17 09:31:42 - Version
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.0
    2015-01-17 09:31:42 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:42 - Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    2015-01-17 09:31:42 - Reading the following DWORD value/name...
    2015-01-17 09:31:42 - IsInstalled
    2015-01-17 09:31:42 - from the following registry location...
    2015-01-17 09:31:42 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    2015-01-17 09:31:48 - Beginning download/installation
    2015-01-17 09:31:48 - Created thread for installer
    2015-01-17 09:31:48 - "C:\Windows\system32\ServerManagerCmd.exe" -inputpath "C:\Users\ADMINI~1\AppData\Local\Temp\1\PreE5C7.tmp.XML"
    2015-01-17 09:31:48 - Error: Unable to install (2)
    2015-01-17 09:31:48 - Error: [In HRESULT format] (-2147024894)
    2015-01-17 09:31:48 - Last return code (2)
    2015-01-17 09:31:48 - Reading the following DWORD value/name...
    2015-01-17 09:31:48 - Flags
    2015-01-17 09:31:48 - from the following registry location...
    2015-01-17 09:31:48 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile
    2015-01-17 09:31:48 - Reading the following string value/name...
    2015-01-17 09:31:48 - PendingFileRenameOperations
    2015-01-17 09:31:48 - from the following registry location...
    2015-01-17 09:31:48 - SYSTEM\CurrentControlSet\Control\Session Manager
    2015-01-17 09:31:48 - Reading the following registry location...
    2015-01-17 09:31:48 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
    2015-01-17 09:31:48 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
    2015-01-17 09:31:48 - Last return code (2)
    2015-01-17 09:31:48 - Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any
    command line options.
    2015-01-17 09:31:48 - Cannot retry
    2015-01-17 09:31:48 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:48 - Windows Management Framework 3.0
    2015-01-17 09:31:48 - Reading the following string value/name...
    2015-01-17 09:31:48 - PowerShellVersion
    2015-01-17 09:31:48 - from the following registry location...
    2015-01-17 09:31:48 - SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine
    2015-01-17 09:31:48 - The value is... 
    2015-01-17 09:31:48 - 4.0
    2015-01-17 09:31:48 - A higher version of the prerequisite above is already installed
    2015-01-17 09:31:48 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:48 - Microsoft .NET Framework 4.5
    2015-01-17 09:31:48 - Reading the following DWORD value/name...
    2015-01-17 09:31:48 - Install
    2015-01-17 09:31:48 - from the following registry location...
    2015-01-17 09:31:48 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2015-01-17 09:31:48 - The value is (1)
    2015-01-17 09:31:48 - Reading the following string value/name...
    2015-01-17 09:31:48 - Version
    2015-01-17 09:31:48 - from the following registry location...
    2015-01-17 09:31:48 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2015-01-17 09:31:48 - The value is... 
    2015-01-17 09:31:48 - 4.5.51641
    2015-01-17 09:31:48 - A post release .NET 4.5 is installed
    2015-01-17 09:31:48 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:48 - Windows Identity Foundation (KB974405)
    2015-01-17 09:31:48 - Reading the following string value/name...
    2015-01-17 09:31:48 - 
    2015-01-17 09:31:48 - from the following registry location...
    2015-01-17 09:31:48 - SOFTWARE\Microsoft\Windows Identity Foundation\Setup\v3.5
    2015-01-17 09:31:48 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:48 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
    2015-01-17 09:31:48 - Reading version of the following file...
    2015-01-17 09:31:48 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
    2015-01-17 09:31:48 - GetFileVersionInfoSize failed (-2147024894)
    2015-01-17 09:31:48 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:48 - Microsoft SQL Server 2008 R2 SP1 Native Client
    2015-01-17 09:31:48 - Reading the following string value/name...
    2015-01-17 09:31:48 - Version
    2015-01-17 09:31:48 - from the following registry location...
    2015-01-17 09:31:48 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI10\CurrentVersion
    2015-01-17 09:31:48 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:48 - Windows Server AppFabric
    2015-01-17 09:31:48 - Reading the following string value/name...
    2015-01-17 09:31:48 - ProductVersion
    2015-01-17 09:31:48 - from the following registry location...
    2015-01-17 09:31:48 - SOFTWARE\Microsoft\AppFabric\V1.0
    2015-01-17 09:31:48 - Check whether the following prerequisite is installed:
    2015-01-17 09:31:48 - Windows Identity Foundation (KB974405)

  • Sharepoint Foundation 2013 Installation fails to provision Central Admin web app

    Hello, I'm attempting to install SPF 2013 as a standalone instance on Windows Server 2012, and all goes fine until step 7/10 of the config wizard, when I get the below error:
    Failed to provision the SharePoint Central Administration Web Application.
    An exception of type System.NullReferenceException was thrown.  Additional exception information: Object reference not set to an instance of an object.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.SharePoint.Administration.SPAspSiteMapFile.MergeAspSiteMapFiles(XmlDocument xmldocSiteMap, String strSrcFilePath, String strMergeFilePattern)
       at Microsoft.SharePoint.Administration.SPAspSiteMapFile.Copy(String strSrcDir, String strSrcDirPrevious, String strSrcLeaf, String strDestDir, Boolean bMergeMaps, Boolean bBackupExistingFile)
       at Microsoft.SharePoint.Administration.SPWebApplication.CopyAppDomainDirectories(DirectoryInfo vrPath, OverwriteSetting overwrite)
       at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.InstallFiles(DirectoryInfo virtualDirectoryPath, String validationKey, String decryptionKey)
       at Microsoft.SharePoint.Administration.SPWebApplication.Provision()
       at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.Provision()
       at Microsoft.SharePoint.Administration.SPWebServiceInstance.Provision()
       at Microsoft.SharePoint.PostSetupConfiguration.CentvalAdministrationSiteTask.ProvisionAdminVs()
       at Microsoft.SharePoint.PostSetupConfiguration.CentralAdministrationSiteTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    The admin.sitemap file is there in the _app_bin directory, so it's not clear why the procedure is failing with the NullReferenceException error. Any tips on this are much appreciated!

    Hi Jeroen
    I am getting the same error  when creating a new web application. where are steps 8 to 10 you followed?
    Application error when access /_admin/extendvs.aspx, Error=Object reference not set to an instance of an object.   at Microsoft.SharePoint.Administration.SPAspSiteMapFile.MergeAspSiteMapFiles(XmlDocument
    xmldocSiteMap, String strSrcFilePath, String strMergeFilePattern)     at Microsoft.SharePoint.Administration.SPAspSiteMapFile.Copy(String strSrcDir, String strSrcDirPrevious, String strSrcLeaf, String strDestDir, Boolean bMergeMaps, Boolean
    bBackupExistingFile)     at Microsoft.SharePoint.Administration.SPWebApplication.CopyAppDomainDirectories(DirectoryInfo vrPath, OverwriteSetting overwrite)     at Microsoft.SharePoint.Administration.SPWebApplication.Provision()    
    at Microsoft.SharePoint.ApplicationPages.ExtendVirtualServerPage.BtnSubmit_Click(Object sender, EventArgs e)     at System....         11d8a99c-8ffc-20b8-9467-
    ViewStateLog: Failed to write to the velocity cache:
    http:/_layouts/15/error.aspx?ErrorText=Object reference not set to an instance of an object.&ErrorCorrelationId=11d8a99c-8ffc-20b8-9467-a8070aa333a8&IsDlg=1 4cd8a99c-8f37-20b8-9467-a392743b8825

  • Unable to install Sharepoint Foundation 2013 in Windows Server 2012 for FIM 2010 R2

    HI,
    I am Unable to install Sharepoint Foundation 2013 in Windows Server 2012 for FIM 2010 R2,
    Before SharePoint Foundation 2013 installation I installed all prerequisite software that is required for SharePoint Foundation 2013 but when we run SharePoint Foundation 2013 setup that gives below error so I am requesting you please help on this.
    Setup is unable to proceed due to the following error(s):
    Windows Server Appfabric is not correctly configured.You should unistall Windows Server Appfabric and reinstall it using the SharePoint Products Preparation Tool.
    Regards
    Anil Kumar

    You really need to do what error is suggesting.
    Windows Server Appfabric is not correctly configured.You should unistall Windows Server Appfabric and reinstall it using the SharePoint Products Preparation Tool.
    Nosh Mernacaj, Identity Management Specialist

  • Restrict Which Users Can Enter Data In List Form in SharePoint Foundation 2013

    Is there a way to restrict which users can enter data in particular fields in a list item entry form?
    We are using a SharePoint Foundation 2013 list and calendar to manage vacation time. We need to restrict non-supervisor users users from entering a value in a certain field in the vacation request form.
    Here is how the system works now:
    1. Employees complete the vacation request form (which creates a list item)
    2. An email is sent to their supervisor to either approve or decline the request
    3. Approved requests are automatically entered onto the vacation calendar
    We have restricted the list so that only supervisors can edit items (the pending vacation requests). The problem is that all users can mark their own requests as approved when they fill out the request form in the first place. Is there a way to restrict
    which users can enter data in particular fields on a list item entry form?

    Thanks for the suggestion. We ended up 1) hiding the approval column and 2) creating a second list, workflow, etc. The user no longer sees the approval column when filling out the form. Requests are now submitted to list A. Workflow #1 copies the request
    to List B, then deletes the item from List A. Once the request is added to List B, Workflow #2 emails the user that the request has been received and emails the supervisor that a request needs to be approved. Only supervisors have editing permissions on List
    B. Approved requests are automatically added to the vacation calendar (the calendar view of List B).
    We found the following site to be helpful in learning how to hide the list column:
    http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2013/06/03/how-to-hide-a-sharepoint-list-column-from-a-list-form.aspx

  • SharePoint Foundation 2013 Prerequisite installer keeps installing and restarting the server

    Hi,
    I'm trying to install SharePoint foundation 2013 on Windows Server 2008 R2 Standard SP1.
    I already install SQL Server 2012 SP1 and TFS 2013 on the server.
    I don't have internet connection on the server so i install the next prerequisites manually:
    SQL Server 2008 R2 SP1 Native Client 
    Microsoft WCF Data Services 5.0 
    Microsoft Information Protection and Control Client (MSIPC) 
    Microsoft Sync Framework Runtime v1.0 SP1 (x64) 
    Windows Identity Extensions 
    Windows Identity Foundation (KB974405) 
    Windows Management Framework 3.0   
    Then I ran the prerequisitiesInstaller.exe from command line - 
    prerequisiteInstaller.exe /appfabric:[Full AppFabric Installer path] /KB2671763:[AppFabric update path]
    the prerequisiteInstaller start to run - after some steps it request for server restart, after the server upload the installer start again and after some steps it request for server restart.
    This loop is never ending.
    I tried to do some action to fix this issue:
     http://spreza.blogspot.co.il/2013/05/sharepoint-2013-prerequisite-keeps.html
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/bccdb9f1-dd91-4db1-bd19-6bfa658727f5/sharepoint-server-2010-setup-keep-asking-for-reboot?forum=sharepointadminprevious
    There is any reason or solution for this scenario?

    Have you checked the log to see at what point and what update is requiring the re-boot?  I suspect one of your manually installed pre-requisites may be an older version and when it restarts it starts the regular automated installer, which is causing
    the loop.  Check the log for more specific errors.  The installer creates the log in the following location %TEMP%\prerequisiteinstaller.<date>.<time>.log
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • SharePoint Foundation 2013 - Search Configuration Issue - 2 App Servers and 2 Front-End Servers

    Hi, 
    We have a SharePoint Foundation 2013 with SP1 Environment. 
    In that, we have 2 Front-End Servers and 2 App Servers. In the Front-End Servers, the Search Service is stopped and is in Disabled state and in the 2 App Servers in One App Server, Search is Online and in another Search is Starting but goes to Stopped sooon
    after.
    Originally, we had only 1 App Server and we were running our Search Service and Search Service Application in that. Now since the index location became full and we were unable to increase the drive there, we added one more App Server and now the issue is
    Search is not properly getting configured in either of these App servers. What we want to do is run Search only in the new App Server, because we have a lot of storage space for Index locations here, but in the older App Server, not run Search at all.  We
    tried keeping the Search Service disabled and ran the below PowerShell Scripts, but none of the ones are working. These scripts are creating the Search Service Application, but the error of "Admin Component is not Online", "Could not connect
    to the machine hosting SharePoint 2013 admin component" is coming up. 
    http://www.funwithsharepoint.com/provision-search-for-sharepoint-foundation-2013-using-powershell-with-clean-db-names/
    http://blog.falchionconsulting.com/index.php/2013/02/provisioning-search-on-sharepoint-2013-foundation-using-powershell/
    http://blog.ciaops.com/2012/12/search-service-on-foundation-2013.html
    Can I get some help please?
    Karthick S

    Hi Karthick,
    For your issue, could you provide the
    detail error message of ULS log  to determine the exact cause of the error?
    For SharePoint 2013, by default, ULS log is at      
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    For troubleshooting your issue,  you can try to run the SharePoint Products Configuration Wizard on your WFE servers and run the script for configuring the search service on SharePoint
    Foundation:
    [string]$farmAcct = "DOMAIN\service_Account"
    [string]$serviceAppName = "Search Service Application"
    Function WriteLine
    Write-Host -ForegroundColor White "--------------------------------------------------------------"
    Function ActivateAndConfigureSearchService
    Try
    # Based on this script : http://blog.falchionconsulting.com/index.php/2013/02/provisioning-search-on-sharepoint-2013-foundation-using-powershell/
    Write-Host -ForegroundColor White " --> Configure the SharePoint Foundation Search Service -", $env:computername
    Start-SPEnterpriseSearchServiceInstance $env:computername
    Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance $env:computername
    $appPool = Get-SPManagedAccount -Identity $farmAcct
    New-SPServiceApplicationPool -Name SeachApplication_AppPool -Account $appPool -Verbose
    $saAppPool = Get-SPServiceApplicationPool -Identity SeachApplication_AppPool
    $svcPool = $saAppPool
    $adminPool = $saAppPool
    $searchServiceInstance = Get-SPEnterpriseSearchServiceInstance $env:computername
    $searchService = $searchServiceInstance.Service
    $bindings = @("InvokeMethod", "NonPublic", "Instance")
    $types = @([string],
    [Type],
    [Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool],
    [Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool])
    $values = @($serviceAppName,
    [Microsoft.Office.Server.Search.Administration.SearchServiceApplication],
    [Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool]$svcPool,
    [Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool]$adminPool)
    $methodInfo = $searchService.GetType().GetMethod("CreateApplicationWithDefaultTopology", $bindings, $null, $types, $null)
    $searchServiceApp = $methodInfo.Invoke($searchService, $values)
    $searchProxy = New-SPEnterpriseSearchServiceApplicationProxy -Name "$serviceAppName - Proxy" -SearchApplication $searchServiceApp
    $searchServiceApp.Provision()
    catch [system.exception]
    Write-Host -ForegroundColor Yellow " ->> Activate And Configure Search Service caught a system exception"
    Write-Host -ForegroundColor Red "Exception Message:", $_.Exception.ToString()
    finally
    WriteLine
    ActivateAndConfigureSearchService
    Reference:
    https://sharepointpsscripts.codeplex.com/releases/view/112556
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected].
    Eric Tao
    TechNet Community Support

  • Sharepoint Foundation 2013 and Outlook 2010 Reminders

    Hello, I have recently been informed by one of my users that they are experiencing a peculiar issue in regards to their SharePoint calendar. A brief history is that we are currently using SharePoint
    Foundation 2013 with Outlook 2010, all of our users have calendars for their departments in SharePoint, and those calendars have been added to Outlook for their convenience. This particular user has a SharePoint alert set up on their calendar for all changes,
    and receives an alert immediately. After some troubleshooting, this is how my user is getting the issue they described:
    User1 will create an appointment from Outlook on the SharePoint calendar that User2 has their alert set up for. User2 will receive the appropriate alert email that there has been a new event
    added to the calendar. User1 then receives an Outlook reminder that their event is coming up. If User1 clicks "dismiss" on that reminder, User2 will have another alert email generated hours later which informs them that the calendar event for User1
    has been modified. If you view the event from SharePoint it will show a new modified time with User1's name, even though there have been no changes made. The other interesting part about the modified time is that it will not reflect when User1 clicked “dismiss”
    on the reminder, instead it will reflect the time that the SharePoint alert email was generated.
    This is not a fluke issue; I've been able to recreate the scenario 100% of the time if I follow this pattern. I can also simulate it on any calendar I create or that is already existing in our
    environment.
    I have been researching and trying to find an answer to this problem for several days now, but the only thing I have found is a post from someone else experiencing the same issue with no solution.
    So any feedback would be greatly appreciated. If there is more information that is needed to better assist me, please let me know.
    Thank you for your time.

    Hello, if I remember correctly the issue was that I created the form with InfoPath 2013 and was trying to test using InfoPath 2010. This does not work.
    Did you create the form using InfoPath 2013?

  • SharePoint Foundation 2013 Feature Pack and Site Templates

    I have created a site using a site subscription and a SharePoint Foundation 2013 Feature Pack ( used the SP Foundation Feature Pack Script here http://gallery.technet.microsoft.com/office/SharePoint-2013-Foundation-d3d1637f that
    was created by Spencer Harbar)
    When I go to create a sub-site, there are 3 site templates that are available that strictly speaking should not be for Foundation edition. When I try and create sites using those I get errors because the features needed from them are not part of the subscription.
    The site templates available are:
    Collaboration > Project Site
    Enterprise > Document Center
    Enterprise > Records Center
    Does any one know why these would be displaying?

    Hello, if I remember correctly the issue was that I created the form with InfoPath 2013 and was trying to test using InfoPath 2010. This does not work.
    Did you create the form using InfoPath 2013?

  • Sharepoint foundation 2013 "The trust relationship between this workstation and the primary domain failed"

    Hi Sir/Madam,
    I try to connect the sharepoint foundation 2013 server by remote desktop recently using domain account, but it show the error message that mentioned in the subject. I can login the server using local account. Do I need to disjoin
    the domain then rejoin the domain? Will there be any risk if I do this? 
    My SharePoint environment as below:
    Primary domain : abc.local (DC : windows server 2012 standard R2)
    SharePoint : SharePoint foundation 2013 and SQL Standard 2012 installed on a single windows server 2012 standard (not R2, joined domain "abc.local)
    I tried this on DC > active directory user and compouter >right click Sharepoint pc > click reset > reboot sharepoint server, reboot sharepoint server but still cannot login using AD account
    I also tried netdom command and powershell command "Reset -ComputerMachinePassword" also failed to reset the password.
    Please help to resolve my problem. Thanks
    Jeffrey

    Go to Control Panel -> System -> under Computer Name, Domain, click Change Settings. Click on the Change button, then re-type the domain in the NetBIOS or FQDN format, which ever it is currently not set to. This will force a soft-join to the domain.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Sharepoint 2013 search error - The search application 'Search Service Application 1' on server is not provisioned.Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running on the server.

    Hi All,
    I'm getting the below error in My SHarepoint 2013 search Administration page.
    Crawler background activity - The search application 'Search Service Application 1' on server ""  is not provisioned. Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running
    on the server.
    and when i click on Crawl Log and content source
    it throws the below error
    The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether
    the service is enabled. This might also be because an indexer move is in progress
    When i check the search status
    Get-SPEnterpriseSearchServiceInstance, it shows all the components are online.
    As of now search service application is online and search is working.But not sure why it throws the above error.
    I have restarted timer service,search service in services.msc and cleared the sharepoint cache as well.
    But no luck,This is happening in my prodcution environment.
    Any help will be greatly appreciated.
    There are the logs i have found
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.73 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djs2 High [Forced due to logging gap, cached @ 05/23/2014 13:03:22.76, Original Level: VerboseEx] {0} d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.80 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General 8nca Medium Application error when access /_admin/search/listcontentsources.aspx, Error=The search service is currently offline. Visit the Services
    on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.   at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on Server page in SharePoint Central
    Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e)    
    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajlz0 High Getting Error Message for Exception Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on
    Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General aat87 Monitorable  d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24q Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present in the farm. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache'
    - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts present in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajb4s Monitorable ViewStateLog: Failed to write to the velocity cache:
    http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3-c3e4-4097-85fd-aa5248346d2e d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e)).
    Execution Time=109.695855199474 d4c6939c-b10d-4000-6d95-14caeefe67df
    Anil Loka

    Please try below mentioned steps:
    1. Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service Timer Job" > Disable
    2. Then open windows administrative services (services.msc), stop SharePoint Timer Service
    3. Clear SharePoint Timer configuration cache by following steps mentioned in below blog:
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    4. Start SharePoint Timer Service and give it a few seconds so that the new XML files from the location you deleted then are re-populated.
    5.Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service" Timer Job > Enable
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • Absence and Vacation Tracking in SharePoint Foundation 2013

    We upgraded from Sharepoint Foundation 2010 to SharePoint Foundation 2013. The absence and vacation template no longer works. Does anyone know of a free replacement?

    We ended up just creating a workflow that emails the necessary information whenever an item is added or changed to the list. Doing this avoids the default notification email ("A task has been assigned...") altogether. It is also much more straightforward
    than using "if then" and "what if" type statements.
    We found this webpage to be a good starting point to creating both the list and associated workflow:
    http://camerondwyer.wordpress.com/2013/04/17/implementing-a-simple-sharepoint-issue-tracking-system-with-cc-style-notification-emails-when-items-are-updated
    To automatically add approved vacation days to a calendar:
    1. Open the list
    2. Click Create View, then click Calendar View
    3. Name the calendar, set time intervals, etc.
    4. Set "Show items only when the following is true" so that Vacation Request Status (or whatever you chose to call it in your list) "is equal to" "Approved" (or whatever you chose to call it).

  • MasterPages and SharePoint foundation 2013

    Hi
    I have created a web application in SharePoint Foundation 2013. I also have created multiple subsite.
    I want to change the visual (branding) of the website (and all subsites).
    I have created a custom masterpage and wanted to set it as the default master page. But when I do that, everything is now set with that custom masterpage (even the site setting pages, the viewlsts.aspx, settings.aspx).
    Is there a way to bind masterpages only with the content pages of my website ?
    Any links for info about that ?
    Thanks
    Richard Martin Web Developer / BI Developer

    Hi  marric01,
    All of the site setting pages, the viewlsts.aspx and settings.aspx is the application page. An application page is an ASP.NET Web page that is designed for
    use in a SharePoint Web site. Application pages are stored on the file system of the front-end Web server in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS directory and exist for every site in a Web application.
    This folder is mapped to an Internet Information Services (IIS) virtual directory called _layouts. Every site and subsite will have access to the application pages by using the _layouts virtual directory. 
    The scenario you have seen is what SharePoint will do when set the master page through Site Settings->Master page. All the pages on the site will apply this master page. 
    The settings.aspx, viewlsts.aspx and upload.aspx. etc. are application pages, the difference between application page and content page is that: application page store in server 15/Template/Layouts folder, all applications in the SharePoint farm use the same
    application page, while content page store in content database, each site use a unique page of them, you can update the page content in different site as you like.
    SharePoint by default doesn’t provide a method to set different master page for application pages, and this is not recommended, even if you can change this through update the page directly in the layouts folder, whenever you change it, it will affect the whole
    SharePoint farm, on all web applications.
    If you really need to this, I would suggest you to custom the ribbon button to direct to your custom specific application page like settings page. The concern by doing this is the default settings page is still available, and if users access the page by typing
    the url directly, he will see the default settings page.
    Reference:
    http://msdn.microsoft.com/en-us/library/aa979592.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected].
    Eric Tao
    TechNet Community Support
    Hi,
    Thanks for the information. While waiting for help with this forum, I was playing with SharePoint Foundation 2013 and SharePoint designer 2013. I saw that I can bind custom masterpage for each page that I create.
    (Style => Attach => Custom masterpage)
    I also managed to bind subsite pages to that same custom masterpage. 
    Is this a good way to customize the look and feel of my SharePoint foundation 2013 website (We are building a small intranet for about 100 person).
    Users are only gona be able to modify content inside the pages. We are (IT dept) the only one that can modify structure, add new pages and modify the look for the website.
    Thanks again !
    Richard
    Richard Martin Web Developer / BI Developer

  • The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU - SharePoint Foundation 2013

    After sucessfulling installing the SharePoint Foundation 2013, when i try to access the Secure Stored Service Application i get the below error
    11/16/2012 18:13:02.84  w3wp.exe (0x1774)                        0x15E8 Secure Store Service         
     Secure Store                   g0n6 High     The trial period for this product has expired or this feature is not supported in this SKU. b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84  w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        8nca Medium   Application error when access /_admin/sssvc/ManageSSSvcApplication.aspx, Error=The
    trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.   at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1
    operation)     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated()     at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy
    proxy, String& errorMessage)     at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView()     at Microsoft.Office.SharePoi... b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84* w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        8nca Medium   ...nt.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.OnLoad(EventArgs
    e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84  w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     Runtime                        tkau Unexpected Microsoft.Office.Server.ProductExpiredException: The trial period for this product
    has expired or Secure Store Shared Service is not supported for this SKU.    at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation)    
    at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated()     at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy
    proxy, String& errorMessage)     at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView()     at Microsoft.Office.SharePoint.ClientExtensions.SecureSto... b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84* w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     Runtime                        tkau Unexpected ...reAdministration.ManageSSSvcApplication.OnLoad(EventArgs e)    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84  w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        ajlz0 High     Getting Error Message for Exception System.Web.HttpUnhandledException
    (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Office.Server.ProductExpiredException: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.    
    at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation)     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated()    
    at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy proxy, String& errorMessage)     at Microsoft.Office.Sha... b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84* w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        ajlz0 High     ...rePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView()    
    at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)    
    at System.Web.Htt... b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84* w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        ajlz0 High     ...pApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.86  w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        aat87 Monitorable   b3b6e19b-7de2-e016-ad32-0fc975829ef0
    Is it a bug or any issue in configuration?
    Raghavendra Shanbhag | Blog: http://moss-solutions.blogspot.com
    Please click "Propose As Answer " if a post solves your problem or "Vote As Helpful" if a post has been useful to you.
    Disclaimer: This posting is provided "AS IS" with no warranties.

    Hello
    something should be related wuith this service, take a llok at my visual studio output whne I try to deplay and autohosted sharepoint app: (anyone can help)
    1>------ Build started: Project: MySharePointAppWeb, Configuration: Debug Any CPU ------
    1>  MySharePointAppWeb -> C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\bin\MySharePointAppWeb.dll
    2>------ Build started: Project: MySharePointApp, Configuration: Debug Any CPU ------
    2>C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\Web.Debug.config(34,4): warning : No element in the source document matches '/configuration/connectionStrings'
    2>  Transformed Web.config using C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config.
    2>  Auto ConnectionString Transformed obj\Debug\TransformWebConfig\transformed\Web.config into obj\Debug\CSAutoParameterize\transformed\Web.config.
    2>  Copying all files to temporary location below for package/publish:
    2>  obj\Debug\Package\PackageTmp.
    2>  Packaging into C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.zip.
    2>  Adding sitemanifest (sitemanifest).
    2>  Adding IIS Application (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Creating application (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Adding virtual path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp).
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin).
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\en).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\en\Microsoft.IdentityModel.resources.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.IdentityModel.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.IdentityModel.Extensions.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.SharePoint.Client.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.SharePoint.Client.Runtime.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\MySharePointAppWeb.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\MySharePointAppWeb.pdb).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\packages.config).
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Pages).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Pages\Default.aspx).
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\jquery-1.7.1.js).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\jquery-1.7.1.min.js).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\_references.js).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Web.config).
    2>  Adding ACL's for path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Adding ACL's for path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Adding declared parameter 'IIS Web Application Name'.
    2>  Package "MySharePointApp.Web.zip" is successfully created as single file at the following location:
    2>  file:///C:/_works/visual%20studio%202012/Projects/MySharePointApp/MySharePointApp/obj/WebDeploy
    2>  To get the instructions on how to deploy the web package please visit the following link:
    2>  http://go.microsoft.com/fwlink/?LinkId=124618
    2>  Sample script for deploying this package is generated at the following location:
    2>  C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.deploy.cmd
    2>  For this sample script, you can change the deploy parameters by changing the following file:
    2>  C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.SetParameters.xml
    2>  Successfully created package at: C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\bin\Debug\app.publish\1.0.0.0\MySharePointApp.app
    3>------ Deploy started: Project: MySharePointApp, Configuration: Debug Any CPU ------
    3>Active Deployment Configuration: Deploy App for SharePoint
    3>Uninstall app for SharePoint:
    3>  Skipping the uninstall step because the app for SharePoint is not installed on the server.
    3>Install app for SharePoint:
    3>  Uploading the app for SharePoint...
    3>  Creating a trusted root authority in SharePoint for IIS Express.
    3>  Installation is in progress (00:00:00)
    3>  Installation is in progress (00:00:01)
    3>  Installation is in progress (00:00:02)
    3>  Installation is in progress (00:00:03)
    3>  Installation is in progress (00:00:05)
    3>  Installation is in progress (00:00:06)
    3>  App failed to install, cleaning up...
    3>  App installation cleanup failed due to errors.  Please see the app on the SharePoint site’s “Site Contents” page for details.
    3>  App installation encountered the following errors:
    3> 
    3>  @"Error 1
    3>        CorrelationId: ceeeafab-3834-40ea-b360-c29d103e2248
    3>        ErrorDetail: The remote hosting service is not configured.
    3>        ErrorType: Configuration
    3>        ErrorTypeName: Configuration
    3>        ExceptionMessage: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
    3>        Source: RemoteWebSite
    3>        SourceName: Remote Web Site Deployment
    3> 
    3>  @"Error 2
    3>        CorrelationId: ceeeafab-3834-40ea-b360-c29d103e2248
    3>        ErrorDetail: The remote hosting service is not configured.
    3>        ErrorType: Configuration
    3>        ErrorTypeName: Configuration
    3>        ExceptionMessage: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
    3>        Source: RemoteWebSite
    3>        SourceName: Remote Web Site Deployment
    3>Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
    ========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

Maybe you are looking for