.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

User with MyLinks rights and no MySite rights: how to customize error page

Posted By:      Posted Date: October 22, 2010    Points: 0   Category :SharePoint

Using MOSS2007

We have sharepoint users that have the right to create and manage their own 'My Links' but without right to create MySite.
When they go to  Manage links they are on the page My Links with a breadcrumb trail to mysite.
They click on MySite, Sharepoint starts to create a new Mysite , but then displays an error page that says 'You do not have permissions to have lists and pages within My Site.' This is correct.

But here comes the problem: They have no more means of going back to the Corporate Sharepoint site. The pages they have all link to My site. They cannot use the Back button on the Browser, because that one redirects them to the Mysite creation and immediately they are shown the error page again 'You do not have permissions to have lists and pages within My Site'.

All they can do now is to click on the Home button (the Corporate sharepoint site is set ashome page) or open the Back button history and go back 2 pages. Or they could stop the browser and start up again , which shows them the Corporate sharepoint site.

I have noticed some error pages have a 'go back link' , e.g. the error page in Business data list web part , if the BDC has changed and the web part can no longer display.

So , how do I go about to change the error page that says 'You do not have permissions to have lists and pages

View Complete Post

More Related Resource Links

how to store User Rights Information in asp.net



Please guide me how to store user rigths inforamtion in asp.net MVC Application

Here my User permission  information look like

UserID LoginID          UserName             Page  Permission     Role 

yahoo@yahoo.com Mohammed Askar Quote Edit                Admin 
yahoo@yahoo.com Mohammed Askar Quote Delete            Admin 
yahoo@yahoo.com Mohammed Askar Quote Verify             Admin


gamil@gamil.com   Mr. X                      Quote Cancel  &nbs

sitemap control user rights enable and disable



iam using masterpage and sitemap in my project, what i want to is that

if user login is did, based on the user previlage in need to show the sitemap menu page

if user i have the previlage to see the page then i should enable that page otherwise

i need disable that page

looking for the valuable suggestions

Customize the User Profile page

I need to add a "link" or "button" to the User Profile page (userdisp.aspx).  In SP2007, I had a custom feature that would forward the user to a custom aspx page, but that doesn't appear to work in 2010.  Is there a recommended method of customizing the User Profile page in 2010?

User rights

Hi,I want to give rights to a user on workgroup to access a computer on a domain. The computer in a workgroup and server on a domain are part of a network. What rights should I give so that I can access that computer. Please also know that I need it for impersonation. My webserver is on a workgroup, however the file server is on a domain. I want to access the files on the file server from my application on webserver.I have tried number of things. May be this might work.Thanks.

asp.net,c#,user role and rights,menu

hi friendsi want to develope general code or module or structure of web application wich handle multiple user ,their role and right, and according to their rights and role menu will be display.so i can integreate it in any website. kindly provide me solution for asp.net 3.5,C# working environment, and sqlserver 2005 environment.what is the structure for database? i want only one database not asp.net database. can i make login control type assembly(dll)?how?Thanking you 

Unable to Customize Custom Lists. Sharepoint Error: User cannot be found.

I am not sure what the best way to put/describe my issue . I am unable to customize my custom list. Steps: 1. Login to sharepoint site. 2. Site Actions -> Site Settings 3. Under Site Administration -> Site Libraries and lists 4. Clicked on a custom list.   Error: Error User cannot be found.   Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 4063bf58-9cb7-4204-8cc4-cc2889abffe3 Date and Time: 9/9/2010 5:51:58 PM   I figured this may be an issue with site permissions, so I have went into site permissions and removed and re-added Administrator into Homeowners group.   Thank you in advance.   Howie

