none
SP2 fixed the mySites bug that I did not want fixed

    Question

  • After installing my MOSS 2007 service pack 2 I noticed user getting redirected to mySites instead of the userdisp.aspx. I would like to have my users only go to the userdisp.aspx page. I understand that on the click of a user name the userdisp.aspx page redirects to person.aspx on port 3142 (mySites). I tried to remove the redirect with no luck. Could anybody please tell me how do I configure SharePoint to display only the userdisplay.aspx profile page rather than going to mySites. In addition, I changed the profile service link to something random I a hope that if SharePoint could not find mySites it would default to the userdisp.aspx but this did not seem to work either. Any suggestions would be welcome...

    • Moved by Mike Walsh FIN Tuesday, June 16, 2009 5:18 PM MySite q (From:SharePoint - General Question and Answers and Discussion)
    Tuesday, June 16, 2009 2:03 PM

All replies

  • MySite questions go to the Social Computing forum.

    Moving this

    WSS FAQ sites: http://wssv2faq.mindsharp.com and http://wssv3faq.mindsharp.com
    Total list of WSS 3.0 / MOSS 2007 Books (including foreign language) http://wssv3faq.mindsharp.com/Lists/v3%20WSS%20FAQ/V%20Books.aspx
    Tuesday, June 16, 2009 5:18 PM
  • Mike, While I Agree that the post generally has to do with mysite which is social computing this is an administrative issue and a bug I'm facing Now.  It's not going to get the proper visibility here and IMHO needs to remain in a general category so it can get the visibility it deserves from general public. 

    This was posted over a week ago and only has 83 views. 


    Edit: It should be in the Setup/Admin Category given that it falls under the administration of out of the box features of MOSS 2007 Enterprise and the installation of SP2
    Tuesday, June 23, 2009 8:47 PM
  • This is the right place for it.  I can't speak for everyone, but I think this this is a bug most are glad they fixed.  Changing that behavior isn't going to be a Setup or Admin related issue but rather one of customization (i.e. code).
    SharePoint Developer | Administrator | Evangelist -- Twitter -- Blog - http://nextconnect.blogspot.com
    Wednesday, June 24, 2009 12:31 AM
  • I was able to create a workaround by overriding the Person.aspx in the MySite with SharePoint designer.

    It will redirect the viewer to a Person.aspx page listed elsewhere and remove the Source, Title and ReturnUrl query string variables added on by Person.aspx.

    <%@ Page Language="VB" ClassName="ProfileRedirect" Inherits="System.Web.UI.Page" %>
    <% 
        Dim l_initial As Boolean = True
        Dim l_queryString As New System.Text.StringBuilder()
        
        For Each key As String In Request.QueryString.AllKeys
            If (key.ToLower() = "source") Then
                Continue For
            End If
            
            If (key.ToLower() = "title") Then
                Continue For
            End If
            
            If (key.ToLower() = "returnurl") Then
                Continue For
            End If
            
            If (l_initial) Then
                l_queryString.Append("?")
                l_initial = False
            Else
                l_queryString.Append("&")
            End If
            l_queryString.Append(key)
            l_queryString.Append("=")
            l_queryString.Append(Request.QueryString(key))
        Next
        
        
        Response.Redirect("http://www.sharepointsite.com/search/Person.aspx" & l_queryString.ToString())
    %>

    Remember to add /Person.aspx to allow scripting in your MySite's web.config:

    <PageParserPaths>
              <PageParserPath VirtualPath="/Person.aspx" CompilationMode="Always" AllowServerSideScript="true" />
          </PageParserPaths>
    So in my situation, when the user goes to UserDisp.aspx, that will redirect to the MySite, then will run this script, which will redirect to the custom Person.aspx with Person.aspx?accountname=DOMAIN\User.
    Monday, July 20, 2009 2:27 AM
  • I am also facing the same issue.
    I want the user information to be displayed in UserDisp.aspx, instead of redirecting to Person.aspx automatically.
    We are not using MySites feature and it is disabled. My expectation was that if we disable my sites, it would take care of the redirection also. For me it appears to be a defect. But I saw on other posts that MS has denied it as a defect.

    Any suggestions on how to display user information on UserDisp.aspx page (hopefully without customization of pages) would be greatly appreciated.

    Sudhakar
    Tuesday, July 21, 2009 5:03 PM
  • I am also facing the same issue.
    I want the user information to be displayed in UserDisp.aspx, instead of redirecting to Person.aspx automatically.
    We are not using MySites feature and it is disabled. My expectation was that if we disable my sites, it would take care of the redirection also. For me it appears to be a defect. But I saw on other posts that MS has denied it as a defect.

    Any suggestions on how to display user information on UserDisp.aspx page (hopefully without customization of pages) would be greatly appreciated.

    Sudhakar

    I agree, with mysites off, it does not make any sense at all to send users to a mysite, it should behave as before.


    Monday, August 17, 2009 7:43 PM
  • Has anyone found a solution to this?

    Anywhere the people picker field is used, and on the site member listing, clicking the member name tries to take our users to the members mysite, but we are not using MySites and have removed the permissions in Shared Services for mysites.  userdisp.aspx is redircting to the Mysite instead of just displaying the users basic profile.

    Is there anyway it can be fixed?

    Wednesday, September 02, 2009 3:15 PM
  • We have this same problem. Came right after WSS&MOSS SP2 update..  Is there anyway to customize userdisp.aspx that it would NOT redirect to MySite? 
    Monday, November 23, 2009 10:41 AM
  • Another idea, while a bit custom, is the usage of a Delagate Control.  This way you can create and deploy the delegate, and not touch the "untouchable" pages/code.

    Found some information/sample on a blog by a Zac Smith that shows how to create a delegate, as well as create a custom/different page to show user information.  Check out the links here...

    How to Customize the User Information Page (Part 2)
    How to Customize the User Information Page (Part 3)

    - M
    - Michael Mukalian - MCTS: MOSS 2007 Configuration - http://www.mukalian.com/blog
    Friday, December 11, 2009 2:15 PM
  • As described ,first we have to uncheck the "user personal features " in profile permissions and after that

    go to

    User Profiles and settings

    There delete all the existing profiles after that check it will work....

    Tuesday, April 13, 2010 10:00 AM
  • I have seen, that after deleting the profile from User Profile store, that user is not getting redirected to My Site but to "userdisp.aspx" page (which was required).

    Now, do that means that if the user profile is not there in profile store, the user will be directed to 'userdisp.aspx' or else, will be redirected to MySite?

    Would this behavior get back if I again imported the user profile from AD? Also, what was the use of unchecking the "user personal features " in profile permissions?

    Monday, May 30, 2011 9:01 AM
  • Disable-SPFeature MySite -Url http://server/site/subsite

    Uninstall-SPFeature MySite

    Thursday, February 14, 2013 1:23 PM
  • Not sure if I am on time for your problem, but I encountered a similar issue and have found a good solution for it

    see the following link http://psconfig.com/post/42577970406/mysite-redirection-and-moss-service-pack-2


    Tofig



    • Edited by Tofig Tuesday, March 04, 2014 2:53 PM
    Tuesday, March 04, 2014 2:51 PM