Moving your MySite location in MOSS


Background:


When you install MOSS (not evaluation copy) part of that process is creating a Shared Service Provider. This is essentially a set of services like User Profile store, Search, BDC, MySites etc… These services can be consumed from one or more SharePoint Web Applications (and other apps outside of SharePoint if you like).


One of the services that an SSP provides is details on where users MySites are located. This is because if you have, for example, multiple Portals then you usually only want a person to have one MySite. So by having multiple web applications consuming from one SSP you can achieve this.


However, by default when you create an SSP the MySite location is set to be under that SSP. I think an example will help here…


E.g.


Your organisational portal site is on http://OrgsIntranet


Your SSP must be on another URL domain or port so let say… SSP1 is on http://OrgsIntranet:12345


What this will mean, by default, is that your users MySites are at http://OrgsIntranet:12345/personal/<username>


As you can probably imagine, this is not ideal for all organizations. In fact for most organizations that will only ever have one main portal this is not ideal.


The reason we host MySites on another web application is so that no matter what site you are on, when you hit the “mysite” link at the top of the page, it will take you to the right place and that place is not dependant on any individual portal.


In an ideal world you would have an address like http://my or http://mysites as a DNS name for your SSP … so that the address makes sense and you could run it on port 80 like everything else. It makes the URL look nicer I guess.


Anyway! So for orgs with only one main portal they might want their urls to look something like:


Org Main portal: http://OrgsIntranet


MySites : http://OrgsIntranet/personal/<user name>


So how do you go about configuring this? …


How-To:


I am assuming you have your intranet/portal at http://OrgsIntranet and the mysites location is currently at http://OrgsIntranet:12345/personal/<username>



  1. First you have to make sure you have 2 managed paths set up in the http://OrgsIntranet web application. To do this jump into central admin, “Application Management” tab, “Define Managed Paths”. Make sure you are working on the right web application once you are in that screen.
  2. Create an Explicit inclusion for path “mysite”
  3. Create a Wildcard inclusion for path “personal”
  4. Jump back into the “Application Management” tab & choose “Create site collection”
  5. Create a new site (call it MySiteHost if you like), pick “Create site that this URL” and choose “mysite”, also pick the “My Site Host” template (important).
  6. Once that site is created jump back into Central Admin, go into your Shared Services Provider configuration, go into the “My Site settings” page
  7. Set “Personal site provider” to “http://OrgsIntranet/mysite/” and “Location” to “personal”, click OK.

Done! Now when your users click on the “mysite” link their MySite will be created in the right place.


NOTE: if you do this after some mysites have been created then you will have to move them using STSADM to the new location. Otherwise a new mysite will be created for them.

