Monday 9 July 2007

"Value does not fall within the expected range" when a user attempts to create a MySite for the first time

Had a wierd issue on a customer site when I tried to create a MySite for the first time I got a an error stating

"There has been an error creating the personal site. Contact your site administrator for more information."

Yes I know, very unhelpful. Looking in Event Viewer I came across an Event which contained

"The following exception occured: Value does not fall within the expected range. "

This issue is highlighted in the following article: http://support.microsoft.com/kb/937207 and a hotfix is available.

The strange thing is that it happened to me twice and with the same conditions, which were that I did not create a separate web application for MySite but instead put it on the same web application as the SSP. Now I know this is against best practice but in the first instance I did it as part of the Microsoft Learning Gateway 2007 Refresh solution, following the deployment guide to the letter even though it was asking me to do stuff like put the MySite's portal on the same web application as the SSP. In the second instance it was a Microsoft Virtual Server sandpit which I had to build in a rush.

I still haven't found out what causes this.