Anonymous Form Submission with SharePoint 2010

I had a colleague ask me for help regarding anonymous form submission to a SharePoint 2010 list.  At first this had me scratching my head, all the permissions were set correctly, however after sleeping on the problem I realised I had seen exactly this before, and if I’d seen it before maybe I had blogged about it?

Well it turns out I had, however it had not come across from the migration from the old blogging platform I had previously used to WordPress when I came over here about 18 months ago.  A quick republish and was online.

Fortunately the bulk of this article is still valid, however as it is SharePoint 2010 it makes more sense to do this operation in PowerShell :

In case the text isn’t clear :

Get-SPFeature -Site | ?{$_.DisplayName -like “*lock*”}
Disable-SPFeature -id <<Insert ID from Previous Command>> -Url

The only “Gotcha” with this is that much like in MOSS 2007 you must toggle your Anonymous access settings before this will take effect.  To do this, I quickly set the anonymous access on the site collection to “Nothing” then immediately set it to “Entire Web Site”


TechEd 2011 Wrap Up

As many people will know we just wrapped up another TechEd Australia for 2011.  This year was one of the best TechEds I have been to, but I may be biased as I felt this year had a huge IT Pro focus – something that I felt had been neglected in recent years and which made me really keen to attend next year, as I think with Windows 8 technology on the horizon, it is going to be amazing!

Some of the highlights for me were the Keynote.  Purely as an attendee in the IT Pro plenary keynote, I felt somewhat special as we were shown information on the next version of Windows which had not yet been released to the public.  There are some videos with more information on some of this that can be found here courtesy of Alan Burchill’s SmarterGeek site.

I was also lucky enough to get the opportunity to present on Private Clouds and System Center Virtual Machine Manager 2012 in my session “From Bare Metal to Silver Lining with SCVMM 2012… Today!“.

Have you wondered what it would take to build your own private cloud? Going from bare metal to Hyper-V to a Cloud used to take a significant amount of time and expertise, but with the soon-to-be-released System Center Virtual Machine Manager 2012, building a private cloud is easy and inexpensive, and with the beta of SCVMM 2012 you can do it right now!

 Join Mark Rhodes as he demonstrates provisioning of a Private Cloud, taking a blank server from Bare Metal to Silver Lining. This session will explain the core technologies of Data Center Fabric and Private Clouds with Hyper-V R2 and SCVMM 2012, and include comprehensive demonstrations of all of the steps necessary for you to go home and build your organization a Private Cloud, today!

If you are interested in catching this session, I will be presenting at the Brisbane Infrastructure Group on Monday evening.  More information and a link to RSVP can be found here.  Hope to see you there.

If you are interested in seeing the session, you can view a recording, however I strongly recommend coming along as its not really the same thing!

SharePoint Server MVP 2011!

Took me a few days to blog this (I twittered and facebooked it) but better late than never,  I am thrilled to announce I have been given a SharePoint Server MVP Award for 2011!

I love working with everyone in the community, so a huge thank you to everyone out there for making SharePoint such a cool community to work within 🙂

Presenting on Private Clouds at TechEd Australia 2011

I will be presenting this year at TechEd, this session is a continuation on the themes I have presented on in 2010 at both TechEd Australia 2010 and also the Brisbane Infrastructure Group on System Center Virtual Machine Manager 2008 R2 and “Cloud Secret Sauce and what you can cook with it” (with Ben Fletcher)

The session I am presenting is titled “Turn Bare Metal into Silver Lining with SCVMM 2012…Today!”

Turn Bare Metal into Silver Lining with SCVMM 2012…Today!

Have you wondered what it would take to build your own private cloud? Going from bare metal to Hyper-V to a Cloud used to take a significant amount of time and expertise, but with the soon-to-be-released System Center Virtual Machine Manager 2012, building a private cloud is easy and inexpensive, and with the beta of SCVMM 2012 you can do it right now! .

Join James Bannan and Mark Rhodes as they perform a live provision of a Private Cloud, taking a blank server from Bare Metal to Silver Lining. This session will explain the core technologies of Data Center Fabric and Private Clouds with Hyper-V R2 and SCVMM 2012, and include comprehensive live demonstrations of all of the steps necessary for you to go home and build your organization a Private Cloud, today!

Hope to see you there!  Don’t forget that if you are a member of a local usergroup you can grab a heavily discounted TechEd ticket by contacting your local user group leader.  If you are a member of the Brisbane SharePoint User Group, please feel free to contact me for more information.

Cannot access User Profile Service Application after provisioning Synchronization Service

If you are having problems accessing the User Profile Service Application after you provision the User Profile Synchronization Service, such as the receiving the following rather unhelpful Correlation ID when trying to access the User Profile Service Application :

The answer is nice and easy – just perform an IIS Reset.  For some reason if you have Central Administration on the same server, you will not be able to access the User Profile Service Application management area until you do an IISreset.  This is one of the steps mentioned in Spence Harbar‘s excellent article on setting up the User Profile Synchronization but it still manages to catch me out from time to time.

