.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to redirect to mysite in sharepoint

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

Hi All,

I have created subsite for department A. I have a requirement to requirement to redirect to the mysite when user opens this sub site. Can anyone tell how can we do this..

View Complete Post

More Related Resource Links

How to add custom list entries to mysite's calendar in Sharepoint 2007 site?


I would like to know below things

(1) How to create MySite for one specific member with other or administrator's access?

(2) Scenario : Administrator have created one SP2007 site. now Administrator have created one calendar (Sample calendar). Administrator have added some entries in calendar. now one user entered in portal site ansd view the calendar and he click on MySite menu. so this sample calendar entries should enter in that user's mysite calendar. How this can be achieved?

Thanks in advance.
Regards, Praful Udade

301 Redirect in sharepoint 2007



We are going live with our new site on internet shortly and we wnat to do an 301 redirect from old url to our new url. e.g. our url http://www.abc.com/def/ and the new url http://www.abc.com/efg/klm/zzz.aspx  [The domain is same]. It will raise a 404 if we are not set the 301 redirect.

Please let me know how can we do this?

Problem accessing Sharepoint 2007 MySite


My users are having an issue accessing their mysites.  When they go to the main portal page or any other site and click the link at the top right of the page to go to their Mysite they are thrown into an endless authentication loop.  If they cancel out of the loop the URL in the address bar is for http://mossserver/_layouts/MySites.aspx

For a user to successfully get to their myself they need to enter the full url like http://mossserver/personal/username/default.aspx

Now, I know somewhat how this happened.  It resulted from me trying to delete a user's mysite and I apparently did it wrong but I'm not sure what I did.  It almost seems like I deleted a redirect page or something...

Looking for any ideas.



Cannot crawl sharepoint site and mysite after database attach upgrade form sharepoint 2007 to 2010.

After database attach upgrade site and mysite from sharepoint 2007 to 2010 , I have full crawl and get "The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly. If the repository was temporarily unavailable, an incremental crawl will fix this error. ( Error from SharePoint site: HttpStatusCode ServiceUnavailable The request failed with HTTP status 503: Service Unavailable. )" for mysite and get "Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled." for sharepoint site. The content access account for search is "db_owner" of both of site and mysite. How do I solved this problem ?

SharePoint 2010 - Seperate MySite collections.

We are currently looking into SharePoint 2010. The configuration will be in a farm setting with a couple front end servers etc. We will have the one main farm, but each department is then given thier own 'Portal' or 'Web Application'. This web application points to thier own SLQ DB on the shared SQL server. Some departments have expresse the possibility of using 'My Sites'. My question is, how can I configure each departments's my site to also use a different SQL DB. Currently I see only the ability to have one my site DB for the entire farm.   Thanks in advance.

default value for MySite's 'As Seen By' web part in SharePoint 2010

Does anyone know how to change the default value for the 'As seen by' web part on the SharePoint 2010 MySite's person.aspx page? Currently it defaults to "Everyone' and our client would like it to default to 'Only Me'. Is this even possible? Regards, Kyle

SharePoint Userprofile synchronize with mysite userinfo in different farm

I am using Sharepoint 2007.... we have 2 userprofiles 1 userprofile for my intranet application in Farm1 2nd Userprofile for mysite in Farm2 both the userprofiles fetch data from same AD.  Onclick of mysite user is redirected to mysite in farm2 which fetches userinfo from farm2 If user updates any Sharepoint information (like picture, about me these are not from AD but stores in Sharepoint userinfo table) from mysite this information is not updated in farm1 intranet sites, this is because both farms use different unserinfo tables   is there any way i can update my intranet farm1 userinfo table with mysite userinfo        

Mysite link missing when accessing sharepoint externally


Hi there,

