Tuesday, March 1, 2011

Alternate access mappings

I was recently reviewing my Windows event logs for error messages and I found this SharePoint error message in my event log:

Alternate access mappings have not been configured.  Users or services are accessing the site http://myusername:4699 with the URL http://localhost:4699.  This may cause incorrect links to be stored or returned to users.  If this is expected, add the URL http://localhost:4699 as an AAM response URL.  For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>

Since my computer was a member of the domain, my computer name was not always able to resolve correctly in the browser.  Therefore, I discovered that accessing my SharePoint installation via localhost not only resolved quicker but loaded faster as well.

However, I still wanted to get rid of this error message.

Therefore, I logged into Central Administration and did the following:


  1. Clicked on Application Management in the left hand navigation pane
  2. Beneath the Web Applications heading, clicked on Configure alternate access mappings
  3. Clicked on the menu item, Add Internal URLs
  4. From the Alternate Access Mapping Collection dropdown list, I selected the appropriate collection
  5. In the textbox, I entered http://localhost:4699 (for Central Administration)
  6. Clicked on the Save button to save the Alternate Access Mapping Internal URL
  7. I was now able to view my list of Alternate Access Mapping URLs

No comments:

Post a Comment