I ran into the following error while creating a SharePoint library while trying to troubleshoot a completely unrelated problem: “An error occurred while accessing SharePoint AddGallery, Please Try Again”
Not very descriptive. A quick look at the event viewer revealed the following Warning:
“Alternate access mappings have not been configured. Users or services are accessing the site http://imapc with the URL http://localhost. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>”
Of course accessing the site via the correct Url is the easiest way to solve it. If you need to add the Alternate Access Mapping, you can do so from “Central Administration > Application Management > Configure Alternate Access Mappings”
Follow me on Twitter
1 comments:
thanks this was a life saver for my install :)
Zain
Post a Comment