JoelBlogs - Joel Jeffery's Microsoft 365 Blog

Microsoft 365, SharePoint, Teams and Office 365 Architecture, Development, Administration and Training

  • Home
    • Sitemap
  • #SPThingADay
  • Articles
    • SharePoint Online
      • SharePoint Online – Drag and Drop and Large File Uploads
    • SharePoint 2016
    • SharePoint 2013
      • Content Database Changes to the AllUserData Table
    • SharePoint 2010
      • Administration
        • Disable CRL Checking
        • Excel 2010 & PowerPivot
        • Limits & Thresholds
        • PeoplePicker AD Errors
        • Recycle Bin Behaviour
        • Renaming a Server
        • Service Pack 1
        • Unattended Installs
        • Uninstall All SharePoint 2010 Solutions via PowerShell
        • User Alert Management
        • Virtualised SharePoint
        • Visio Stencils for Administrators
      • Development
        • Audience Membership Workflow Activity
        • Base Types, Lists & Content Types
        • BCS & Offline Sync
        • Debugger Skipping Lines
        • Development Laptop Spec
        • Enabling JavaScript IntelliSense
        • Event Receivers & Deployment Jobs
        • FavIcons & SPUrl
        • Google Maps Sandbox Web Part
        • Group By Content Type for List Views
        • Locale Stapler / Master or Default Locale
        • Removing Default Editor Parts
        • Sandbox Embedding Resources
        • Solution Sandbox Introduction
        • SPPersistedObject
        • Restoring Deleted SPSites in SP1
        • SPWebConfigModification 1
        • SPWebConfigModification 2
        • STSADM copyappbincontent vs. Install-SPApplicationContent
        • Workflows for Beginners
        • Workflow InitiationData Seralizer
    • SharePoint 2007
      • Alternate Access Mappings
      • Excel Services
      • Excel Services UDFs & Excel Client 2007
      • Experiences from the Field
      • InfoPath & Forms Server
      • Kerberos & SSRS
      • Records Management
      • Web Application Service
      • WSS vs MOSS
  • Training
    • SharePoint Admin Links
  • Downloads
    • Summary Slides for PowerPoint
    • CodePlex Projects
      • Audience Membership Workflow Activity
      • Google Maps Sandbox Web Part
      • Group By Content Type in List Views
      • Locale Stapler / Master or Default Locale
      • SharePoint Outlook Connector
  • Hire Me!
    • MCP Transcript
    • Résumé/CV

SharePoint 2010 Developer Courses Live Online (Sep/Oct/Nov 2012)

September 3, 2012 by Joel Jeffery

Hi folks!

Just a quick announcement.

I’m delivering 3 week-long SharePoint 2010 Developer courses based on Microsoft Official Course 10175. It’s all on-line, so delivery is over the web and live!

To attend, you’ll need:

  • a web cam and a headset
  • a Windows PC
  • an Internet connection
  • the free Microsoft Lync Attendee client – or the full Lync client if you have it

There are three dates available:

Book now   24 September 2012 –£1570.00 inc VAT.

Book now   1 October 2012 –£1570.00 inc VAT.

Book now   26 November 2012 –£1570.00 inc VAT.

The courses run from 9:30 to 5:30 UK time, 5 days (Mon-Fri). Attendance is via web cam, over Microsoft Lync/LiveMeeting.

Over the five days, we cover:

  • SharePoint Object Hierarchy
  • Application Pages
  • Development with SharePoint Designer and Visual Studio
  • Declaring List Definitions, List Instances and Fields
  • Packaging SharePoint Solutions
  • Web Parts (Server, Visual and Connected)
  • Server Object Model
  • Creating and Securing Lists and Sites Programmatically
  • Event Receivers – List, Site and Feature Receivers
  • Application Configuration (Editing Web.Config Programmatically)
  • Business Connectivity Service for SharePoint Designer and Visual Studio
  • Declarative SharePoint Workflows
  • Workflow Foundation SharePoint Workflows
  • Client Object Model for JavaScript, .NET and Silverlight
  • Custom Actions and Ribbon Bar Customisations
  • Sandbox Solutions and the User Code Service
  • User Profiles and Taxonomy
  • Pages, Master Pages and Themes

…and more!

Places are limited, so book while there’s space! Smile

Prices include digital Official Curriculum (as PDF files), and access to our online lab environments.

Please feel free to call us on +44 1273 358282 or email us at [email protected]for more information.

Happy SharePointing!

Filed Under: SharePoint 2010 Tagged With: SharePoint 2010 Training, SharePoint Development, Training

Certificate Revocation List Check and SharePoint 2010 without an Internet Connection

September 20, 2011 by Joel Jeffery

UPDATED: Fix Slow SharePoint 2010 System Performance with the CRL Check

Sometimes you need to install SharePoint 2010 in an environment where the servers do not have an effective Internet connection. This posses a big problem.

Most Microsoft assemblies and DLLs are digitally signed. Each time signed assemblies are loaded, default system behaviour is to check with the owner of the root certificate that the cert with which the assembly was signed is still valid. In the case of Microsoft assemblies, this means “phoning home” to read the Certificate Revocation List at crl.microsoft.com .

