Creating new site collection using wsp template fails

Hi all,
I'm creating new site collections using a wsp solution generated by "save as template".
For site collection creation I select "<Select template later>" then I upload the wsp solution.
Everything worked until last month, now after CU installation (agoust 2014) I get an error:
"List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user."
Does anyone know how to solve it?
Thanks 
Maurizio

ULS contains a lot of those errors:
System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, 
StackTrace:
     in Microsoft.SharePoint.SPWeb.GetList(String strUrl)
     in Microsoft.SharePoint.SPWeb.TryGetListByUrl(String url)
     in Microsoft.SharePoint.SPFieldElement.PerformFixUpIfLookUpField(Guid fieldId, XmlNode xmlNodeOfAField, SPWeb web)
     in Microsoft.SharePoint.SPFieldElement.ElementActivated(SPFeaturePropertyCollection props, SPSqlCommand sqlcmdAppendOnly, SPWebApplication webApp, SPSite site, SPWeb webNull, Boolean fForce)
     in Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionFieldsAndContentTypes(SPFeaturePropertyCollection props, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)
     in Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)
     in Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
     in Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)
     in Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean
fMarkOnly, Boolean fIgnoreMissing, SPFeatureDefinitionScope featdefScope)
     in Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly, Boolean fIgnoreMissing)
     in Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6()
     in Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param)
     in Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures, Boolean fIgnoreMissing)
     in Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String&
bstrWebTemplate, Int32& plWebTemplateId)
     in Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String&
bstrWebTemplate, Int32& plWebTemplateId)
     in Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
Int32& plWebTemplateId)
     in Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1&
featureDependencyErrors)
     in Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)
     in Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)