In the event you are having other problems with User Profile Synchronization I recommend you visit the blog post I mentioned earlier, it is effectively the bible for setting up User Profile Synch.

Repairing missing My Site and My Profile links in SharePoint 2010

Recently came across a very odd issue where the My Site and My Profile links were missing from the User Menu – thats the little drop box with your username on it in the top right corner of a SharePoint 2010 site.

Interestingly enough, they were both visible within Central Administration, but not on any of the child site collections.

To get this working I had to check or modify the following items :

  1. Make sure the Social Tags and Note Board Ribbon Controls Farm Feature is Enabled.
  2. Make sure the User Profile Service Application is associated with your Web Application.
  3. Make sure the User Permissions are set appropriately in the User Profile Service Application.
  4. Finally if its still not showing up, try toggling the Self Service Site Creation on.  Refresh your site, and then toggle it back off.I dont really understand why this works, but it seems to for two of my farms.

And now with those steps you should be able to see the My Sites and My Profile link in your User menu.

Fixing an orphaned Site Collection within Project Server 2010

I had the pleasure of getting to know Project Server 2010 a couple of months ago.  I am a big fan of the way this has been implemeneted, as a SharePoint 2010 Service Application based approach seems to make more sense than a completely seperate product.

During this installation I found out a few interesting things about Project Server :

  1. Do not try using Claim Based Authentication on your Project Server Web Application. It may look like it is working, but I assure you it is not.  Clicking around some of the less obvious areas of the site will probably reveal it is not working.
  2. Never, ever delete a /PWA Site Collection for any reason.  They look just like a normal SharePoint Site Collection, but doing this will leave you with an orphaned PWA site and will leave you scratching your head.  This also implies that PWA site collections cannot be backed up and restored by conventional SharePoint Site Collection Backups.
  3. If you try to convert Claims back to Classic mode (which is not supported), you will likely just break your PWA instance.

There is no really clear cut way to recover from an orphaned Site Collection, and it becomes a real pain as you cannot retract the PWA Service Application until you fix the orphaned Site Collection.

The short verison is it can be done with PowerShell with the following script :

$psi = get-spserviceapplication | where {$_.TypeName -like “*Project*”}
$a = $psi.Sitecollection | where {$_.SiteID -eq “0ce62ac4-d733-483f-b60b-ea7e75b104d4”}
$a = $psi.Sitecollection | where {$_.SiteID -eq “0ce62ac4-d733-483f-b60b-ea7e75b104d4”}

You will then be able to recreate or remove the Service Application, and just get on with Project life!

Enabling “Fuzzy Search” for SharePoint Server 2010

I like a challenge and one of our consultants really asked me for a hard one last week – implementing “Fuzzy Search” on SharePoint 2010.  This was not actually something I’d ever heard of before, so it took quite a bit of research before I was able to figure out what it was and how to implement it.  “Fuzzy Search” is a search that returns results not distinctly asked for when performing a query.  For instance searching for “Jon” should return results for “John”, “Jon” and perhaps even “Jean”.

The first clue from the consultant was “I think it needs the Speech platform installed on the server”.  I actually immediately dismissed this as it sounded pretty unlikely, why on earth would SharePoint Server 2010 require a speech server installable?

Soon enough I’d figured out that there is a cmdlet in SharePoint 2010 called “New-SPEnterpriseSearchLanguageResourcePhrase”, which by looking at the existing LanguageResourcePhrases with Get-SPEnterpriseSearchLanguageResourcePhrase contained a word and an alias for a word, which will allow a “Fuzzy Search” returning search results based on an alias name.

However even after I had uploaded a whole heap of new aliases based on my culture “en-AU” I was still not getting any results.  Out of desperation I installed the Speech Server platform binaries mentioned by my colleague and after a quick restart everything started working!

Here are the steps to get it working :

  1. Download the Microsoft Speech Server Run Time from here :  Most likely you will want “EN-AU” as this appears to work off Browser settings not server settings.
  2. Install this onto the Server that does the crawling and searching, if in doubt put it on all of your app servers.
  3. Restart the application server
  4. Grab this file “C:\Program Files\Microsoft Office Servers\14.0\Bin\languageresources.txt” and make a copy of it to “C:\Windows\Temp” – this directory may change based on your SharePoint 2010 installation.
  5. I’d recomend using Excel to edit the file and strip out any languages you do not want. I would recommend retaining “en-US”.
  6. Remove any columns except for the original word and its alias.
  7. Insert the following headers “Name” and “Nickname” for the alias.
  8. Run the following PowerShell script