Comments (72)

  1. Will R says:

    Isn’t there a couple additional steps for security to get this to work?  Since the mysites are managed by a different web application than the path it is created in, you need to grant additional security.  I don’t have the link handy. Or, is that what the exclusion is for?  

  2. Here is an assortment of various 2007 Microsoft Office SharePoint Server Documentation / Reference Materials…

  3. Will R. says:

    How do you create a wildcard EXclusion?  Did you mean wildcard inclusion?  Thanks.

  4. chjohn says:

    Sorry … YES … an inclusion! :)

  5. CC-Mat says:

    What is the command structure for moving existing mysites to their new home using stsadm?

  6. chjohn says:

    Hi CC-Mat,

    You can use the STSADM.exe -o backup & STSADM.exe -o restore commands to move each mysite.  I suggesting scripting it if you have to backup and restore many my sites :)

    -Chris.

  7. Chris Johnson wrote a great post on how to accomodate a MySite host within a single web application.

  8. Timmie says:

    Hmm, I tried this multiple times (on multiple environments), but all I get is:

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

    I’m sure all settings are like above.

    Any ideas?

  9. igloo3232 says:

    Ditto. I’ve tried to change the mysite multiple times and get "There has been an error creating the personal site. Contact your site administrator for more information"

  10. About the "There has been an error creating the personal site" message: In the deployment guide from Microsoft, it says that the account that the My Site applicaiton pool is running under doesn’t need any special permissions. While this might be true for Windows permissions, it will need the dbcreator role in SQL Server.

    I had problems creating the my site application, but changing the identity of the my site application pool to an account that had the dbcreator role solved that problem neatly.

  11. chjohn says:

    Hi Everyone,

    For those of you that are having the ""There has been an error creating the personal site. Contact your site administrator for more information" problem ….

    Make sure the application pool account that your mysites are set up for is running under your "SharePoint Service" account … whatever that happens to be.  That is probably the same account / app pool you are running any other web applications that host Sites.

    I just came across this problem for a customer and it was due to the application pool being set to Network Service.

    It is best to start from scratch and delete your web application from Central Admin and re-create it … dont go trying to just change the Identity in the IIS Management tool.

    Also … make sure you follow my instructions to the letter above.

    Thanks,

    Chris.

  12. hh says:

    It is not enough that the account for the application pool has dbcreator rights. I tried different db server roles but could not get it to work. However, if the application pool account is in the local Administrators group, it works.

    Question to Chris: does the my site host have to be a site collection, or can it be just a subsite of http://OrgsIntranet?”>http://OrgsIntranet? Then you could use the same metadata (e.g. the same site columns) in the MySites as in the portal http://OrgsIntranet.

    I tried adding a my site host as a subsite of http://OrgsIntranet, but the My Site Host template cannot be made available at _layouts/AreaTemplateSettings.aspx. Any ideas why?

  13. chjohn says:

    Hi hh,

    It must be a site collection.

    Also … even if it was not a site collection … each actual mysite is another site collection anyway … so they would not get the site columns.

    Thanks,

    Chris.

  14. Lucas says:

    I too am getting "There has been an error creating the personal site. Contact your site administrator for more information". The Application event log is getting two entries each time I get the afformentioned error. I’ve replaced the NetBIOS domain name and username with "domain" and "user" respectively.

    Source: Windows SharePoint Services 3

    Category: Topology

    Event ID: 6141

    The site /personal/domain_user could not be created.  The following exception occured: Value does not fall within the expected range..

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    Source: Windows SharePoint Services 3

    Category: User Profiles

    Event ID: 5187

    My Site creation failure for user ‘DOMAINuser’ for site url ‘https://sharepoint.DOMAIN.com/personal/DOMAIN_user‘. The exception was: Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure was encountered while attempting to create the site. —> System.ArgumentException: Value does not fall within the expected range.

      at Microsoft.SharePoint.Library.SPRequestInternalClass.SscCreateSite(Guid gApplicationId, String bstrUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gSiteId, Guid gDatabaseId, String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, String bstrTitle, String bstrDescription, UInt32 nLCID, String bstrWebTemplate, String bstrOwnerLogin, String bstrOwnerName, String bstrOwnerEmail, String bstrSecondaryContactLogin, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode)

      at Microsoft.SharePoint.Library.SPRequest.SscCreateSite(Guid gApplicationId, String bstrUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gSiteId, Guid gDatabaseId, String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, String bstrTitle, String bstrDescription, UInt32 nLCID, String bstrWebTemplate, String bstrOwnerLogin, String bstrOwnerName, String bstrOwnerEmail, String bstrSecondaryContactLogin, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode)

      at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)

      at Microsoft.SharePoint.SPSite.SelfServiceCreateSite(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String contactLogin, String contactName, String contactEmail, String quotaTemplate)

      at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()

      — End of inner exception stack trace —

      at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()

      at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)

      at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()

      at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)

      at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)

      at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)

      at Microsoft.Office.Server.UserProfiles.UserProfile.CreateSite(String strRequestUrl, Boolean bCollision, Int32 lcid).

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

  15. Lucas says:

    I’ve done some tinkering by deleting the web apps and SSP and creating new ones. Of course, I have to create a temporary new ssp and web apps in order to do this.

    I’ve found that by specifying a relative URL for the My Site in the SSP creation process, I get the same error. If I don’t specify a Relative URL, it works under root. I can be reached at lucasz@hotmail.com

  16. Vince says:

    I have also been experiencing this same problem "There has been an error creating the personal site" with attempting to create Mysites. I had been attempting to create a configuration using the principle of least security access for each account. I created the following domain accounts:

    MOSS Setup Account: MOSS_Setup

    MOSS Farm Account: MOSS_Farm

    MOSS Windows SharePoint Services Search Service Account: MOSS_WSSS_Serv

    MOSS Windows SharePoint Services Search Content Access Account: MOSS_WSSS_CA

    MOSS Office Sharepoint Server Search Service Account: MOSS_OSSS_Serv

    MOSS Service Account (DefaultSSP): MOSS MOSS_SSP_Serv

    MOSS Application Pool Security Account (DefaultSSP): MOSS_APS_PA_SSP

    MOSS Application Pool Process Account (Mysite): MOSS_APP_PA_MS

    MOSS Application Pool Process Account (Portal): MOSS_APP_PA_PT

    The MOSS_Setup was assigned localadministrator rights across the Servers in the farm and also member of the Logins, Securityadmin and Dbcreator security roles in SQL Server. All configuration is performed from this account. All other accounts just members of ‘domain users’.

    I create the DefaultSSP IIs website (http://DefaultSSP:10000)and assigned the application pool account MOSS_APS_PA_SSP, create a separate Mysite IIs website (http://mysite:80) with a Mysite database, and then also assign the SSP Service Credentials as MOSS MOSS_SSP_Serv.

    This works just fine if you want to keep the security to a minimum and Mysites in their own IIs website and database. The problem is that some customers like to have the Mysites as a subsites of their main portal. Therefore I followed Chris’s guidance with little of no problems, until you try and create a Mysite and get the "There has been an error creating the personal site" error. A then looked at all the other feedback and try various accounts for the application pool for the Portal where the Mysites need to be created and various different database rights. None made any difference until I tried the installation account MOSS_Setup as the application pool account. Suddenly Mysite creation started working just fine.

    After further testing is turns out that by giving the application pool account for the portal MOSS_APP_PA_PT localadministrator rights on the front-end Windows SharePoint Services Web Application Service Servers then Mysite creation works just fine. This of course is far from ideal.

    Now I have reached a blank and can not determine the exact extra rights the application pool account needs to have without giving it localadministrator, can anyone offer any suggestions?

    Additionally, unless you give this elevated rights, when the Mysite creation fails the following error is created in the Eventlog log. I don’t really understand all of this, but I have a feeling that Sharepoint is trying to run the process with ‘RunWithElevatedPrivileges’ and it might be failing. This would explain why giving the application pool account full administrator right fixes the problem.

    Hope this might help others.

    —————————————

    My Site creation failure for user ‘VIRTUALTest1’ for site url ‘http://sharepoint/personal/test1‘. The exception was: Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure was encountered while attempting to create the site. —> System.ArgumentException: Value does not fall within the expected range.

      at Microsoft.SharePoint.Library.SPRequestInternalClass.SscCreateSite(Guid gApplicationId, String bstrUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gSiteId, Guid gDatabaseId, String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, String bstrTitle, String bstrDescription, UInt32 nLCID, String bstrWebTemplate, String bstrOwnerLogin, String bstrOwnerName, String bstrOwnerEmail, String bstrSecondaryContactLogin, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode)

      at Microsoft.SharePoint.Library.SPRequest.SscCreateSite(Guid gApplicationId, String bstrUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gSiteId, Guid gDatabaseId, String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, String bstrTitle, String bstrDescription, UInt32 nLCID, String bstrWebTemplate, String bstrOwnerLogin, String bstrOwnerName, String bstrOwnerEmail, String bstrSecondaryContactLogin, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode)

      at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)

      at Microsoft.SharePoint.SPSite.SelfServiceCreateSite(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String contactLogin, String contactName, String contactEmail, String quotaTemplate)

      at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()

      — End of inner exception stack trace —

      at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()

      at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)

      at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()

      at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)

      at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)

      at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)

      at Microsoft.Office.Server.UserProfiles.UserProfile.CreateSite(String strRequestUrl, Boolean bCollision, Int32 lcid).

    —————————————

  17. Paul says:

    Hi Chris

    Thanks for this article.

    I upgraded from 2003 to 2007 and MySite was working fine. I then did a bit of housekeeping and stupidly deleted the site workspace called "MySites (old)" which was listed in the site workspaces of the root portal.

    [I thought that the /personal setup replaced the MySites site workspace and that was why Sharepoint had changed the name to (old) during the upgrade].

    However I now realise that MySites workspace was somehow a setup and pointer to the correct site in the personal area.

    So using your instructions above, I tried to reverse the damage:

    * The managed path listing for personal was already there but I added a Explicit inclusion for mysite (which wasn’t there)

    * I then created a new site collection for mysite using the instructions above

    * Didn’t need to change the my site settings page.

    Now the My Site link works again for any previously existing personal sites but if the personal site doesn’t exist then I get the error that other people mention "There has been an error creating the personal site. Contact your site administrator for more information".

    I feel (may be wrong – novice here) that because I’m just trying to re-create the mysite site collection underneath the root portal that the problem is unlikely to lie with application pool issues.

    But I’m a novice – any ideas?

    Thanks again for the article.

    Paul

  18. Paul says:

    Re: error mentioned in previous post

    Found I could get it to work again by just changing the

    Shared Services Administration –> My Site Settings –> personal site provider to:

    http://rootname

    rather than

    http://rootname/mysite

    which is what it was set to.

    Having done this I was able to remove the mysite site collection that I had set up and the wildcard inclusion for mysite and all worked.

    However I’m totally confused still about what the mysite (old) workspace that I deleted was or how it worked or whether my new workaround is a good idea or not! Wish I could find a clear article explaining how the mysite allocation and creation process worked (and in particular the upgrade from 03 –> 07).

    Thanks again for this article.

    Paul

  19. Tuan says:

    Hi Chris,

    It is a great post … I am just wondering whether we can create another web application for Mysite and set URL like "http://mysite"”>http://mysite".  What I am thinking is that .. if we have multiple SSP, then all SSP can share the same Mysite at http://mysite.

    In your post, Mysite Host is still part of http://portalname web application.  In my situation, when I create main portal, I did not speciify port 12345.  Under Mysite, I specify /mypersonalsite.  Therefore, my main portal link is http://portal.com and my site is at http://portal.com/mypersonalsite

  20. So when I click on My Site I get this error: Go back to siteErrorFile Not Found. Troubleshoot issues…

  21. Dan Attis says:

    As promised, here is part 2 of my series on hooking up Forms based authentication on a SharePoint 2007…

  22. Dan Attis says:

    As promised, here is part 2 of my series on hooking up Forms based authentication on a SharePoint 2007…

  23. AlexB says:

    Followed all the required steps in your list, all goes well until I try to access MySite for the first time. It goes on to create MySite, then gives an error: “Your personal site cannot be created because Self-Service Site Creation is not enabled. Contact your site administrator for more information.”

    Any thoughts on that?

    Thank you.

  24. winjac says:

    Hmm this is vierd, reproduced the same behavior as Vince. (adding apppool account to local admin, and iisreset) then it works, but horrible solution.

    Strange, because on a standalone installation, mysite works correctly integrated with the portal like: http://intranet/personal/winjac.

    and it runs with network service account, which is not member of local admins group.

    I dont get it…

    Jacob W.

  25. bertrand says:

    Thanks for these post. It was very useful to publish mysites in a same web server. I have a question:

    First the architecture : single server farm, portal site in port 80, intranet dns http://portal.intranet.domain.com, extranet url : http://portal.domain.com. ssp my site in server:81.

    When I change the my site creation configuratio for http://portal.intranet.domain.com, it works fine in intranet but when I try to connet via extranet, the server redirects me always to http://portal.intranet.domain.com:80 and not http://portal.domain.com as I wanted. Obviously it doen’t work, but if I correct the mysite url http://portal.intranet.domain.com/userwith http://portal.domain.com/user (without intranet) it works fine. I configure the portal web site internal and external dns to works fine and test it with success.

    The question : wich configuration I forgot to made the mysite access dynamicaly depending of if I am in intra or extranet? Wy the my site url link is static according the ssp mysite location parameter ?

  26. hlhicks says:

    I narrowed the security problem down some that Vince mentioned above.  He made the mysite application pool user a member of the local admins group.  I got the same effect (it works) by adding the app pool account as a farm administrator in sharepoint.  This is managed in central administration under operations.

    This is still not ideal from a security standpoint, but is better than local admin.  I would still like to see the actual permission(s) needed narrowed down a bit.

  27. Adrian says:

    Hi Chris,

    I have the following config:

    http://portal

    http://mysites:88

    When you click the usernames withing the portal e.g. http://portal/_layouts/userdisp.aspx?ID=4 the system doesn’t redirect you to that users my site.  

    But in this configuration:

    http://portal

    http://portal:88

    It does redirect you to the users mysite.

    Is this a bug ??

    Cheers.

    Adrian.

  28. Rajesh G says:

    This is the best site ever. You made my day! Thanks a bunch!

  29. Ma says:

    Hello! Here is enother "nice" bug

    I have this config:

    web app for SSP runs at http://OrgsIntranet:12345

    web app for MySites runs at http://users.OrgsIntranet/personal/

    When I click the "my site" link [http://users.OrgsIntranet/personal/_layouts/MySite.aspx] I get following error:

    An error occurred while updating the user profile.  

    In Windows Server event log I got 4 errors (for every click)

    Event Type: Error

    Event Source: Office SharePoint Server

    Event Category: User Profiles

    Event ID: 5188

    There was an error saving the user profile for user ‘…’. The exception was: System.Data.SqlClient.SqlException: XML stored procedures are not supported in fibers mode.

      at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)

      at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

      at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)

      at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)

      at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()

      at System.Data.SqlClient.SqlDataReader.get_MetaData()

      at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)

      at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)

      at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)

      at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

      at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

      at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)

      at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior)

      at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command)

      at Microsoft.Office.Server.UserProfiles.DBHelper.RunSqlCommand(SqlCommand command)

      at Microsoft.Office.Server.UserProfiles.UserProfile.UpdateProfile(UserProfileUpdateWrapper update, Boolean forceBypassCanary).

    any ideas, wtf going on my server?

    Thx!

  30. 2007 MOSS Resource Links (Microsoft Office SharePoint Server) Here is an assortment of various 2007 Microsoft

  31. Steve Rosadiuk says:

    I need to restore some of the already created sites, and I tried doing this using the stsadm util as suggested. I was able to successfully backup the sites, but could not do a restore…I get this message:

    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    I’m not sure where to even start looking for permission issues regarding this. What account does the stsadmin util use to perform these functions…the account I am logged in with or the SSP service account?

  32. Gordy says:

    Has anyone found a resolution to what Adrian was talking about on May 18, 2007.

  33. Benoit HAMET says:

    Hello everyone

    for those who want, I made a VBS script to move the MySite

    http://blog.hametbenoit.info/Lists/Posts/Post.aspx?ID=138

    Feel free to test and comment :)

  34. There is a hotfix by Microsoft available:

    http://support.microsoft.com/kb/937207

    I just ordered it.

  35. Jaxy says:

    Hi Chris,

    This is indeed good tips for Mysite publishing. But I do have few things to clarify —

    1) When you create a SSP it says we should have Mysites on a different Web Application and not with any other Web application. In your tips Mysites actually sitting on a Web Application that is publishing the corporate portal. Even it helps, isn’t it different that what Microsoft recommends?

    2) In your tips you mentioned:

    " The reason we host MySites on another web application is so that no matter what site you are on, when you hit the "Mysite" link at the top of the page, it will take you to the right place and that place is not dependant on any individual portal."

    So what if you have more than one SSPs, and in that case, how can we set that all the Portal sites regardless of their SSP, can use the same MySites? Is this possible?

    Thanks,

    Jaxy

  36. Elvis Payne says:

    Thank you so much for this post.  I’ve been scratching me head all day trying to get a new web app to store mysites and it just wasn’t working.  I followed your instructions and "bingo" it worked straight away.  You have no idea how happy I was.

    Thanks  ;o)

  37. Simon Savva says:

    Additional to Jaxy’s mentioning, I’m concerned that since a requirement for "My-Sites" is to enable Self Service Site Creation, that we inadvertantly give users the ability to create top level sites attached to what could be the main portal…

    Still very interesting nontheless…

  38. I came across this issue yesterday when reviewing a customer’s SharePoint 2007 configuration. Sympthons:

  39. I came across this issue yesterday when reviewing a customer&#39;s SharePoint 2007 configuration. Sympthons

  40. rtg says:

    Hi,

    After moving “My Sites” from its one Web Service to the Portal Web Service (never manage to make it work), I have the MySite creation working.

    If we go to “My Profile” inside “My Site” everything works fine, too.  

    If we click in anyone’s name from our colleagues list, the profile is shown all right.

    If we do a people search inside the Portal, the search works fine but (there is always a “but”), if we click on someone’s name we get the following error (it seams something didn’t move to the Portal Web Service):

    "Internet Explorer cannot display the webpage

    Most likely causes:

    • You are not connected to the Internet.

    • The website is encountering problems.

    • There might be a typing error in the address.

    What you can try:

    Check your Internet connection. Try visiting another website to make sure you are connected.

    Retype the address.

    Go back to the previous page.

    More information

    This problem can be caused by a variety of issues, including:

    • Internet connectivity has been lost.

    • The website is temporarily unavailable.

    • The Domain Name Server (DNS) is not reachable.

    • The Domain Name Server (DNS) does not have a listing for the website’s domain.

    • If this is an HTTPS (secure) address, click tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section. "

  41. jaminthepark says:

    Hello,

    "My Site" links in our portal decided to stop working all of a sudden. Development environment and production environment display the same setting for My Site web app and we have about 300 users. It is hosted in http://mysite.ourdomain.com/personal

    nt authorityall authenticated has access to this site colection. However, any attempt to reach "My Site" for any users either prompts for usename and password for three times and fails with 401 unauthorized or with this message if the browser in sessions is firefox:

    HTTP/1.1 404

    Connection: close

    Date: Tue, 29 Jan 2008 22:23:02 GMT

    Server: Microsoft-IIS/6.0

    X-Powered-By: ASP.NET

    MicrosoftSharePointTeamServices: 12.0.0.4518

    I did make a change at this point:

    Under Shared Services Administration, I have modifed My Site Settings, and change personal site provider to http://ourdomain.com/personal . This worked but all previously created "My Sites" were missing due to change in URL, so I revert back to original My Site setting which is http://mysite.ourdomain.com/personal . Now, the direct URL to http://mysite.ourdomain.com/personal/username.aspx works but "My Site" link on the top right section of portal takes all users to this exact URL: http://mysite.ourdomain.com/_layouts/MySite.aspx and prompts for user credentials three times and finally gives "401 unauthorized" error.

    Could anyone point me to right direction on how to fix this? I don’t want to ask users to modify their site if only option is moving My Site to different location in same portal.

  42. JodieM says:

    I would like to just move the contents of a list (actually a wiki site) from a Mysite (at http://intranet:25002/personal/username”>http://intranet:25002/personal/username) site to the main site (at http://intranet).

    Is there a way I can do this easily? or do I need to use the STSADM.exe -o backup & STSADM.exe -o restore commands?

  43. M I Araeen says:

    I resolved this error “Your personal site cannot be created because Self-Service Site Creation is not enabled. Contact your site administrator for more information.” By switching On in Self-service site management for domain of MySite Web Application.

  44. Body: Consider the following scenario: You have an intranet web application named: &#39;http://mywebapp&#39;

  45. Alice S says:

    I have MOSS installed on a Windows 2003 Server with SQL 2000.  This server originally had wss 2 installed without SQL.  Then I upgraded to SQL.  Then someone wanted Project installed.  They didn’t use it, so I uninstalled it.  Then I upgraded to wss 3.  A couple of months later, I upgraded to MOSS.  I have removed MOSS 2 times because we have never been able to create a My Site.  I have looked at all the posts and have checked everything.  I have created the My Site Host.  I have enable self service. I don’t know what to do next.

    When we try to create a mysite, there are several identical error messages generated.  Office Sharepoint Server – Category User Profiles – Event ID 5188.

    Tere was an error saving the user profile for user….  The exception was:

    System.Data.SQlClient.SqlException: Failed to load msxmlsql.dll at System.Data.SQlClient.SqlConnection.OnError(SqlException exception, Boolean break Connection) at System.Data.SQLClient.SqlInternalConnection.OnError (SqlException exception, Boolean breakConnection) at systemData.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,SqlCommand cmdHandler,SqlDataReader dataStream, BulkCopySimpleResultSet bulkcopyHandler, TdsParserStateObject stateObj)

    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()

    at System.Data.SqlClient.SqlDataReader.get_MetaData()

    at System.Date.SqlClient.SqlCommand.FinishExecuteReader

    (SqlDataReader ds,RunBehavior runBehavior, String resetOptionsString)

    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds

    (CommandBehavior cmdBehavior, RunBehavior, Boolean returnStream, Boolean async)

    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncRssult result)

    at System.Data.SqlClient. SqlCommand.RunExecuteReader (CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

    at system.Data.SqlClient.SqlCommand.ExecuteReader

    (CommandBehavior behavior, String method)

    at System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior)

    at Microsoft.Office.Server.Data.SqlSession,ExecuteReader (SqlCommand command, CommandBehavior behavior)

    at Microsoft.Office.Server.Data.SqlSession.ExecuteReader (SqlCommand command)

    at Microsoft.Office.Server.UserProfiles.DBHelper.RunSqlCommand

    (SqlCommand command)

    at Microsoft.Office.Server.UserProfiles.DBHelper.RunSqlCommand

    (SqlCommand command)

    at Microsoft.Office.Server.UserProfiles.UserProfile.UpdateProfile (UserProfileUPdateWrapper update, Boolean forceBypassCanary).

    For more information, see Help and support center at http://go.microsoft.com/fwlink/events.asp.

    Any thoughts would be appreciated.

  46. Sowens says:

    When i hit the My Site link it says file not found please help.

  47. Dhanyatha says:

    Whenever I click on the Mysite link only admin’s Mysite is created. I am not able to create it for any other user even though i am able to see "My site " link.

    Self service site management in central administration is set to "on" for the web application hosting the mysite .

    Am i missing any other settings?

    Thanks in advance…

  48. P Pottier says:

    This approach has worked great for us.

    However, has anyone hit any problems applying the MOSS 2007 SP1?  Our configuration will not finalize, returns the following error:

    [SPManager] [DEBUG] [5/30/2008 5:10:16 PM]: [SPSite Url=http://servername] Running 1 of 18 steps

    [MySiteWebRenameUpgrade] [12.0.12.0] [DEBUG] [5/30/2008 5:10:16 PM]: Begin Initialize()

    [MySiteWebRenameUpgrade] [12.0.12.0] [DEBUG] [5/30/2008 5:10:16 PM]: End Initialize()

    [MySiteWebRenameUpgrade] [12.0.12.0] [INFO] [5/30/2008 5:10:17 PM]: Rename My Site web from ‘Targeted Links on My Site’ to ‘My Site (old)’

    [MySiteWebRenameUpgrade] [12.0.12.0] [DEBUG] [5/30/2008 5:10:17 PM]: Begin Upgrade()

    [MySiteWebRenameUpgrade] [12.0.12.0] [DEBUG] [5/30/2008 5:10:17 PM]: Updating title for personalization web

    [SiteSequence] [ERROR] [5/30/2008 5:10:17 PM]: Action 12.0.12.0 of Microsoft.SharePoint.Portal.Upgrade.SiteSequence failed.

    [SiteSequence] [ERROR] [5/30/2008 5:10:17 PM]: There is no Web named "/MySite".

    [SiteSequence] [ERROR] [5/30/2008 5:10:17 PM]:    at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWeb(String bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, Guid& pguidID

    …..

    pdtLastSecurityChange, String& pbstrWelcomePage)

      at Microsoft.SharePoint.SPWeb.InitWeb()

      at Microsoft.SharePoint.SPWeb.set_Title(String value)

      at Microsoft.SharePoint.Portal.Upgrade.MySiteWebRenameUpgrade.Upgrade()

      at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()

    Thanks in advance for any tips or suggestions!

    p.

  49. rannam04 says:

    Is it possible to organize personal sites by an organization’s department structure?

    rannam04@yahoo.com

  50. Lou says:

    Following the above instructions, does that mean that the mysites are created in same content database as the root portal for that site?  I’d like the mysites in a seperate db then the portal, and I’d like other self creation sites in yet another db (recovery sla requires small dbes for quick restore).  The only doc I found about accomplishing this points to using multiple web apps (virtual web sites).  Any work arounds for this?

  51. Scott says:

    To answer Lou’s question…

    you can use the stsadm -o createsiteinnewdb command to create site collections in new databases.  I’m using this to create departmental & other site collections into their own content db’s for smaller database sizes, ease of recovery for sla & to have the ability to move the contentdb’s to other sql servers as the need arises.

    Now, I don’t know if the mysite self-site creation can support multiple contentdb’s, but I just read the following article…

    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=53

    where you can move site collections to a new database.  And if I read this correctly, since each user site in a mysite is a site collection, you should be able to move those user site collections to one/many content databases.

    I haven’t tried this yet, but will start.

  52. Michael says:

    Lou and others,

    I am going thru the same thing as you.  What have you figured out from your comment few months back?

    Following the above steps were the mysites created in same content database as the root portal for that site?  

    I’d like the mysites in a seperate db then the portal

    I would not like to have multiple web apps (virtual web sites) to do this.  Currently, the my sites are stored on intranet.domain.com/personal/….

    I need to move all the my sites to a separate content DB PLUS have newly created my sites created in the same content database. Agenda = 1 DB for all My Sites.

    Thanks for any advice.

  53. satyak says:

    thanks for your blog … its very helpfull…

  54. Peter says:

    Is the problem with event id 6141 and event ID 5187 solved completly with the hotfix 937207 (that is included in SP1)? I have a problem with a MOSS-installation where my sites worked for a while after a move but now I still se these event error messages and users are unable to create their my sites. Anyone know what to do?

  55. Dat says:

    Thank you very much . Its very helpfull

  56. Fillzephyr says:

    In my case i have 2 ssps and i have to redirect my Mysite to new SSP which is not a default one .I had used the step 6 and it works fine for me.

    Thanks Chris

  57. Shamanovsky says:

    Same problem:

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

    I am wary trying the hotfix from 2007. Have you guys applied the hotfix and if you have did it work?

  58. KWI says:

    Great explanation, simple yet all I did need was there. Worked like a charm for me.

  59. Saurabh Kumar Singh says:

    Hi,

    I am creating a Community Site in MOSS 2007 with customization and also want to use existing My Site(basically “My Pofile”) feature for each user’s profile like ORKUT fashion(which maintains GROUPS, FRIEND’s List, SCRAPBOOK, MESSAGES etc.). Can i use “My Site” feature of this purpose??

    Can you please help me in this context??

    Thank you,

    Saurabh

  60. Eric S says:

    Chris,

    I’m implementing a new farm. We want a single URL for both the main portal and mysites. I created two web apps, one for the main portal (and created the site collection) and one for the ssp. When I create the SSP, and chose the main portal for the MySites web application, I can’t use the /personal relative URL because its already defined in the main portal web app, so I use /people. In the Mysite Settings in the SSP, the URL for mysites is …/personal/… but the relative URL for newmysites is /people. It looks like the new site is created in /personal/username but the My Profile link points to a /people URL. Thoughts on best practice for doing this type on configuration?

  61. gabrielpc says:

    Your article worked perfectly for me – Mahalo!

  62. Pr says:

    It doesn’t work with Forms Authenticated Web application!.

    I followed mentioned steps.but when I try to browse Mysite (http://fbaMainSite/mysite/_layouts/MySite.aspx) from main site it doesn;t validates the url!

  63. Pr says:

    This doesn’t work with Forms authenticated sites!

  64. Thank you! It solved long hanging challange. :-)

  65. Andy says:

    Thanks for posting. I had this issue and I wasn’t able to follow kb924399 successfully, but your post resolved my issue.  

    Thank you!

  66. Brajendra Rathour says:

    If an organisation have many portals then how to manage mysites for alluser at  single location.