Similar Messages

  • SharePoint 2010 - Create new site collection in existing web application with different existing content DB

    I have a SharePoint 2010 root level site collection SC1 in web application WEBAPP1. I want to create copy of that site collection in same web application WEBAPP1. Apart from Import/Export, Restore/Backup options, will following approach work? If yes , how?
    I took backup of content database of web application.
    Restored database with different name
    Mounted Content database to this WEBAPP1 by assigning new ID to DB
    Created new site collection by using this newly mounted DB
    Site collection gets created successfully but content does not appear.
    Please guide if i can achieve desired functionality by using this approach.
    If this helped you resolve your issue, please mark it Answered

    It is because the Site GUID is identical, and each GUID can only be present on the farm once. You can use Backup-SPSite/Restore-SPSite (which is full-fidelity, unlike Export-SPWeb/Import-SPWeb), which will generate a new GUID for the restore Site Collection,
    even in the same Web App.
    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.

  • Create new site collection but page cannot be dislayed

    Hi all,
    im pretty new when it comes to Sharepoint.So far installation was successfull and i can access central administration page.
    I then changed Alternate access mapping from http://intra01/ (intra01 was probably addes,since computer has this name during setup)  to http://intra
    When i click the link,i only get this page cannot be displayed.
    When i created two new site collections,it is shown as http://intra/sites/main (where main was the name i gave for first site collection).
    When i click the link,i only get this page cannot be displayed.Same is for 2nd site i created.
    When i change Alternate access mapping for Central administration,this also fails and gives me page cannot be displayed.If i instead enter intra01,then i can access central administration.This does not work for the 2 site collection i created.
    What have i missed?
    thanks!
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work

    Hi
    let me split the issue
    <<I then changed Alternate access mapping from http://intra01/ (intra01 was probably addes,since
    computer has this name during setup)  to http://intra>>
    you are accessing your CA with http://intra1?
    and next you are trying to access it using http://intra?
    Did you installed CA on port 80?
    Anyway, please check if you can resolve the new name used in AAM , intra.
    If you can't please check your DNS configuration
    Come back with results and details. thanks
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Create new site from twitter bootstrap template

    Hi everyone
    how can i create a trial site from the twitter bootstrap template that we can download from bcgurus with the basic  free partnern ship plan?

    You can use Dreamweaver to create templates and your client
    can use them in Contribute to create new website.

  • Error when using ANY "save site as template Include Content" solution to create a NEW Site Collection

    Here is the scenario. (SharePoint 2013)
    In Dev/Test/Prod any Site that we Save as Template and include content and then, Download and try to use in a new Site Collection errors out upon use "List does not exist" error.
    This occurs with ANY Site, even OOB Team Site template that is immediately "Saved as Template".
    We can do this in any other environment (we have several test labs 1 in O365 and 1 in VM that is very OOB)
    We can take the site solution from the environments we're having the issue in and use them successfully in our Lab environments (on prem or in the cloud).
    We have also tried taking Site solution from lab environment (where we know it works fine) and tried to use these in Dev/Test/Prod and they also error on us.
    In the Dev/Test/Prod environments that have the issue if we DO NOT include content, the template works just fine to create a new site collection with the template.
    Keep in mind we're talking about environment with no 3rd party apps, no custom code, just 2013 SharePoint with all patches and CU up to June 2013, AND this is ANY template even a vanilla OOB template without anything in it.
    You can always save site as template including content, download/upload it to new site collection solutions gallery and activate it without any issue... it's only if you try to use these templates to create a site that the error occurs.
    Any thoughts on this?
    J

    I also experiencing the same issue. I also tried to create a new site-collection using publishing site template, resulting in "list not found" error.
    Later I tried just a team-site (with content) -> the same error.
    The error appears on two different (post SP1) farms. That's why I tested the site-collection creation on an old (pre SP1) farm: the error doesn't exist. Site-Collections are created properly.
    My conclusion is: either SharePoint SP1 or a later CU causing the error.
    Regards,
    Valerian

  • Unable to apply a new site template to a new site collection's root web

    Hi folks,
    Using PowerShell I need to create a new site collection and add a new site template to its root web.  I've tried but failed...
    I created the site template from a team site that I modified and then saved it as a site template and saved the template to an WSP file (in the solutions gallery).
    I have tried both of the following methods but can't find the template to add to the root web of the site collection.  Help!!
    Method 1 - Create the site collection, deploy & install the template as a user solution, and apply the template
    I did the following, but it doesn't work because Get-SPWeb doesn't find it.  If I run Get-SPWeb with no parameters the list it returns doesn't include my template.  So site.GetWebTemplates includes it but Get-SPWebTemplate doesn't.
    # Create the site collection
    $site = New-SPSite $siteURL -OwnerAlias $owner -SecondaryOwnerAlias $secondOwner -name $studentName -Description $description
    # Deploy and install the template
    $wsp = Add-SPUserSolution -LiteralPath $wspPath -Site $siteURL
    $wsp = Install-SPUserSolution -Identity $wspIdentity -Site $siteURL
    # Assign the template.
    $loc= [System.Int32]::Parse(1033)
    $templates= $site.GetWebTemplates($loc)
    foreach ($child in $templates)
    Write-Host $child.Name
    If ($child.Name.EndsWith("ABC")
    # the name of the template that I added ends in "ABC" - when this script runs I the name of my
    #added template displays as "{longGUID}#1ABC"
    $template = $child
    $templateID = $child.Name
    $template = Get-SPWebTemplate $templateID
    # regardless of whether I assign $template above or here the Set-SP_Web assignment below fails
    $web = Get-SPWeb $siteURL
    $web | Set-SPWeb 
    -Template $template
    Method 2 - Deploy and install the template as a farm solution, create the site collection, and apply the template
    I did the following.  After I did the first section (deploy and install the solution to the farm) I was able to go to "Manage Farm Solutions" in CA and it was listed there, but neither
    site.GetWebTemplates nor Get-SPWebTemplate included the site template in their list of templates.
    # Deploy and install the solution to the farm
    $template = Add-SPSolution -LiteralPath "C:\SharePoint\Student Site.wsp"
    $template | Install-SPSolution
    Do {Start-Sleep 2 } while (!((Get-SPSolution $template).Deployed))
    # Create the site collection
    $site = New-SPSite $siteURL -OwnerAlias $owner -SecondaryOwnerAlias $secondOwner -name $studentName -Description $description
    # Assign the template.
    $loc= [System.Int32]::Parse(1033)
    $templates= $site.GetWebTemplates($loc)
    foreach ($child in $templates)
            Write-Host $child.Name
            If ($child.Name.EndsWith("ABC")
    # the name of the template that I added ends in "ABC" - when this script runs I the name of my
    #added template displays as "{longGUID}#1ABC"
                            $template = $child
                            $templateID = $child.Name
    $template = Get-SPWebTemplate $templateID
    # regardless of whether I assign $template above or here the Set-SP_Web assignment below fails
    $web = Get-SPWeb $siteURL
    $web | Set-SPWeb
    -Template $template
    David

    Out of curiosity, are you able to create a site within a site collection using this template? That is, can you create a site that is not the root site (e.g. http://sharepoint/sitecollection/Web)?
    Jason Warren
    Infrastructure Specialist
    Habanero Consulting Group
    habaneroconsulting.com/blog

  • How to provision site collection using CSOM in SharePoint on premise

    Hi,
    I need to create site collection using CSOM in SharePoint on premise.
    Most of the forums discuss on provisioning site collection in SharePoint online and that does not work in on premises.
    Is it possible to provision site collection using CSOM in on premise?
    Kindly, share some reference to accomplish this.
    Thanks in advance,
    Dhijit

    Hi,
    According to your description, my understanding is that you want to create a site collection using Client Object Model in SharePoint on-premise environment.
    One option is that you can follow the article below to create the site collection with CSOM.
    Provisioning site collections using SP App model in on-premises with just CSOM 
    Another option,  I suggest you can use admin web service for SharePoint 2013 to create a site collection.
    Here is a detailed article for your reference:
    Admin.CreateSite method
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Using powershell to move a sub-site tree to a new site collection

    I have a case where I may need to move a subsite tree from one site collection to another existing site collection.
    The information I have normally seen on the web talks about creating a new site collection when moving a subsite tree.
    If I am going to an existing site, then can I still do the export and import or do I need to do something else.
    The manage content option is not available to me - the publishing infrastructure is not turned on the source site collection and the ramifications of turning it on are too great.
    I can use powershell to perform this move.
    Another situation is that the destination site collection has the SP 2010 visual upgrade, but this subsite tree does not yet have that turned on. I presume that it would be best to turn it on before I move - is there a way via powershell to turn on the visual
    upgrade for a subsite tree only? I don't want to turn it on the sibling trees at this time.

    Okay, after more web research, I see examples where I have to create a destination site before I import to it.
    So, here's what I tried.
    Export-spweb -Identity
    http://myfarm/sites/e/dprojects6/CC-Sharing/ -Path d:\temp\export_cc.bak -includeusersecurity –includeversions All –usesqlsnapshot
    # What template is the site?
    $web = get-spweb http://myfarm/sites/e/dprojects6/CC-Sharing/
    Write-host “Web Template:” $web.WebTemplate ” | Web Template ID:” $web.WebTemplateID "| Web Configuration:" $web.Configuration
    $tmp=$web.WebTemplate + "#" + $web.Configuration
    write-host "template:" $tmp
    New-SPWeb http://myfarm/sites/e/dprojects4/CC-Sharing -Template $tmp
    import-spweb
    http://myfarm/sites/e/dprojects4/CC-Sharing/ -Path d:\temp\export_cc.bak -includeUserSecurity
    What I ended up with was the imported data at
    http://myfarm/sites/e/dprojects4 instead of in
    http://myfarm/sites/e/dprojects/4/CC-Sharing/ .
    I am working on recovering things so I can try this again. It is not obvious to me what
    I did to cause the results I had.
    When I look in the import log I see:
    [3/18/2014 7:30:14 AM] Progress: Starting content import.
    [3/18/2014 7:30:14 AM] Progress: De-Serializing Objects to Database.
    [3/18/2014 7:30:14 AM] [Web] [CC-Sharing] Progress: Importing
    [3/18/2014 7:30:14 AM] [Web] [CC-Sharing] Verbose: Importing Web
    http://myfarm/sites/e/dprojects4/CC-Sharing.
    [3/18/2014 7:30:14 AM] [Folder] [] Progress: Importing
    and yet when I went to
    http://myfarm/sites/e/dprojects4/ I found the contents of CC-Sharing.
    Does this kind of thing sound familiar to anyone?
    Thank you all for your help.

  • Asset Selector initialization failed error when trying to create new site

    Hi,
    I'm trying to create a new site in using the Site Administration functionality in ATG 10, and I get the UI error 'Asset Selector initialization failed, after selecting to Create a new site. In the log, I have the following error:
    2012-05-29 16:12:10,400 ERROR [nucleusNamespace.atg.remote.assetmanager.browse.service.BrowseService] (http-0.0.0.0-8180-2)
    CAUGHT AT:
    CONTAINER:atg.remote.assetmanager.browse.service.BrowseException; SOURCE:atg.repository.RepositoryException: No property named "null" could be found in the item descriptor "siteTemplate".
         at atg.remote.assetmanager.browse.service.RQLRetriever.retrieveItems(RQLRetriever.java:125)
         at atg.remote.assetmanager.browse.service.BrowseManager.getListMembers(BrowseManager.java:608)
         at atg.remote.assetmanager.browse.service.BrowseManager.getChildrenPage(BrowseManager.java:381)
         at atg.remote.assetmanager.browse.service.BrowseService.getChildren(BrowseService.java:583)
         at atg.remote.assetmanager.browse.service.BrowseService.getBrowseNavStateForContext(BrowseService.java:509)
         at atg.remote.assetmanager.browse.service.BrowseService.initialize(BrowseService.java:179)
         at atg.remote.assetmanager.browse.service.BrowseManager.getAssetNavigatorState(BrowseManager.java:1247)
         at atg.remote.assetmanager.browse.service.BrowseManager.getAssetNavigatorState(BrowseManager.java:81)
         at atg.remote.assetmanager.selector.service.AssetSelectorService.getAssetNavigatorState(AssetSelectorService.java:170)
         at atg.remote.assetmanager.selector.service.AssetSelectorService.loadAssetNavigatorStates(AssetSelectorService.java:222)
         at atg.remote.assetmanager.selector.service.AssetSelectorService.initializeAssetSelector(AssetSelectorService.java:355)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
         at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(TransactionalJavaAdapter.java:140)
         at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
         at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
         at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
         at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
         at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
         at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
         at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
         at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
         at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
         at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
    Caused by: atg.repository.RepositoryException: No property named "null" could be found in the item descriptor "siteTemplate".
         at atg.adapter.gsa.GSAItemDescriptor.executeSingleQuery(GSAItemDescriptor.java:8975)
         at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:8846)
         at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:7765)
         at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:338)
         at atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:693)
         at atg.repository.query.QueryCache.populateEntry(QueryCache.java:912)
         at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:433)
         at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:344)
         at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:285)
         at atg.remote.assetmanager.browse.service.RQLRetriever.retrieveItems(RQLRetriever.java:118)
         ... 112 more
    SOURCE EXCEPTION:
    atg.repository.RepositoryException: No property named "null" could be found in the item descriptor "siteTemplate".
         at atg.adapter.gsa.GSAItemDescriptor.executeSingleQuery(GSAItemDescriptor.java:8975)
         at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:8846)
         at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:7765)
         at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:338)
         at atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:693)
         at atg.repository.query.QueryCache.populateEntry(QueryCache.java:912)
         at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:433)
         at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:344)
         at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:285)
         at atg.remote.assetmanager.browse.service.RQLRetriever.retrieveItems(RQLRetriever.java:118)
    Has anyone encountered this issue before?

    Are you running both SiteAdmin and SiteAdmin.Versioned on your publishing server?
    Also have you done any customization in SiteRepository?
    Try getting merged XML for /atg/multisite/SiteRepository through Dyn Admin Component browser and make sure it comes up nicely for both production and publishing servers

  • Sorry, something went wrong --- I got an error message after a new webapp was built and a new site collection was created

    Sorry, something went wrong --- I got an error message after a new webapp was built and a new site collection was created.
    This in SharePoint 2013 Farm.
    What should I do?
    1- I did a DisableLoopBack and set the value to "1".
    For hostname do I have to do : 111.111.111.111 (sample) and serversp2013?
    P.S. I fixed this issue once, long time ago and I forgot how it ... be done.

    Hi,
    For troubleshooting your issue, please take steps as below:
    1.Go to IIS, make sure the web application is actived.
    2.Go to IIS -> Applicaiton Pools, make sure the application pool related to your web application is started.
    Reference:
    http://support.microsoft.com/en-us/kb/926642/en-us
    http://www.techrepublic.com/forums/questions/cannot-browse-created-web-application-site-in-sharepoint-services-30/
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Create a new site collection in different farm and connect to different content database from decommissioned farm

    I wish to bring down a SharePoint farm1 and create a new site collection in an existing farm2 and connect the new site collection in farm2 to the content db in farm1.
    Is this possible and how should I do it?

    it is possible to copy/move a content database from one farm to another... so long as the NEW farm is at least as up-to-date (version/service packs/updates/hotfixes/etc) as the OLD farm.
    you can move a site collection into its own content database.
    hopefully that answers your question.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Create a site collection with dedicated content db with the help of server object model

    Hi,
     I have a requirement to implement a create a new site collection with dedicated content db. i have got 2 PowerShell scripts which does the same. first i will  create a content  db and then create the sitecollection with contentdb
    parameter with the created contentdb name.
    Now the site collection created must contain few doc libs and few splists with look up columns, people picker data type, multiline of text, single line of text,choice field. hence i am thinking the below approach:
     1) create a web template and include sp doclibs, splists , site columns in this.
     2) i am thinking of a ui design to create the below:
     These are called "projects" which is actually the site collection with the doclibs, splists and must be created by sharepoint admin on click of a link in my landing page.end users access these "projects"  aka 
    "site collections" and uploads the documents into these projects and collaborate.
    so my question is :  On click of a button can I create a site collection with a dedicated content db based on the web template created with the  hel of  server  object model?
    The other approach is on click of this button call the power shell script which accepts the sitecollection name and contentdb name as parameter. is this possible in  server obj.model ?
    passing a paramter from code behind- visual web part ui to power shell ?
    and it should create the site collec based on the web template and create the content db.
    my doubt #3 : will it not throw error "request timed out" when creating the site collec and contentdb from ui ?

    Try below:
    http://sharepoint.stackexchange.com/questions/21606/programmatically-create-a-site-collection-in-an-existing-mounted-content-databa
    PowerShell is just a wrapper for the object model. You shouldn't need to reference PowerShell in your feature, just create the new site collection with C# inside your feature. There's a blog post here that illustrates some code that may get you started.
    http://blog.mastykarz.nl/programmatically-creating-sites-site-collections-custom-web-template/
    http://blogs.msdn.com/b/vesku/archive/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom.aspx
    # Enable the remote site collection creation for on-prem in web application level
    # If this is not done, unknon object exception is raised by the CSOM code
    $WebApplicationUrl = http://dev.contoso.com
    $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'}
    if ($snapin -eq $null)
    Write-Host "Loading SharePoint Powershell Snapin"
    Add-PSSnapin "Microsoft.SharePoint.Powershell"
    $webapp=Get-SPWebApplication $WebApplicationUrl
    $newProxyLibrary = New-Object "Microsoft.SharePoint.Administration.SPClientCallableProxyLibrary"
    $newProxyLibrary.AssemblyName = "Microsoft.Online.SharePoint.Dedicated.TenantAdmin.ServerStub, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    $newProxyLibrary.SupportAppAuthentication = $true
    $webapp.ClientCallableSettings.ProxyLibraries.Add($newProxyLibrary)
    $webapp.Update()
    Write-Host "Successfully added TenantAdmin ServerStub to ClientCallableProxyLibrary."
    # Reset the memory of the web application
    Write-Host "IISReset..."
    Restart-Service W3SVC,WAS -force
    Write-Host "IISReset complete."
    If this helped you resolve your issue, please mark it Answered

  • Error creating new Site in Sharepoint 2013 SP1

    Hello, I am having an issue creating a new Site. The Environment is SharePoint 2013 SP1 Running on Server 2012 R2 DataCenter. This is a fresh install currently running on 2 Servers (App/Web, SQL Server). I successfully install SharePoint and then the Service
    pack, then run configuration to setup the Farm. I successfully am able to setup a Web Application and Create a site collection. When I attempt to navigate to that site collection site on port 80 I get the "Sorry, Something went wrong"
    Below is the ULS associated with the Correlation ID I was given in ULS Viewer.
    05/15/2014 14:49:29.57  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:http://oirwinspvwa08:80/)). Parent No 
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://oirwinspvwa08:80/) b839919c-2676-40cf-8b9a-b4892444c98a
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Micro Trace                    uls4 Medium   Micro Trace Tags: 0 nasq b839919c-2676-40cf-8b9a-b4892444c98a
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://oirwinspvwa08:80/)). Execution Time=5.82092137408525 b839919c-2676-40cf-8b9a-b4892444c98a
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:http://oirwinspvwa08:80/)). Parent No 
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://oirwinspvwa08:80/) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Claims Authentication          ad5sw Unexpected Failed to create instance of cookie value handler type 'Microsoft.SharePoint.IdentityModel.SPSessionSecurityTokenCookieValue'. b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Claims Authentication          ad5su Unexpected Token Cache: Could not get cookie value handler. b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Authentication Authorization   agb9s Medium   Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8nca Medium   Application error when access /, Error=Exception of type 'System.ArgumentException'
    was thrown.  Parameter name: encodedValue   at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity
    claimsIdentity, String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext
    context, String encodedUrl, NameValueCollection headers)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Object oSender, EventArgs ea) ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8nca Medium   ...    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Runtime                        tkau Unexpected System.ArgumentException: Exception of type 'System.ArgumentException' was thrown. 
    Parameter name: encodedValue    at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity
    claimsIdentity, String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext
    context, String encodedUrl, NameValueCollection headers)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Object oSender, EventArgs ea)     at Syste... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Runtime                        tkau Unexpected ...m.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.61  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ajlz0 High     Getting Error Message for Exception System.ArgumentException: Exception
    of type 'System.ArgumentException' was thrown.  Parameter name: encodedValue     at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity
    claimsIdentity, String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext
    context, String encodedUrl, NameValueCollection headers)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Objec... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.61* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ajlz0 High     ...t oSender, EventArgs ea)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.61  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aat87 Monitorable   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.GetPageListId: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPContext.get_ListId()     at Microsoft.SharePoint.SPContext.get_List()     at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page
    page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration,
    Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion,
    String ctag)     at Micros... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...oft.SharePoint.WebControls.ScriptLink.Register(String uiVersion, Control
    ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String
    strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...Boolean localizable, Boolean defer, Boolean loadAfterUI, String language,
    Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer,
    Boolean loadAfterUI, String language, String uiVersion, String ctag)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Co... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...ntrol.LoadRecursive()     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.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath,
    String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)    
    at Microsoft.SharePoint.Utiliti... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...es.SPUtility.TransferToErrorPage(String message, String linkText, String
    linkUrl)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object
    oSender, EventArgs ea)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(Int... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...Ptr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData,
    Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntP... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...tr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_WebTemplateConfiguration()     at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page
    page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration,
    Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion,
    String ctag)     ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...at Microsoft.SharePoint.WebControls.ScriptLink.Register(String uiVersion,
    Control ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String
    strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, Stri... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...ng name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String
    language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean
    defer, Boolean loadAfterUI, String language, String uiVersion, String ctag)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...Web.UI.Control.LoadRecursive()     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.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath,
    String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)    
    at Microsoft.SharePoin... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...t.Utilities.SPUtility.TransferToErrorPage(String message, String linkText,
    String linkUrl)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object
    oSender, EventArgs ea)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationH... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...elper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr
    moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestCont... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...ext, IntPtr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Database                       ahjqp High     [Forced due to logging gap, cached @ 05/15/2014 14:49:29.69, Original
    Level: Verbose] SQL connection time: 16.3469798535847 for Data Source=OIRWINSPVWD09;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][2][SharePoint_Config] b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload()     at Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter
    writer)     at Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     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.P... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...rocessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler
    handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter
    writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)     at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl)    
    at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea)    
    at System.Ev... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...entHandler.Invoke(Object sender, EventArgs e)     at
    System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback
    cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, Requ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...estNotificationStatus& notificationStatus)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload()     at Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter
    writer)     at Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     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.P... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...rocessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler
    handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter
    writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)     at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl)    
    at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea)    
    at System.Ev... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...entHandler.Invoke(Object sender, EventArgs e)     at
    System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback
    cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, Requ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...estNotificationStatus& notificationStatus)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Micro Trace                    uls4 Medium   Micro Trace Tags: 0 nasq,8 ad5sw,0 ad5su,3 agb9s,9 8nca,0 tkau,0 ajlz0,41 aat87,0 aix9j,1 ai1wu,0
    aix9j,0 ai1wu,79 aix9j,0 ai1wu,0 aix9j,0 ai1wu b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://oirwinspvwa08:80/)). Execution Time=155.111054617277 b839919c-2677-40cf-8b9a-bacf488ec831
    I am sure above tells me exactly what is wrong, but I can't decipher it, so I can forward the info to the correct team to fix (we are a very departmentalized organization). I have already completely deleted both servers in the farm and recreated from scratch
    and I get the same error, even tried a 3rd time to remove SP and download the latest patches again.
    Can anyone help?
    Kevin

    did you
    configure the object cache on the web app?
    also do you have user profile services configured, if yes then web App's app pool should have permission on UPA.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Error when trying to create a site collection

    Hi, 
    I receive the following error when trying to create a site collection in sharepoint 2013. Any ideas of what I can do to resolve?
    Sorry, something went wrong
    Failed to call GetTypes on assembly Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.ConnectionUsageDefinition'
    from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.RequestUsageDefinition'
    from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.LoadUsageDefinition'
    from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.UnloadUsageDefinition'
    from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation.
    thanks,
    Sherazad

    Hi  ,
    Based on the error message, please check whether you have installed the spPowerPivot.msi add-in on each of your SharePoint server, and ran the configuration wizard, make sure that the powerpivotwebapplicationsolution.wsp
    is deployed correctly.
    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

  • Search does not crawl new site collection and documents

    We have the following situation. We have two locations with different farms sharing the same databases (using AlwaysOn for the content databases). Everything works fine, the second site is also read-only while having the primary farm online. For existing
    databases the search crawler on the second site is able to crawl existing site collections.
    For new site collections created on the first farm the crawler on the first farm indexes the content proberly. The second farm though is not knowledgable of the content unless you force him to reiterate the content database. After this procedure the sites
    are available on the second site as well (showing them in the web browser), but the search farm still is not able to see the new site collection and data created within.
    Is there any additional iteration we have to go through making the crawler aware of the new structure / content ?
    Thanks in advance, Jens

    Nope.
    Change log wipes are real, that's how incremental crawls work in SharePoint.
    Site A is created and modified. Changes are mirrored to the second AG, content is added, logged in the changes log and then removed as the crawler on the primary farm indexes it.
    This continues until you make farm 2 aware of the changes. At that point farm 2 will look for any changes to the content in the change logs on the newly added sites. Which will be empty, or at least not contain any changes since the primary farm's last crawl.
    That explains why you don't get sites indexed properly when they are added but would explain why some content is indexed afterwards which i believe is the case?
    The second issue you'll find is that the crawls won't synchronise. Assuming continuous crawls kicking off at the same time you'll end up in a race between the two. If the primary farm is quicker then the second farm will continuously fall behind then catch
    up and go ahead of the primary indexing process, but if the secondary farm is faster then it'll race off into the distance and then any changes that occur between the secondary farm indexing a site and the primary indexing the site will be lost on the secondary
    farm.
    You'll have to run full crawls. Unless MS have done a lot of work on the supporting infrastructure incremental or continuous crawls of AOAGs won't work well.

Maybe you are looking for

  • Disable low power wake?

    Hi everybody, is there any way to disable low power wake? Unfortunately, it causes a lot of problems, e.g. TeamViewer, Rowmote, EyeTV refuse to work properly after Wake on LAN because the screen is not turned on again. It's a very annoying feature, e

  • Can I use this for Kindle?

    Hi, I'm considering getting a Kindle and was wondering if it would connect to my intel 20" iMac with system 10.6. 2 through an airport express. I don't own either (Kindle OR airport express) but would buy both if that would work. I don't think where

  • Distinguishing MPEG from ACC with out "Get Info"

    When I convert newly downloaded music to MP3 format I go to "Recently Added" to find the MP3 copy. I then have to go to "Get Info" to figure out which one is the MP3 version. Is there an easier way of doing this? I tried "Display Duplicates" but, bot

  • Converting Colors

    I am a beginner in the artwork world. I have taken a photo, converted it to grayscale, then did a live trace. I then expanded the output and deleted alot of background elements and 1.5 hours later, I saved my file.  My intention is to create a 1 colo

  • IDoc and interface

    hello everybody , can anyone give me  a brief idea on how do IDoc's(SAP)  and mercator tool (non-SAP) talk to each other. any idea would be lot of help. TIA