MySite user profile site creation of My Content page is created as provisioned failed (unprovisioned

I've been trying to troubleshoot our User Profile Sync and have noticed the profile pages weren't getting updated with everything.  Most content was but things like memberships and the content tabs weren't.  I also saw this error in ULS: ProfSynch: Exception attempting to enumerate site 25a72070-4249-4698-ae99-c2a45d25b08e for ContentDB 23a6e3ef-6d56-4bde-825e-95c6924e2f91: Microsoft.Office.Server.UserProfiles.ProfileSynchronizationInternalException: ProfSynch: The site with ID 25a72070-4249-4698-ae99-c2a45d25b08e cannot be synchronized due to an unprovisioned root web.      at Microsoft.Office.Server.UserProfiles.SiteSynchronizerCollection.GetSynchInfoForSite(SqlDataReader dr, SynchInfo info)      at Microsoft.Office.Server.UserProfiles.SiteSynchronizerCollection.<get_Elements>d__0.MoveNext() I checked in the MySite database under the webs table and noticed all the My Content sites for all of our users had the flag column with the number 1315 in them - (meaning unprovisioned as the error above states).  Cross checking with the User Sync Profile database under the SiteSynch table I noticed all of the sites have NULL for the value under both the LastSynch and ChangeToken columns (The User Profile Service Application - User Profile to SharePoint Full Synchronization  timer job takes care of populating that).&

User rights stripped on subsites

Hello, I create a subsite, select  "use unique permissions", and create the accessgroups: visitors, members and owners.  I then enter som testusers in the visitors and members-groups, log on as them to make sure the testusers have the correct access-levels.  I also make sure my newly created access-groups are the only groups with access to the subsite.  20 minutes later, the testusers no longer have access to the subsite.  What kind of service running on the server would strip these rights?  When I log on with the owner-account, I can still see the testusers in the correct groups, but they no longer have access.  Anyone else with the same problem? I'm hoping for some good suggestions! Thanks, Kjersti

SharePoint Designer 2007 - Customize List View - Error when saving view ASPX page


We have a custom list definition that includes custom site columns.  When we try to open one of the list view aspx pages in SharePoint to update the view query we get an error when trying to save the page in SharePoint Designer 2007.  We receive a warning that the operation will customize the page from the site definition, which is fine.  And then get a general "Server error: ServiceRequestorID" alert.  ServiceRequestorID is a custom site column used by the list definition.

ServiceRequestorID field definition:

<Field ID="{FA39D24D-AB40-4b1d-BD80-94ABE34A7578}" Name="ServiceRequestorID" DisplayName="Service Requestor ID" StaticName="

Fine-grained User Permissions, create and view with restricted edit rights


I'm running a Sharepoint 2007 installation which is slowly being rolled out through the organisation. We have a group of calendars which are shared between 14 executive PAs. I've been asked to lock down the permissions so that whilst any of the users can add items, only the user who created the item can subsequently edit this. I thought I could handle this by creating a new permission level with create and view rights only, which does what it should, however the user can now no longer edit their own appointments either.

Is there a way that I can give the item creator specific permissions on their item by default?

Report viewer web part: Dependency of parameter choices on user rights?


Hi there,

I am wondering if it is possible to restrict the choices for a parameter depending on the user rights. For instance, if an "administrator" can select three different options for one particular parameter, a "normal user" should only be able to choose from two.

I am using Sharepoint 2007 and Reporting Services 2005.

Best wishes



Getting "The process must have access rights for the private key." clientside error when the process


When I run my client side code I keep getting this error:

The certificate 'CN=WCFClientCert' must have a private key. The process must have access rights for the private key.

The ClientCert certificate is in my Current User\Personal\Certificates store.

I created it using:

makecert -sk WCFClientCert-iv WCFServiceCA.pvk -n "CN=WCFClientCert" -ic WCFServiceCA.cer -sr CurrentUser -ss My -sky exchange -pe WCFClientCert.cer

, so I did do -sky exchange and -pe.

I used findprivatekey.exe to find the location of WCFClientCert's key, and went to its location in the directory. But the file already had all the permissions I could think of. Administrator, COMPUTERNAME\Users, the account I log into, SYSTEM, etc.

I have run the client code from both within Visual Studio 2010s Debug mode, and from building the project and its setup/deployment project and actually installing it on a machine. The actual installation was on another machine, but I am getting the same error.

The WCF Service is on a separate server, and I received this error when installing the service, but fixed it by adding the NETWORK USER user to the permissions on the key file. (service is hosted on IIS).

So why am I receiving the same error on the client side, but the same solution does not work?


Thank you in advance for any he

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? 





DirectorySecurity / calculating effective rights for the current windows user?


How do you calculate the effective rights for the current windows user and a specified directory?  I see how you can retrieve the DACL for a Directory using: Directory.GetAccessControl.  

I see that you can get all the access rules for the DACL using: 

var authRules = myDirectorySecurity.GetAccessRules(true, true, typeof(System.Security.Principal.NTAccount));


This seems to return all acess control entries for the given DACL.  I need to determine the effective rights for the current windows user against a give directory.

How can I retrieve or calculate the effective rights for a given user on a given folder? I basically need to determine if the current windows user has read/write/delete permissions for a given folder.


















Rights for a user in a restricted AD OU

I'm trying to set up rights on our Sharepoint website for my admin account, which is in an OU with restrictions on it (i.e. only a Domain Admin can make changes to the users in this OU).  Unfortunately because it's restricted, Sharepoint doesn't seem to be able to see the users in that OU so I can'd add the users as Owners of the site.  Does anyone know of a way to get around this?

Error when allocating rights in the navigation links

In the  NAVIGATION modification and sorting / when I assign rights to a navigation link, I validate a user in the "Audience", Then i close the pop-up. when i reopen the modification link, the selected user has changed with numbers instead: A634-44D4-62EE433D-8B3D-6E8393612F8D

So It Is not possible to assign rights to a link in the navigation bar on sharepoint 2010

Do you have an issue on this ?


Handling 404 page not found with Error page



      How do i handle 404 page not found?

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