TwitterLinkedInBlog

Thursday, April 25, 2013

Comments

HTML Comments:
<!-- stuff -->

ASP.NET Comments:
<%-- stuff --%>

Friday, April 19, 2013

Restore a Site to the same Content Database with Gradual Site Delete

Looks like in order to restore a site to the same Content Database, one must perform the following steps after deleting the site:

1. get-spdeletedsite -webapplication http://samplesite.com | Remove-SPDeletedSite

2. Central Administration > 'Monitoring' > 'Review job definitions' > 'Gradual Site Delete' (For the appropriate Web Application) > 'Run Now' button.


References:
http://reality-tech.com/2012/04/04/gradual-site-collection-deletion/

Thursday, April 18, 2013

Things to try when Content Deployment hangs

FYI - There's this list in Central Administration:
http://server/Lists/Content%20Deployment%20Jobs/AllItems.aspx


Restart the timer service on each web server:
With PowerShell:
$serviceName = "SPTimerV4"
$serverNames = get-content "ServerNames.txt"
foreach ($serverName in $serverNames)
{
write-host "Restarting SharePoint Timer service on" $serverName
$serviceObj = Get-Service -Name $serviceName -ComputerName $serverName -ErrorAction Stop
Restart-Service -InputObj $serviceObj -erroraction stop
}

Clear the SharePoint Configuration Cache
Adapted from http://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx
Stop the OWSTIMER service on ALL of the MOSS servers in the farm.
C:\ProgramData\Microsoft\SharePoint\Config\GUID\
NOTE: ONLY THE XML FILES, NOT THE .INI FILE: Delete all the XML file in the directory.
Open the cache.ini with Notepad and reset the number to 1. Save and close the file.
Start the OWSTIMER service on the Index server and wait for XML files to begin to reappear in the directory.
After you see XML files appearing, repeat steps 2, 3 & 4 on each server, waiting for XML files to appear before moving to subsequent servers.


Check the ULS Logs


Check the Windows Error Logs
There might be a SQL Server error, for example.


Delete the Destination Site Collection
Delete the destination Site Collection
get-spdeletedsite -webapplication http://samplesite.com | Remove-SPDeletedSite
Central Administration > 'Monitoring' > 'Review job definitions' > 'Gradual Site Delete' http://samplesite.com > 'Run Now' button.
Re-create the site collection with no template.
Delete the Content Deployment Path
Re-create the Content Deployment Path
Re-create the Content Deployment Job
Run Content Deployment Test
Run Content Deployment.


References:
http://blogs.technet.com/b/stefan_gossner/archive/2010/04/08/content-deployment-the-complete-guide-part-9-timerjobs.aspx
http://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx
http://blogs.technet.com/b/stefan_gossner/archive/2009/01/16/content-deployment-best-practices.aspx?PageIndex=2
http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx

Friday, April 12, 2013

Delete Users from Site Collection

/_layouts/people.aspx?MembershipGroupId=0 > Check the user's checkbox > 'Actions' dropdown > 'Delete Users from Site Collection'

Wednesday, April 10, 2013

MCSM SharePoint 2013 Recommended Reading List - Just the Links

