Search installation fails in SharePoint Foundation 2013

As you all know there is no direct way to create a search service application in SP Foundation 2013 but when I try to create a new search service app using the Configuration Wizard it gives me the below error message. Did anyone encounter the same error
before? Any suggestions on configuring search in SP Foundation 2013?
Sorry, something went wrong
The directory C:\inetpub\wwwroot\wss\VirtualDirectories\80 is already being used by another IIS Web Site.  Choose a different root directory for your new Web application.

Thanks Anil. But the issue is I wont be able to create a separate application pool for search using the configuration wizard. It doesn't give me an option to create one.
I was successful in creating the search service application using the powershell script that is shared below. Now everything works as expected. 
Start-SPEnterpriseSearchServiceInstance $env:computername
Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance $env:computername
$serviceAppName = "Search Service Application"
$appPool=Get-SPManagedAccount -Identity "Contoso\SpFarmSearch"
New-SPServiceApplicationPool -Name SearchApplicationPool -Account $appPool -Verbose
$saAppPool=Get-SPServiceApplicationPool -Identity SearchApplicationPool
$svcPool = $saAppPool
$adminPool = $saAppPool
$searchServiceInstance = Get-SPEnterpriseSearchServiceInstance –Local
$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()

Similar Messages

  • Provision Search in SharePoint Foundation 2013 without Domain Controller / Active Directory - Domain accounts

    Hi,
    I have successfully setup SharePoint Foundation 2013 as single server farm with SQL Server Standard database in a DMZ environment using local accounts since DMZ doesn't have an Active Directory and hence Domain accounts using powershell as described
    in https://theblobfarm.wordpress.com/2012/12/03/installing-sharepoint-2013-without-a-domain-controller 
    When I run Farm configuration wizard to provision search service application, I get an error:
    ERROR: "The service application(s) for the service "Search Service Application" could not be provisioned because of the following error: I/O error occurred."
    The log file logged the details of this error as:
    ERROR: "Failed to create file share Analytics_e441aa1c-1a8d-4f0a-a079-58b499eb4c50 at D:\SharePoint Search\Office Server\Analytics_e441aa1c-1a8d-4f0a-a079-58b499eb4c50 (System.ArgumentException: The SDDL string contains an invalid sid or a sid
    that cannot be translated."
    After investigation, I found that potentially the error could be because the timer service is trying to setup a network share for analytics component (as part of provisioning search). It is trying to setup that share with a domain account that happens to
    be a local user instead in this case and fails with error “System.ArgumentException: The SDDL string contains an invalid sid or a sid that cannot be translated”.
    I got some pointer from the below thread
    https://social.technet.microsoft.com/Forums/en-US/c8e93984-f4e5-46da-8e8a-c5c79ea1ff62/error-creating-search-service-application-on-sharepoint-foundation-with-local-account?forum=sharepointadmin
    However, the above thread doesn't state that the solution worked.
    I have tried creating share manually for Analytics_<Guid> folder but it doesn't work since every time farm configuration wizards is run it creates a new Analytics_<Guid> folder.
    Since, I have setup SharePoint Foundation 2013 on a production environment I cannot test and trial various solutions.
    Can some please guide me on how to successfully provision search for SharePoint Foundation 2013 setup as a single server farm with SQL Server Standard database in a DMZ environment using local accounts (without Active Directory - domain accounts).
    Thanks in advance.
    Himanshu

    Microsoft documentation doesn't always specifically call out all products (Project Server isn't there, either). But it does apply. You'll need to stand up at least one Domain Controller, or allow port access back to a DC.
    Preferably, set up SharePoint on the internal network and use a reverse proxy (which will terminate client connections at the reverse proxy) present in the DMZ.
    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.

  • 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.

  • 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

  • Team Foundation Server 2013 with SharePoint Foundation 2013 - Search not available?

    Hello,
    we installed a TFS 2013  and let it deploy SharePoint Foundation on the same server. We are now faced with the fact that search in the teamsites is not working. I tried to get that search service up and running in a number of ways but it appears
    as if there's no search service at all.
    I have seen all the blogs where people are explaining how to provision a search service application for SharePoint Foundation but none of these ways work.
    So, my question... is it possible to get it working?
    PS. Please don't advice to post this on the TFS forum... I'm coming from there. They just closed my question as answered with the advice to post it in the SharePoint forum.
    TIA,
    Bart

    Well,
    When you go to the Search Settings in the Site Actions menu of a site, a message is displayed that there's no search Service. Which is kind of normal since there's no Search Service Application provisioned.
    When I go to Central Administration => Services on Server => There's no Search Service.
    When I go to Central Administration and I run the configuration wizard, there's no search service application to be provisioned.
    There's a Search Administration section in the General Settings but it only displays the upper section. The lower section (with the Search Service Application information) just gives me nothing. An animated loading icon.
    I tried to provision the services with psconfig (psconfig -cmd services -install) but there's still no search service to be found anywhere. After this, I do have a Search Host Controller service but when I try to start it in Central Administration, it just
    gives me an error.
    I'm starting to think it's not a full SharePount Foundation which is shipped with TFS.
    The only thing we want to achieve is that a user can search for a document he uploads in a team site which is created by TFS. Seems not possible... unless I'm missing something here.

  • 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 search service crawl log

    Hi all,
    Whenever I try to open the crawl log in sharepoint foundation 2013 I am getting the following error. The error says nothing about the reason of failure to open the log.
    If just shows the co-relation ID in technical details.
    Correlation ID: d85cd49c-18f6-509e-ca23-13f39afa5192 (while trying to access the Crawl log)
    Correlation ID: e85bd49c-e836-509e-ca23-1a3f0ece8c28 (while trying to access the Content source)
    I searched a lot on the net but not able to find any solution to this.
    Can you please help me
    Thanks.

    Can you please share details of this Correlation ID from ULS logs
    http://itfreesupport.com/2014/12/sharepoint-2013-2010-uls-logging-to-troubleshoot/
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

  • Sharepoint foundation 2013 Search Service Application.

    Hi all,
    I want to configure search application for sharepoint foundation 2013. I have followed some of the web links.
    But did not get success. Can you please provide me the working example of how to configure search application and run the crawl. And make sure the search is working correctly.
    Thanks  in advance for help.

    Hi Vishwajeet,
    According to your description, my understanding is that you want to configure SharePoint Foundation 2013 Search service application.
    In SharePoint Foundation 2013, we cannot add the Search Service to SharePoint Foundation 2013 from the Central Administration GUI after selecting a manual configuration method. It seems that the ONLY way you can add the Search Service to SharePoint Foundation
    2013 is by using the SharePoint Configuration Wizard.
    More information, please refer to the link:
    http://blog.ciaops.com/2012/12/search-service-on-foundation-2013.html
    Best Regards,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • 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 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 Configure Search Navigation

    I am testing out the search feature of Foundation 2013 and I want to allow my users to refine their searches via Result Sources.  From the instructions that I have read I should be able to do this in the Global Search Results page that I created ->
    Site Settings -> Search -> Search Settings.  It appears there should be a section for "Configure Search Navigation".  I do not have this option.  Is this something that is disabled in the Foundation edition of Sharepoint?
    For reference here is what I was following for instructions.
    http://en.share-gate.com/blog/sharepoint-2013-search-settings-and-search-box-drop-down-menu About halfway down the page it shows this configuration box.  I cannot see that on my Search Settings page at all.
    I have successfully created a Result Source that does work, but I seemingly have no way of presenting that to the user.  The Navigation WebPart also relies on the "Configure Search Navigation" settings, which I can't see in my setup.
    Suggestions?

    Hello,
    "Configure Search Navigation" is not present in SharePoint Foundation 2013, but it is still available
    via SOM (and PowerShell, of course). Try this if this helps (full url of Search Center on my dev environment is http://dev/search):
    using (var siteCollection = new SPSite("http://dev"))
    using (var site = siteCollection.OpenWeb("search"))
        site.Navigation.SearchNav.AddAsFirst(
            new SPNavigationNode("Test", "http://dev"));
        site.Update();
    Regards,
    Michal

  • Duplicate Search Databases in SharePoint Foundation 2013 Farm

    I seem to have 2 seperate issues with Search within my SharePoint Foundation 2013 Farm. This is a new Farm, so I can remove the search service application and re-create if this is a way that can clear the 2 issues I am experiencing.
    Issue 1:
    For some reason I have 2 instances of the following search related DB's:
    SearchAdminDatabase
    SearchAnalyticsReportingDatabase
    SearchGathererDatabase
    SearchLinksDatabase
    1 instance of each of the databases all report database status of "No Action Required" and the other instance of all the DB's report a database status of "Not Responding".
    Issue 2:
    My search service application seems to be working fine as I am able to crawl content and retrieve results, however the DB's associted with this search service application are reported with the following warning within the SharePoint Health Analyzer. I have
    been unable to run the Upgrade-SPContentDatabase command against these databases as I get a message saying that the content database could not be found:
    Title
    Databases running in compatibility range, upgrade recommended.
    Severity
    2 - Warning
    Category
    Configuration
    Explanation
    The following databases have versions that are older than the current SharePoint software, but are within the backwards compatible range:
    Search_Service_Application_AnalyticsReportingStoreDB_a3c64b2f3b9b4a5d83383ec0b1ecfcf4,
    Search_Service_Application_CrawlStoreDB_ffb8d716450242cc849a7f44f521bfc9,
    Search_Service_Application_DB_0fe433c02db6435db85285e9fd83863e,
    Search_Service_Application_LinksStoreDB_75efb2f689cf49f19c98a5a8155e47b7.
    Remedy
    To achieve optimal results from these databases, use Upgrade-SPContentDatabase to upgrade Content databases, or psconfig.exe to upgrade other databases.  For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=142697".
    Kevin Evans

    At time people create search service application and delete it. SA is deleted but database were not deleted for some reason. so these might be those stale database. You can delete them if you want
    http://blogs.technet.com/b/tothesharepoint/archive/2011/12/19/find-active-databases-used-by-sharepoint-server-2010.aspx
    If you want a report of all of your SharePoint databases that includes the GUIDs and related property values, use the SharePoint 2010 Management Shell.
    There are several Windows PowerShell cmdlets you can use to find all of the SharePoint databases and then print this report to a text file. The quickest and perhaps easiest cmdlet is “Get-SPDatabase”. Run this cmdlet in the SharePoint
    2010 Management Shell to list all of the SharePoint Server databases with properties for each one. From this potentially large list you can then obtain specific information such as the database ID by using additional syntax in your cmdlet. Similarly, also
    in the SharePoint 2010 Management Shell, run “Get-SPDatabase | Sort-Object
    disksizerequired -desc | Format-Table Name” and you will get a simple list of the names for each database. You can then print this list to a text file by adding, “| out-file c:\db.txt” to the end of the command. 
    For detailed information, see
    Windows PowerShell for SharePoint Server 2010,
    Database cmdlets, 
    Get-SPDatabase, and
    Get-SPContentDatabase.
    If this helped you resolve your issue, please mark it Answered

  • When connecting to a server farm in sharepoint foundation 2013 cannot create new farm error: One or more types failed to load

    When trying to create a new server farm in the sharepoint foundation 2013 we get a following error :
    The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.
    PS C:\Users\Administrator> New-SPConfigurationDatabase
    cmdlet New-SPConfigurationDatabase at command pipeline position 1
    Supply values for the following parameters:
    DatabaseName: SharePoint_Config
    DatabaseServer: PC78\SQLEXPRESS,25111
    FarmCredentials
    Passphrase: *********
    New-SPConfigurationDatabase : One or more types failed to load. Please refer
    to the upgrade log for more details.
    At line:1 char:1
    + New-SPConfigurationDatabase
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (Microsoft.Share...urationDatabase:
    SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase], SPUpgra
    deException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon
    figurationDatabase
    And the error log is shown below :
    Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load.
    Please refer to the upgrade log for more details.
    at Microsoft.SharePoint.Upgrade.SPActionSequence.LoadUpgradeActions()
    at Microsoft.SharePoint.Upgrade.SPActionSequence.get_ActionsInternal()
    at Microsoft.SharePoint.Upgrade.SPUtility.GetLatestTargetSchemaVersionByMajorVersion(Type typeActionSequence, Int32 majorVer)
    at Microsoft.SharePoint.Upgrade.SPUtility.get_CurrentSPSiteWssTargetSchemaVersion()
    at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, Int32 compatibilityLevel, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, Strin... b712a522-fa85-49eb-b59c-dedf55295504
    ...g secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName, Boolean overrideCompatibilityRestriction)
    at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, Int32 compatibilityLevel, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)
    at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.CreateDefaultInstance(SqlConnectionStringBuilder administrationContentDatabase, SPWebService adminService, IdentityType identityType, ... b712a522-fa85-49eb-b59c-dedf55295504
    ...String farmUser, SecureString farmPassword)
    at Microsoft.SharePoint.Administration.SPFarm.CreateAdministrationWebService(SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
    at Microsoft.SharePoint.Administration.SPFarm.CreateBasicServices(SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
    at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
    at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuil... b712a522-fa85-49eb-b59c-dedf55295504
    ...der configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
    at Microsoft.SharePoint.PowerShell.SPCmdletNewSPConfigurationDatabase.InternalProcessRecord()
    at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord() b712a522-fa85-49eb-b59c-dedf55295504
    Error Category: InvalidData Target Object Microsoft.SharePoint.PowerShell.SPCmdletNewSPConfigurationDatabase Details NULL RecommendedAction NULL b712a522-fa85-49eb-b59c-dedf55295504
    Leaving ProcessRecord Method of New-SPConfigurationDatabase. e9ae5ba6-c499-0000-d35c-aee999c4cf01
    we are using server 2012 R2 and we don't have office 2010 installed

    Yes,SQL server is on the same server as SharePoint 
    SQL has both the permissions Securityadmin
    and  DBcreator roles on SQL Server.
    When we run those sharepoint management shell commands the database  will be created with the error
    msg (shown in attachment)

  • SharePoint Foundation 2013 error after March 2013 PU

    Hi all!
    i have SharePoint Foundation 2013, install March 2013 PU but now i can't edit webpart pages that have a search webpart. Then i install the SP1 too, but the issue continue. Any idea?
    I read about the SP1 problem, but i installed the lasted update.
    the errror on the IE developer tool says that  SCRIPT5009: 'WebForm_OnSubmit' is undefined
    Its only when i put a search webpart on page.
    thanks

    Hi all,
    I had to open a MS case to resolve this issue.
    I going to explain the problem and the resolution for you.
    Our SharePoint time zone is Caracas (-4:30)
    Our SharePoint language was Spanish (Venezuela)
    This was part of the page code before install the upgrade:
    var _spRegionalSettings={adjustHijriDays:0,calendarType:1,firstDayOfWeek:0,firstWeekOfYear:0,localeId:2058,currentDateInLocalCalendar: new Date(2014, 5, 27),showWeeks:0,timeZone:'-04:30:00.0001171',timeZoneInHours:-4.5,workDayEnd:1020,workDayStart:480,workDays:'0111110',time24:0};…
    And after the upgrade:
    var _spRegionalSettings={adjustHijriDays:0,calendarType:1,firstDayOfWeek:1,firstWeekOfYear:2,localeId:3082,currentDateInLocalCalendar: new Date(2014, 5, 27),showWeeks:0,timeZone:'-04:30:00.0005463',timeZoneInHours:-4,5,workDayEnd:1020,workDayStart:480,workDays:'0111110',time24:1};…
    So for this thing all script failed.
    In our case I noticed when added any search webpart.
    So the resolution:
    Change the language to Spanish (Mexico) or some language where the decimal separator wasn’t a coma “,”
    I hope this help.
    Thank you Victoria.
    Alexandra
    Alexandra

  • Error Uninstalling SharePoint Foundation 2013

    I foolishly installed Sharepoint foundation on an exchange server and it broke my access to ECP and OWA.  I have attempted uninstallig but get the message "One or more required Office components failed to complete successfully.  For more information,
    consult the setup log file".  In the application logs SharePoint 2010 Products Configuration Wizard reports event ID 101, "Configuration of the SharePoint Products has succeded." and the following is recorded in the setup log file;
    2014/01/21 16:28:44:820::[3180] Showing message Title: 'Setup', Message: 'Are you sure you want to remove Microsoft SharePoint Foundation 2013 from your computer?
    We’ve noticed you have other Office products that will remain installed after you uninstall this product.  We recommend you Repair these products from the Programs and Features item in your Control Panel once you’re done uninstalling.'
    2014/01/21 16:28:45:961::[3180] Message returned: 6
    2014/01/21 16:28:45:961::[6260] Showing message Title: 'Warning:', Message: 'Before uninstalling this product, note the following:
    - Removing this product might result in partial loss of functionality for sites that depend on features installed by this product.
    - If you installed this product over an existing SharePoint Products installation or choose to cancel the uninstall after this dialog box, you must run the SharePoint Products Configuration Wizard to reconfigure the server farm after Setup has exited.
    Do you want to uninstall now?'
    2014/01/21 16:28:47:597::[6260] Message returned: 1
    2014/01/21 16:28:47:597::[6260] Kicking off chained uninstall...
    2014/01/21 16:28:47:597::[6260] Do not use Uninstall MSI to uninstall
    2014/01/21 16:28:47:597::[6260] Executing command path: 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN\PSConfig.exe', args: '-cmd uninstall'
    2014/01/21 16:28:48:831::[6260] Command 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN\PSConfig.exe' returned: 0
    2014/01/21 16:28:48:831::[6260] Executing command path: 'C:\Program Files\Common Files\Microsoft Shared\SERVER15\Server Setup Controller\dbwrap.exe', args: 'timeout=2950 InstallMode=Uninstall'
    2014/01/21 16:29:03:331::[6260] Error: Command: 'C:\Program Files\Common Files\Microsoft Shared\SERVER15\Server Setup Controller\dbwrap.exe' failed with error code: -2067922941. Type: 8::CommandFailed. 
    2014/01/21 16:29:03:331::[3180] Showing completion dialog.
    2014/01/21 16:29:13:476::[3180] Reboot requested if needed.
    2014/01/21 16:29:13:476::[3180] No reboot is needed.
    2014/01/21 16:29:13:507::[3180] Catalyst execution finished: 01/21/2014 16:29:13.  Return code: 8.
    2014/01/21 16:29:13:507::[3180] PERF: TickCount=1856000 Name=RunSetup Description=End function
    I've looked for issues associated with thid dbwrap.exe error code and found nothing.  Does anyone have any suggestions or experience with this error?

    Nevermind I figured it out.  I had to uninstall SQL express manually before uninstalling Sharepoint Foundation.

Maybe you are looking for

  • Some Clips in Projects and Events are Grayed Out

    I've been using iMovie for a while with the same camera, and it's always worked fine. However, the last time I went to import some clips from my camera, they went into the event folder, but then every clip - including the new ones - that had worked b

  • Payment file

    hi all, i never worked in fi.Basically iam an abaper, my requirement is to generate payment file for bank using SAPFPAYM.plz can anyone guide how to proceed. thank you.

  • Mozilla just updated to Firefox 4 and disabled my F5 access. I can no longer work from home!

    I'm trying to connect to my work network from home, but Firefox automatically updated to Firefox 4 on my home computer and disabled my F5 software which was what I was using to remotely login to my work computer. F5 Networks VPN client is standard st

  • Updated clash of clans. Crash when open. Delete

    Updated clash of clans yesterday. Crash when login. Delete and reinstall. But can't see the icon in iPad after installation complete. Can't launch from App Store too.please help

  • DataServices Global Address Cleansing code 3010

    Hello, During the address cleansing  we're getting "3010 . Locality, region, and postcode are valid. Unable to match primary name to directory." I don't understand what this means, since the address is valid. Appreciate your insight Cheers PS: Is thi