Whilst this is all very well and good if you have an Internet connection, sometimes you don’t have this luxury. Many web servers, for instance, don’t have outbound Internet accessibility. The CRL check will attempt to connect to Microsoft’s servers and then timeout, usually within 30-60 seconds.

With SharePoint, you’ll get a lot of delays in this scenario. One way to check if your server is affected by this condition is to open up a SharePoint Management Console PowerShell window and run the “STSADM -help” command. If it takes 30 seconds or more to display the usage instructions, then you will be experiencing really slow server performance.

See how long STSADM takes to load

Disabling the CRL Check

There are three workarounds to this problem, in reverse order of preference:

  1. Give your servers an outbound Internet connection
  2. Edit the hosts file at “%SYSTEMROOT%\\System32\\drivers\\etc\\hosts” to fool the CRL check into thinking your local machine is crl.microsoft.com by pointing it at 127.0.0.1 (localhost):
    Editing the HOSTS file in Notepad
  3. Edit the registry to disable CRL checking by setting the State DWORD to 146944 decimal (SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WinTrust\\Trust Providers\\Software Publishing for both HKEY_USERS\\.DEFAULT and HKEY_CURRENT_USER) with the following lines of PowerShell:
    #the following statement goes on one line
    set-ItemProperty -path "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion
    \\WinTrust\\Trust Providers\\Software Publishing" 
     -name State -value 146944
    
    #the following statement goes on one line also
    set-ItemProperty -path "REGISTRY::\\HKEY_USERS\\.Default\\Software\\Microsoft
    \\Windows\\CurrentVersion\\WinTrust\\Trust Providers\\Software Publishing" 
     -name State -value 146944
    
    #UPDATED: and the following statement goes on one line too
    get-ChildItem REGISTRY::HKEY_USERS | foreach-object {set-ItemProperty -ErrorAction 
    silentlycontinue -path ($_.Name + "\\Software\\Microsoft
    \\Windows\\CurrentVersion\\WinTrust\\Trust Providers\\Software Publishing") 
    -name State -value 146944}
  4. UPDATED: Edit the machine.configs and disable it there. There’s a nice piece of code from the most excellent AutoSPInstaller (autospinstaller.codeplex.com) that does this:
  5. Write-Host -ForegroundColor White " - Disabling Certificate Revocation List (CRL) check..."
    ForEach($bitsize in ("","64")) 
    {            
      $xml = [xml](Get-Content $env:windir\\Microsoft.NET\\Framework$bitsize\\v2.0.50727\\CONFIG\\Machine.config)
      If (!$xml.DocumentElement.SelectSingleNode("runtime")) { 
        $runtime = $xml.CreateElement("runtime")
        $xml.DocumentElement.AppendChild($runtime) | Out-Null
      }
      If (!$xml.DocumentElement.SelectSingleNode("runtime/generatePublisherEvidence")) {
        $gpe = $xml.CreateElement("generatePublisherEvidence")
        $xml.DocumentElement.SelectSingleNode("runtime").AppendChild($gpe)  | Out-Null
      }
      $xml.DocumentElement.SelectSingleNode("runtime/generatePublisherEvidence").SetAttribute("enabled","false")  | Out-Null
      $xml.Save("$env:windir\\Microsoft.NET\\Framework$bitsize\\v2.0.50727\\CONFIG\\Machine.config")
    }

Method 3 is the preferred method, and should have things loading about as quickly as possible. UPDATED: Method 4 is more likely to work, but you’re editing some pretty important files there, so be careful!

UPDATED: You can download a script that combines these methods here: http://static.joelblogs.co.uk/uploads/2012/03/Disable-CRLCheckv2.zip.

As usual, no warranty etc etc, use at your own discretion!

Filed Under: SharePoint 2010 Tagged With: SharePoint, SharePoint 2010 Training, SharePoint Administration, SharePoint Administrator

Next Page »

Joel is a full-stack cloud architect who codes. He is a Microsoft Certified SharePoint Online, SharePoint Server and Azure specialist and Microsoft Certified Trainer.
He has over 20 years' experience with SharePoint and the Microsoft .NET Framework.
He's also co-founder of Microsoft Gold Partner JFDI Consulting Ltd. Read More…

#SPThingADay

#spthingaday

View
Open
#spthingaday 001 - Governance. Avoid death by file #spthingaday 001 - Governance. Avoid death by fileshare #SharePoint, Teams, Planner and #Office365 projects need executive sponsorship.

#microsoft #microsoftoffice #microsoftsharepoint #microsofttraining #officetraining #freetraining #trainingvideos #contentmanagement #enterprisecontentmanagement

#spthingaday 001 - Governance. Avoid death by fileshare #SharePoint, Teams, Planner and #Office365 projects need executive sponsorship.

#microsoft #microsoftoffice #microsoftsharepoint #microsofttraining #officetraining #freetraining #trainingvideos #contentmanagement #enterprisecontentmanagement
...

15 0

View
Open
#spthingaday 003 - Information Architecture. Folde #spthingaday 003 - Information Architecture. Folders are evil. Use metadata.  #SharePoint, #Office365..
On a fileshare, all you have is path and filename. That's the only axis by which you can classify your stuff. So you nest folders, within folders, within folders. Then you pack the filename with extra bits of information - like the initials of the last editor, or the version number. 
You don't need to do this in SharePoint. Use metadata. 
Add columns to your libraries. Text columns, number columns, choice columns, managed metadata columns. Each file can have several of these values simultaneously. But a file can only live in one folder at a time. 
Use metadata.

#microsoft #microsoftoffice #microsoftsharepoint #microsofttraining #officetraining #freetraining #trainingvideos #contentmanagement #enterprisecontentmanagement

#spthingaday 003 - Information Architecture. Folders are evil. Use metadata. #SharePoint, #Office365..
On a fileshare, all you have is path and filename. That's the only axis by which you can classify your stuff. So you nest folders, within folders, within folders. Then you pack the filename with extra bits of information - like the initials of the last editor, or the version number.
You don't need to do this in SharePoint. Use metadata.
Add columns to your libraries. Text columns, number columns, choice columns, managed metadata columns. Each file can have several of these values simultaneously. But a file can only live in one folder at a time.
Use metadata.

#microsoft #microsoftoffice #microsoftsharepoint #microsofttraining #officetraining #freetraining #trainingvideos #contentmanagement #enterprisecontentmanagement
...

14 0

View
Open
#spthingaday 006 - Information Architecture. Site #spthingaday 006 - Information Architecture. Site Columns.  #SharePoint, #Office365, #InformationArchitecture.. Once you've chosen a column type, you can create that column again and again, on as many Lists and Libraries as you like. But each time you do that, you run the risk of introducing a typo or getting a setting wrong.

Cut down on the typing and the typos by using Site Columns instead. You can create a Site Column once, and reuse it on as many Lists and Libraries as you like. Once created, you can use your Site Column within the current site and below. For maximum reuse, create Site Columns at the root web or top-level site in your Site Collection.

When naming your Site Column, don't put spaces in the title. The internal name of a Site Column has spaces replaced with the ungainly string "_x0020_". This causes developers lots of headaches later. By all means rename/retitle your Site Column with proper spaces, if you want to, after you've created it.

Site Columns help with consistency, but for the biggest return on investment, use them with Content Types.

We'll talk about that those tomorrow.

#microsoft #microsoftoffice #microsoftsharepoint #microsofttraining #officetraining #freetraining #trainingvideos #contentmanagement #enterprisecontentmanagement

#spthingaday 006 - Information Architecture. Site Columns. #SharePoint, #Office365, #InformationArchitecture.. Once you've chosen a column type, you can create that column again and again, on as many Lists and Libraries as you like. But each time you do that, you run the risk of introducing a typo or getting a setting wrong.

Cut down on the typing and the typos by using Site Columns instead. You can create a Site Column once, and reuse it on as many Lists and Libraries as you like. Once created, you can use your Site Column within the current site and below. For maximum reuse, create Site Columns at the root web or top-level site in your Site Collection.

When naming your Site Column, don't put spaces in the title. The internal name of a Site Column has spaces replaced with the ungainly string "_x0020_". This causes developers lots of headaches later. By all means rename/retitle your Site Column with proper spaces, if you want to, after you've created it.

Site Columns help with consistency, but for the biggest return on investment, use them with Content Types.

We'll talk about that those tomorrow.

#microsoft #microsoftoffice #microsoftsharepoint #microsofttraining #officetraining #freetraining #trainingvideos #contentmanagement #enterprisecontentmanagement
...

14 0
Load More...

Recent Posts

  • Course: Microsoft 365 Certified Teamwork Administrator
  • Audience Targeted Searches in Modern SharePoint Online
  • SharePoint Thing a Day – 073 – SharePoint Information Architecture. Content Type Hub Gotchas
  • SharePoint Thing a Day – 072 – SharePoint Information Architecture. The Content Type Hub
  • SharePoint Thing a Day – 071 – SharePoint Information Architecture. Content Type Management Options.
MCT 2020-2021
Microsoft Teamwork Administrator Associate
Joel's Acclaim Profile
Joel's Microsoft Profile

Tags

Administration Architecture Certification Cloud Development Information Architecture intranets MCP Microsoft Microsoft Architecture Microsoft Azure migration Mobile Development MOSS MOSS 2007 office365 Office 365 Office 365 PowerShell SaaS SharePoint SharePoint 2010 SharePoint 2010 Training SharePoint 2013 SharePoint Administration SharePoint Administrator SharePoint Architecture SharePoint Designer 2010 SharePoint Developer SharePoint Development SharePoint Online sharepointonline SharePoint Search SharePoint Training SharePoint Videos Silverlight SOA Solution Sandbox SPThingADay TechEd 2007 Training Videos Visual Studio 2010 Windows Phone 7 WSS
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright © 2020 Joel Jeffery, SharePoint Architect