http://technet.microsoft.com/en-US/sharepoint/fp123594
http://technet.microsoft.com/en-us/sharepoint/fp142374
http://technet.microsoft.com/en-US/sharepoint/fp142376
http://technet.microsoft.com/en-US/sharepoint/jj898538
http://technet.microsoft.com/en-US/sharepoint/fp142375
http://technet.microsoft.com/en-US/sharepoint/jj672838
http://technet.microsoft.com/en-US/sharepoint/jj556245
http://technet.microsoft.com/en-US/sharepoint/fp123606
http://msdn.microsoft.com/en-US/sharepoint/fp123633
http://msdn.microsoft.com/en-us/library/jj163264(v=office.15).aspx
http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj655398(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/fp179927(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/fp142382(v=office.15).aspx
http://technet.microsoft.com/en-us/library/fp161237(v=office.15).aspx#AppPolicy
http://blogs.technet.com/b/speschka/archive/2012/09/03/planning-the-infrastructure-required-for-the-new-app-model-in-sharepoint-2013.aspx
http://social.msdn.microsoft.com/Forums/en-US/appsforsharepoint/thread/beb89f59-1595-4bfa-a77f-89fe8a67a4d9
http://msdn.microsoft.com/en-us/library/fp179932(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/jj841104.aspx
http://msdn.microsoft.com/en-us/library/fp179896.aspx
http://msdn.microsoft.com/en-us/library/ee535894(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/gg252020.aspx
http://technet.microsoft.com/en-us/library/ee806864(v=office.15).aspx
http://technet.microsoft.com/en-us/library/cc738766(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj219657(v=office.15).aspx
http://technet.microsoft.com/en-us/library/ff829835(v=office.15).aspx
http://onlinehelp.microsoft.com/en-us/office365-enterprises/ff637606.aspx
http://support.microsoft.com/kb/158148
http://support.microsoft.com/kb/246118
http://www.microsoft.com/en-us/download/details.aspx?id=27569
http://www.wictorwilen.se/introducing-the-sharepoint-2010-get-spclaimtypeencoding-and-new-spclaimtypeencoding-cmdlets
http://technet.microsoft.com/en-us/library/fp161350(v=office.15).aspx
http://onlinehelp.microsoft.com/en-us/office365-enterprises/ff652539.aspx
http://technet.microsoft.com/en-us/library/ee806870(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj219546(v=office.15).aspx#trust
http://onlinehelp.microsoft.com/en-us/Office365-enterprises/ff652540.aspx
http://www.microsoft.com/en-us/download/details.aspx?id=21820
http://sharepoint.microsoft.com/blog/Pages/BlogPost.aspx?pID=1048
http://blogs.msdn.com/b/bcs/archive/2010/03/12/authenticating-to-your-external-system.aspx
http://msdn.microsoft.com/en-us/library/bb802753.aspx
http://blogs.msdn.com/b/bcs/archive/2010/02/16/bcs-powershell-introduction-and-throttle-management.aspx
http://msdn.microsoft.com/en-us/library/ff464398.aspx
http://msdn.microsoft.com/en-us/library/ff953161.aspx
http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/07/30/deploy-your-bdc-model-to-a-specific-bcs-service-using-visual-studio-2010.aspx
http://msdn.microsoft.com/en-us/library/ee231528(v=vs.110).aspx
http://msdn.microsoft.com/en-us/library/ee554911%28office.14%29.aspx
http://technet.microsoft.com/en-us/library/ee524073.aspx
http://msdn.microsoft.com/en-us/library/ff428185(v=azure.10).aspx
http://technet.microsoft.com/en-us/library/ee661740(v=office.15).aspx
http://technet.microsoft.com/en-us/library/fp161238.aspx
http://blogs.msdn.com/b/bcs/archive/2010/02/10/working-with-complex-data-types-in-business-connectivity-services.aspx
http://technet.microsoft.com/en-us/library/cc770229.aspx
http://msdn.microsoft.com/en-us/library/ms243155.aspx
http://technet.microsoft.com/en-us/library/ff758659.aspx
http://technet.microsoft.com/en-us/library/cc261797.aspx
http://msdn.microsoft.com/en-us/library/ee557257.aspx
http://technet.microsoft.com/en-us/library/ee748636
http://msdn.microsoft.com/en-us/library/ff647791.aspx
http://msdn.microsoft.com/en-us/library/ee535537(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/ms998581.aspx
http://msdn.microsoft.com/en-us/library/ms998583.aspx
http://go.microsoft.com/fwlink?LinkId=95450
http://msdn.microsoft.com/en-us/library/ee558807.aspx
http://technet.microsoft.com/en-us/library/ff758645
http://technet.microsoft.com/en-us/library/ff758647.aspx
http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx
http://technet.microsoft.com/en-us/library/fp161514(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj218665%28v=exchg.150%29
http://blogs.technet.com/b/speschka/archive/2012/07/27/configuring-self-service-site-creation-in-sharepoint-2013.aspx
http://msdn.microsoft.com/en-us/library/ee559302.aspx
http://msdn.microsoft.com/en-us/library/jj163267%28v=office.15%29.aspx
http://technet.microsoft.com/en-us/library/aa998599(v=exchg.150).aspx
http://technet.microsoft.com/en-us/library/jj219569(v=office.15).aspx
http://technet.microsoft.com/en-us/library/cc263464.aspx
http://www.sharepointconfig.com/2011/03/the-complete-guide-to-provisioning-sharepoint-2010-managed-metadata-fields/
http://technet.microsoft.com/en-us/library/ee424394(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/jj163233(v=office.15).aspx
http://technet.microsoft.com/en-us/library/cc261708.aspx
http://blogs.technet.com/b/wbaer/archive/2007/07/06/requests-per-second-required-for-sharepoint-products-and-technologies.aspx
http://blogs.technet.com/b/speschka/archive/2012/09/14/working-with-request-manager-in-sharepoint-2013.aspx
http://technet.microsoft.com/en-us/library/jj554516(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj712708.aspx
http://technet.microsoft.com/en-us/library/ee794878(v=office.15).aspx
http://technet.microsoft.com/en-us/library/cc678868.aspx
http://www.harbar.net/archive/2009/07/02/disableloopbackcheck-amp-sharepoint-what-every-admin-and-developer-should-know.aspx
http://office.microsoft.com/en-us/sharepoint-help/discontinued-features-and-modified-functionality-in-microsoft-sharepoint-2013-preview-HA102892827.aspx#_Toc330374495
http://technet.microsoft.com/en-us/library/gg441257.aspx
http://technet.microsoft.com/en-us/library/cc262485(v=office.15).aspx
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=27580
http://www.microsoft.com/en-us/download/details.aspx?id=27580
http://technet.microsoft.com/en-us/library/ee662513.aspx
http://technet.microsoft.com/en-us/library/cc262108(v=office.15).aspx
http://technet.microsoft.com/en-US/library/jj219613(v=office.15).aspx
http://www.harbar.net/articles/sp2013mt.aspx
http://www.microsoft.com/en-us/download/details.aspx?id=13602
http://technet.microsoft.com/en-us/library/cc263099(v=office.12).aspx
http://technet.microsoft.com/en-us/library/jj219572(v=office.15).aspx
http://technet.microsoft.com/en-us/library/gg610505.aspx#planAccess
http://technet.microsoft.com/en-US/library/ff829836(v=office.15).aspx
http://www.harbar.net/articles/sp2010mt1.aspx
http://www.harbar.net/articles/sp2013rm1.aspx
http://technet.microsoft.com/en-us/library/cc754702(v=WS.10).aspx
http://www.microsoft.com/en-us/download/details.aspx?id=30402
http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/share-a-site-with-external-users-HA102476183.aspx
http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx
http://technet.microsoft.com/en-us/library/cc263199.aspx
http://office.microsoft.com/en-us/sharepoint-workspace/update-office-2013-to-run-with-sharepoint-workspace-2010-HA103449081.aspx
http://support.microsoft.com/kb/952167
http://technet.microsoft.com/en-us/library/cc753531(v=WS.10).aspx
http://technet.microsoft.com/en-us/library/d2c04073-0b0e-42d0-9c75-c7cd91d1625a(office.15).aspx
http://sharepointchick.com/archive/0001/01/01/copy-sharepoint-production-data-to-a-test-environment.aspx
http://www.microsoft.com/mspress/books/4293.aspx
http://technet.microsoft.com/en-us/library/gg295330.aspx
http://technet.microsoft.com/en-us/library/cc262849
http://blogs.technet.com/b/speschka/archive/2012/09/03/planning-the-infrastructure-required-for-the-new-app-model-in-sharepoint-2013.aspx
http://technet.microsoft.com/en-us/library/ff730256(v=office.14).aspx
http://technet.microsoft.com/en-us/library/ff730261.aspx
http://technet.microsoft.com/en-us/library/dd861393.aspx
http://technet.microsoft.com/en-us/library/cc678863.aspx
http://www.harbar.net/archive/2010/02/12/groundhog-day-configuring-back-connection-host-names-using-group-policy.aspx
http://www.harbar.net/articles/spca.aspx
http://msdn.microsoft.com/en-us/library/jj163973(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj683115.aspx
http://msdn.microsoft.com/en-us/library/jj163789(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj219480(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/jj163968
http://msdn.microsoft.com/en-us/library/jj163968(v=office.15)
http://blogs.msdn.com/b/sharepointdev/archive/2012/11/13/customize-the-sharepoint-2013-search-experience-with-a-content-enrichment-web-service.aspx
http://blogs.msdn.com/b/sharepointdev/archive/2012/11/13/customize-the-sharepoint-2013-search-experience-with-a-content-enrichment-web-service.aspx
http://technet.microsoft.com/en-us/library/hh582311(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/jj163982.aspx
http://msdn.microsoft.com/en-us/library/jj163982(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/jj720398(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj871676.aspx
http://technet.microsoft.com/en-us/library/jj219705(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj219554(v=office.15).aspx#BKMK_SearchAnalytics
http://technet.microsoft.com/en-us/library/jj219738(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj219669(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj219620
http://technet.microsoft.com/en-us/library/jj683123
http://msdn.microsoft.com/en-us/library/ee558793.aspx
http://technet.microsoft.com/en-us/library/jj219628(v=office.15).aspx
http://blogs.msdn.com/b/nadeemis/archive/2012/08/24/sharepoint-2013-search-rest-api.aspx
http://msdn.microsoft.com/en-us/library/jj163983
http://technet.microsoft.com/en-us/library/ee906563(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/ee558911.aspx
http://msdn.microsoft.com/en-us/library/ms463449(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/gg543112.aspx
http://msdn.microsoft.com/en-us/library/aa979683.aspx
http://msdn.microsoft.com/en-us/magazine/ee335711.aspx
http://msdn.microsoft.com/en-us/library/ff382738(v=office.12).aspx
http://msdn.microsoft.com/en-us/ff622991.aspx
http://msdn.microsoft.com/en-us/library/aa543576.aspx
http://msdn.microsoft.com/en-us/library/ff408263.aspx
http://www.odata.org/ecosystem
http://technet.microsoft.com/en-us/library/cc707802.aspx
http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/Post.aspx?ID=318
http://technet.microsoft.com/en-us/library/ee721992.aspx
http://spg.codeplex.com/
http://blogs.msdn.com/b/vesku/archive/2010/02/01/sharepoint-2010-team-development-environment.aspx
http://blogs.msdn.com/b/nadeemis/archive/2012/08/24/sharepoint-2013-search-rest-api.aspx
http://msdn.microsoft.com/en-us/library/gg317460.aspx
http://msdn.microsoft.com/en-us/library/ms474369.aspx
http://msdn.microsoft.com/en-us/library/ff664569(v=pandp.50).aspx
http://technet.microsoft.com/en-us/library/ee721061.aspx
http://technet.microsoft.com/en-us/library/jj219568(v=office.15).aspx
http://technet.microsoft.com/en-us/library/ee624362(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj219646(v=office.15).aspx
http://www.harbar.net/archive/2012/07/23/sp13adi.aspx
http://msdn.microsoft.com/en-us/library/jj164025.aspx
http://blogs.msdn.com/b/alimaz/archive/2011/02/20/importing-sharepoint-user-profile-multi-value-properties-using-bcs.aspx
http://technet.microsoft.com/en-us/library/jj219560.aspx
http://technet.microsoft.com/en-us/library/cc263115(v=office.12).aspx
http://technet.microsoft.com/en-us/library/jj219700
http://technet.microsoft.com/en-us/library/jj219489(v=office.15).aspx
http://technet.microsoft.com/en-us/library/ff182925(v=office.15).aspx
http://blog.aptillon.com/2012/12/10/sharepoint-2013-jsom-and-social-api/
http://www.harbar.net/articles/sp2010upsedir.aspx
http://blogs.office.com/b/microsoft-access/archive/2012/08/08/access-2013-and-sql-server.aspx
http://technet.microsoft.com/en-us/library/hh510230.aspx
http://msdn.microsoft.com/en-us/library/hh213417.aspx#SSLcertificates
http://technet.microsoft.com/en-us/library/hh510260.aspx
http://technet.microsoft.com/en-us/library/dd890507(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/ms175935(v=SQL.105).aspx
http://technet.microsoft.com/en-us/library/cc262731.aspx
http://technet.microsoft.com/en-us/library/ms189067(v=SQL.105).aspx
http://msdn.microsoft.com/en-us/library/cc645993(v=sql.105).aspx
http://support.microsoft.com/kb/2659143
http://technet.microsoft.com/en-us/library/cc770689(v=ws.10).aspx
http://support.microsoft.com/kb/2663912
http://msdn.microsoft.com/en-us/library/ff878487.aspx
http://msdn.microsoft.com/en-us/library/ms178067.aspx
http://technet.microsoft.com/en-us/library/cc298801.aspx
http://msdn.microsoft.com/en-us/library/bb934049(v=SQL.110).aspx
http://msdn.microsoft.com/en-us/library/cc949109(SQL.100).aspx
http://msdn.microsoft.com/en-us/library/jj193534(v=azure.10).aspx
http://msdn.microsoft.com/en-us/library/windowsazure/jj730570(v=azure.10).aspx
http://research.microsoft.com/apps/pubs/default.aspx?id=64525
http://technet.microsoft.com/en-us/library/jj715261.aspx
http://technet.microsoft.com/en-us/library/ms189852.aspx
http://technet.microsoft.com/en-us/library/ms190202.aspx
http://technet.microsoft.com/en-us/library/ms187103.aspx
http://technet.microsoft.com/en-us/library/cc261992(v=office.15)
http://technet.microsoft.com/en-us/library/jj219599(v=office.15).aspx
http://technet.microsoft.com/en-us/library/cc262891(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj219648(v=office.15)
http://technet.microsoft.com/en-us/library/cc303435(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj553772(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/jj163225(v=office.15).aspx
http://www.wictorwilen.se/sharepoint-2013---introduction-to-the-minimal-download-strategy-mds
http://msdn.microsoft.com/en-us/library/jj163949(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/jj191506(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj635877(v=office.15).aspx
http://technet.microsoft.com/en-us/library/ee414275.aspx
http://technet.microsoft.com/en-us/library/jj635879(v=office.15).aspx
http://blog.mastykarz.nl/search-engine-optimization-sharepoint-2013/
http://technet.microsoft.com/en-us/library/jj219688(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj658586(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/jj163199.aspx
http://msdn.microsoft.com/en-us/library/jj163917.aspx
http://msdn.microsoft.com/en-us/library/jj554503.aspx
http://msdn.microsoft.com/en-us/library/jj193462(v=azure.10).aspx
http://technet.microsoft.com/en-us/library/jj193458.aspx
http://msdn.microsoft.com/en-us/library/hh367516.aspx
http://www.wictorwilen.se/sharing-a-workflow-manager-1.0-farm-between-multiple-sharepoint-2013-farms
http://msdn.microsoft.com/en-us/library/jj193012.aspx
http://code.msdn.microsoft.com/SharePoint-2013-workflow-050f5211
http://msdn.microsoft.com/en-us/library/jj163181
http://technet.microsoft.com/en-us/library/jj658588.aspx
http://msdn.microsoft.com/en-us/library/jj554504.aspx
http://technet.microsoft.com/en-us/library/jj193001
http://technet.microsoft.com/en-us/library/jj193529.aspx
http://msdn.microsoft.com/en-us/library/jj193482(v=azure.10)
http://msdn.microsoft.com/en-us/library/windowsazure/jj193527(v=azure.10).aspx
http://technet.microsoft.com/en-us/library/jj730570.aspx
http://download.microsoft.com/download/4/2/6/4264E29D-9B40-405B-B04D-8AA2FBEB0046/MicrosoftWorkflowManagerMPGuide.doc
http://msdn.microsoft.com/en-us/library/windowsazure/jj193456(v=azure.10).aspx
http://msdn.microsoft.com/en-us/library/windowsazure/jj193451.aspx
http://msdn.microsoft.com/en-us/library/jj163929(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/jj670125.aspx