I have a SharePoint server that works perfectly well internally. When Accessing it from home, users do not get the link to mysite. I have done some reading around (specifically this article http://technet.microsoft.com/en-us/library/cc288609(office.12).aspx) and wondered if this was to do with the AAM settings. However, many of the articles I have read relate to issues where the link is there but doesn't work. I haven't been able to find anything that directly refers to a missing link. I am at a loss as to what to do.

Any help would be greatly appreciated.

Thank you


SharePoint Couldn't redirect to another page after document check in


Hi all,

I want to redirect to other page after check in the document in the document library. So I coded in ItemCheckedIn event.

But the problem was raised:

  • When I click the Check In button, system would pop up the message "The file could not be checked in. It may already been checked in by another user." (But it would check in the document later).
  • It couldn't redirect to other page after checking in.

Can anyone help?Thx.


Mysite SharePoint 2010: Displayname shows domainname/username?


Hi !

I setting up MySite on SharePoint 2010 for my organization. MySite is our first priority to get up and going. Everything is installed and working.

- SharePoint installed
- Active Directory is synced

When I browse around for users in the search bar, everything looks fine. I can use the organization chart to browse up and down, and their names is all correct. 

Problem is: 
When a user connects to MySite for the first time, the MySite is obviously created and the user can start to add content and so on.
But - After the user logged in for the first time, his Displayname (property collected from AD) shows as "domainname/username" 

After we tried and tested a couple of users and they logged in, the organization chart is falling apart, and the displaynames are all changed to domainname/username. 


Anyone know what causes this?

Sharepoint doesn't redirect to default.aspx


While logged in as a User in Sharepoint 2010, if I navigate to the main page of our Sharepoint (http://sharepoint) it asks for my username and password but never actually logs on (stuck in a loop). If I navigate straight to http://sharepoint/default.aspx, it works fine.

If I'm logged in as the System Account admin, then navigating to http://sharepoint redirects me automatically to /default.aspx.

How to create custom control in .net which can retrive data from sharepoint list and redirect to sit


Hi help me!

I am strugling this problem!

My requirement is I need to create a custom control which need to retrive data from sharepoint list, The list contain some sites information like Title, url, Scope my requirement is i need to display sites Title in my custom control and when i click on title (site name) in custom control it need to be redirect to that site and whenever list data updated automaticaly custom control data also need to be apdated automatically .

Sharepoint does NOT redirect to default.aspx



Hi, my sharepoint installation seems to be broken


If I navigate to http://mysite/sites/site1 it does not redirect to http://mysite/sites/site1/default.aspx


It does not work for any site.  Any ideas on how to fix it? 

Sharepoint 2010 Redirect With TMG 2010


As I understand it, redirecting from TMG is just a simple matter of creating a rule that takes higher priority than the Sharepoint publishing rule. This rule will deny all http requests and redirect them to the correct https url. I have done this and edited my SSL listener to redirect all HTTP traffic to HTTPS.

I have already done this successfully with OWA but for some reason redirecting Sharepoint traffic results in a redirect loop. Configuration of both rules, as far as I know, is exactly the same with the exception of the form of authentication but I don't think that should make a difference. I'm at a loss. Could it be something on the sharepoint side?

Error updating MySite profile in sharepoint (MOSS) - An unknown user profile error has occurred. Tr


We come across an error stating "An unknown user profile error has occurred.  Try recreating this user profile or updating this user profile from the directory service to resolve this problem". 

This scenario is observed only for a particular account. The User has got 3 profiles with different accounts.

Problem seems to be only on Production server while on PreProduction & Test server its working fine. 

We have even tried deleting the user profile and recreate, but still the account is not accepting any profile changes. Also checked in the logs files but it didn't give any clue for the issue. 

Is there any specific reason for this behaviour? 





How to generate MySite Usage Report using Sharepoint Object Model


Hi All,

In my Portal i have MySites some where around 15000 where in every day i need to auto generate MySites usage report in excel format.

Can some one please help me out how to acheive the same using Sharepoint Object Model.

C# button to redirect user to a custom newform sharepoint page


I want to place a button in my C# web part  that will take the user to a new custom NewForm.aspx page I created.   I'm assuming this is straightforward but I can't find an example of the onClick event.  Can someone please assist?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend