How to fix problems with My Sites - SharePoint 2010?

Posted on 2012-03-15
Medium Priority
Last Modified: 2012-03-20

I have a couple of problems with a My Site that I created.

First problem:  When I click on the link for My Site, I see this error in the event log.

Alternate access mappings have not been configured.  Users or services are accessing the site http://blakely-server with the URL http://mysites.bp.blakely-pacific.co.nz.  This may cause incorrect links to be stored or returned to users.  If this is expected, add the URL http://mysites.bp.blakely-pacific.co.nz as an AAM response URL.  

Second problem: When I do click on the link for My Site, I am prompted for a password and username. Perhaps this problem is related to the first.

In the Central Admin under Alternative Access Mappings, I have these settings

Internal URL                              Zone           Public URL for Zone
http://mysites.pb.blakely-pacific.co.nz      Default      http://mysites.pb.blakely-pacific.co.nz
http://mysites                            Default      http://mysites.pb.blakely-pacific.co.nz
http://localhost                         Default      http://mysites.pb.blakely-pacific.co.nz
http://blakely-server:9999       Default      http://blakely-server:9999
http://blakely-server                 Default     http://blakely-server 
http://blakely-server.blakely-pacific.co.nz   Intranet       http://blakely-server.blakely-pacific.co.nz 

Any suggestion on what could be going wrong?

Thank you.
Question by:gtrapp
  • 2
  • 2
LVL 38

Assisted Solution

by:Justin Smith
Justin Smith earned 1000 total points
ID: 37727550
This AAM listing seems a bit off.  What was the strategy here?

I'm wondering why you have one public URL going to multiple internal URL's.  This is probably the reason you are seeing the error.

Are MySites running on their own Web Application?

Accepted Solution

withtu earned 1000 total points
ID: 37728274
Your AAMs list is not right, and should not place all URLs to default zone, you should edit each site to configure the URLs.

As for your second question, check if BackConnectionHostNames registry key has configured in your Front-end server. How to use this key:

1.Click Start, click Run, type regedit, and then click OK.
2.Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
3.Right-click MSV1_0, point to New, and then click Multi-String Value.
4.In the Name column, type BackConnectionHostNames, and then press ENTER.
5.Right-click BackConnectionHostNames, and then click Modify.
6.In the Value data box, type the CNAME or the DNS alias, that is used for the local shares on the computer, and then click OK.

Note Type each host name on a separate line.
Note If the BackConnectionHostNames registry entry exists as a REG_DWORD type, you have to delete the BackConnectionHostNames registry entry.
7.Exit Registry Editor, and then restart the computer.

This is a new feature from Windows Server 2003 SP2 and also included in later version of Windows Server. Basically you can disable this feature if no security consideration needed. To do it, enable DisableLoopbackCheck key in Front-end server:

1.Click Start, click Run, type regedit, and then click OK.
2.Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3.Right-click Lsa, point to New, and then click DWORD Value.
4.Type DisableLoopbackCheck, and then press ENTER.
5.Right-click DisableLoopbackCheck, and then click Modify.
6.In the Value data box, type 1, and then click OK.
7.Exit Registry Editor.
8.Restart the computer.

Author Closing Comment

ID: 37738617
Fixed.  Had a DNS problem and changed the alternative access mapping to below:

Internal URL Zone Public URL for Zone
http://mysites.bp.blakely-pacific.co.nz      Default      http://mysites.bp.blakely-pacific.co.nz
http://blakely-server:9999                           Default      http://blakely-server:9999
http://blakely-server                                     Default     http://blakely-server 
http://blakely-server.blakely-pacific.co.nz  Intranet    http://blakely-server.blakely-pacific.co.nz
LVL 38

Expert Comment

by:Justin Smith
ID: 37738709
So, why were the points split?

Author Comment

ID: 37739031
Well, I admit hitting the submit/accept button a little to quick and if I stayed longer on matter, I might have assigned points differently, or maybe just close the question, since fixing the DNS most of the problems. However, part of the the problem was with the AAM, which both of you suggestioned.  withtu posted other useful information that could be needed with other problems. I did not try them, though. So, I awarded points for the effort.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
I tried to use the SharePoint app to Import a Spreadsheet and import an Excel sheet into a Team site made in SharePoint 2016. But that just resulted in getting an error message 'Unknown Error'...
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question