SharePoint - Receive 404 Page not Found error when going to user.aspx page

Asked By Stacie Mell on 07-Oct-14 09:29 AM
When I try to go to a person's profile page I get a 'Page cannot be
found'. Here is an example of a profile page link:

http://sharepoint/dsi/hr/_layouts/userdisp.aspx?ID=8&Source=http%3A%

I found that if I add "Force=true" to the link it comes up with no
problems.

http://sharepoint/dsi/hr/_layouts/userdisp.aspx
What is causing this to not display correctly. We have MOSS with one
server farm (1 db server/1 web server). I have MySites disabled by
removing user permissions under 'Personalization Services
Permissions".

Did I do something wrong? Is there some other setting I need to set
in order for my user profile pages to resolve correctly?

Shomer Excite replied to Stacie Mell on 07-Oct-14 09:27 AM

I’ve been at a client’s office recently where they explained me the following issue: they’ve had MOSS 2007 installed, and since they’ve disabled MySites the user profiles cannot be displayed. When they click on any user’s name they’re redirected to the page /_layouts/userdisp.aspx, but this page cannot be displayed because of an IIS 404 error. This is the WSS page for displaying user info and it works when MySites are not configured as well. But seemed that it didn’t work after disabling MySites on the farm.

The only user one can open is himself/herself by the MySettings menu. We found out that this option also opens the /_layouts/userdisp.aspx, the only difference is a parameter in the URL: ?Force=True. After trying to open the page with some other user’s ID we found that they also can be opened with the ?Force=True parameter.

After some googleing we found a solution/workaround: after changing the DelegateControl in the LAYOUTS/userdisp.aspx from Farm to Web, all the issues have been gone and /_layouts/userdisp.aspx begun to work again:

<SharePoint:DelegateControl runat="server" id="DelctlProfileRedirection" ControlId="ProfileRedirection" Scope="Web" />