asnp microsoft.sharepoint.powershell
$langinfo = import-csv C:\windows\temp\AU-LanguageResources.csv
foreach ($line in $langinfo) {
New-spenterprisesearchlanguageresourcephrase -Name $($line.Name) -Language "en-AU" -Type "Nickname" -Mapping $($line.Nickname) -SearchApplication (Get-SPEnterpriseSearchServiceApplication)
start-sptimerjob "prepare query suggestions"
(Get-SPEnterpriseSearchCrawlContentSource -SearchApplication (get-SPEnterpriseSearchServiceApplication) -Identity "Local SharePoint Sites").StartFullCrawl()

This will likely take a couple of hours to go through, but the end result will be that your search will now be nice and fuzzy!  You will need to replace the culture (en-AU) specified with your own.  Cultures such as en-US and de-DE already exist in the database, so there is no point re-adding these.

I have to admit this is very cool!  and I was actually really thrown by the requirement of the Speech Server platform, my guess would be it has something in the API that is required by SharePoint Search to process aliases.  I was also quite surprised I was not able to find anything out there at all regarding this particular operation, even the cmdlet seems to be seldom used.

Update 9th Feb 2011 : If this is not working for you, it is worth noting that the culture selection seems to work off the users browser culture, not off the server culture.  If you have multiple cultures using your search, then it could be worth doing this for all of them that may apply.

Update 11th Oct 2011 : Updated import-txt to be import-csv, which actually exists.  Lesson learned, do not write powershell scripts from memory. 🙂

I am presenting at the Australian and New Zealand SharePoint Conferences

Just a quick post that I will be presenting at the Australian and New Zealand SharePoint Conferences this year.

Last year’s SharePoint conference was one of the best conferences in Australia that I have been to in recent years, it had a staggering amount of knowledge, excellent speakers and it was really fantastic to see a huge amount of Australian SharePoint professionals gather in one place.  If you are going to one conference this year, I would highly recommend that you make this one a priority.  Tickets start at $775, which compared with some of the other conferences is a steal!  And if you get in now you can get one of the Early Bird tickets for $620!

I will be running a session at both – I am still trying to come up with a catchy title, but for now lets call it :

Turn your Head and Cough : SharePoint 2010 Performance and Health Monitoring

An amazing amount of new and exciting features were added to SharePoint 2010 for IT Professionals, a major investment being Server Health and Monitoring Infrastructure. In this session Mark will look into these features in-depth, focusing on guidance for keeping SharePoint installations healthy and running at peak performance. Mark will also go into detail on supporting features such as Diagnostic Logging, the Developer Dashboard and the SharePoint 2010 Logging Database; illustrating how to successfully use these features and more, to troubleshoot issues quickly and accurately. If you have a production environment running SharePoint 2010, then this is a session not to miss!

I will also be doing a Get to the Point – this is a four hour training session in which I will be expanding upon my session greatly by working with participants in labs to demonstrate these features in depth :

SharePoint 2010 – Monitoring and Troubleshooting Health and Performance for your SharePoint Installation

SharePoint 2010 introduced a dazzling array of new Monitoring Functionality, but where do I start? How do I improve the time it takes to load my site and why won’t my solution deploy? In this session Mark will introduce and explain improvements made to this Monitoring Functionality, and how best to leverage these improvements for analysis and troubleshooting SharePoint 2010 Farms Servers, Web Applications and Site Collection. This session will be valuable for IT Pro’s and Developers. If you have the ability to log into to your SharePoint server, this is a training session you can’t afford to miss!

This session will cover off :

  • Developer Dashboard
  • SharePoint 2010 Logging Database
  • Diagnostic Logging improvements
  • SharePoint Health Analyzer
  • Web Analytics
  • and more!

Tickets for this Get to the Point can be purchased at Conference registration for an additional $350, which is a great price for four hours of hands on training.

I really hope to see you there!

WordPress Stats for 2010

Edit from Mark : Not a bad year, especially considering I’ve only been on WordPress for around 5 months!

The stats helper monkeys at mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meter™ reads Fresher than ever.

Crunchy numbers

Featured image

A helper monkey made this abstract painting, inspired by your stats.

A Boeing 747-400 passenger jet can hold 416 passengers. This blog was viewed about 9,600 times in 2010. That’s about 23 full 747s.

In 2010, there were 19 new posts, growing the total archive of this blog to 60 posts. There were 68 pictures uploaded, taking up a total of 4mb. That’s about 1 pictures per week.

The busiest day of the year was September 14th with 144 views. The most popular post that day was Set Site Collection Search Settings by PowerShell.

Where did they come from?

The top referring sites in 2010 were,,,, and

Some visitors came searching, mostly for setspn, setspn -l, mark rhodes, http/1.1 200 ok server: microsoft-iis/7.5 connection: close, and remove-spmanagedaccount.

Attractions in 2010

These are the posts and pages that got the most views in 2010.


Set Site Collection Search Settings by PowerShell September 2010


Resolving a HTTP/1.1 200 OK Server: Microsoft-IIS/7.5 Error with a SharePoint 2010 Web Application August 2010
1 comment


SharePoint Designer 2010 – The server could not complete your request. The content type of the response is “”. March 2010


Moving a SharePoint 2010 Site Collection to another Content Database March 2010


Enabling or Disabling Claims Based Authentication July 2010