.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

Creating a "my site" - permissions required

Posted By:      Posted Date: October 11, 2010    Points: 0   Category :SharePoint
I had a problem whereby users connecting to my SharePoint site (user is authenticated with their domain account) couldn't access their 'My Site' or 'My Profile' - Access Denied errors kept occuring. It is a pretty standard installation of SharePoint, and the User Profile Service Application is fully configured and all authenticated users have permission to create a personal site. However, I found that all users (other than me as admin) could not access their personal site or profile.

After much searching about this, I found a solution was to grant all authenticated users access to "My Site" (http://server/my) site. Is this the correct thing to do? I was assuming it work by default and nothing I read suggested I had to do this. Only administrator and system account seemed to have rights the 'my' site by default.


View Complete Post

More Related Resource Links

Required permissions cannot be acquired when host asp.net 3.5 application in godaddy


I got the following error when click print report button.

Application : asp.net 3.5

Crystal report : 10.5

Host: godaddy

Please help me.


Required permissions cannot be acquired.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

My Site - My profile - Edit my profile - required fields

Hi All, I'm having an issue with the Edit my profile page from my sites (my profile page).  When I setup required fields through the User properties setting in central admin and then go back to Edit my profile page and try and submit the form with nothing in a required field I get no error/warning that I must enter something in the required field. For example I've setup a policy to make 'Ask me about' required, I've then went into the User properties to confirm the 'Ask me about' property has the policy setting to 'Required'.  Go back to my edit my profile page and try and submit the form with nothing in the ‘Ask me about‘ field, and the form submits with no error or warning telling me that I've not completed 'ask me about'. Any ideas, am I doing something wrong?    

Sharepoint 2010: Get error: You do not have permissions to have lists and pages within My Site.

I am using the administrator login for the sharepoint 2010 farm.  I'm able to access My Site.  However, when I click on My content, I'm getting You do not have permissions to have lists and pages within My Site.   Any ideas?   Thanks.

User does not have required permissions to view Report Manager on SQL 2008 r2

Hi all, We are installing SQL Server 2008 r2 onto a server, and this installation includes Reporting Services. SSRS works, I can deploy reports, use Report Manager, Report Builder, etc., all using my admin privs. The problem is when NON-ADMIN users connect to \\server\reports.  They get the following error: User 'DOMAIN\user' does not have required permissions.  Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed. This error is resolved by giving the DOMAIN\user account local admin privs on the server. Granting admin privs is not a solution.  We have accountants and other non-technical people that will use Report Manager and Report Builder.  We can't just give every person admin privs on the production SQL server. I have done a lot of research on the web... I see a results involving earlier versions of SQL Server and Report Manager, but this is 2008 r2 - different webserver, etc. How can I resolve this issue?

does not have required permissions



I am running vista home + sql express 2008 + reporting services.  I installed everything using window authetication.

Everything was working fine.  However, now when I try to go to RS http://bvp-pc/Reports_SQLEXPRESS/Pages/Folder.aspx I get an error:

User 'bvp-PC\bvp' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.

Can someone point me in the right direction to fix this?  thanks


does not have required permissions






Required Permissions to Create Subscription through the API


Good Morning everyone, I'm getting the following exception when using RS Programming API to manage subscriptions:

       The permissions granted to user "user" are insufficient for performing this operation.

The used code is the following:



Actually, i coudn't find nowhere the exact group of permissions required to modify subscriptions at RS trough the RSAPI.


Best Regards


Copying permissions from one user to another user without creating any groups



I want to copy the permissions of a user and to another user. I know i can do it by creating a group with required permissions and adding the users will do it. But i dont want to create a group. Is there a way to copy the permissions of a user to another user directly?

Visit SharePoint User group - India

Required Permissions for SQL Server 2005 DB and Impersonation

I have an Intranet ASP.NET WebForm application that uses Integrated Windows authenication and Impersonation (required becuase triggers are used to create audit logs) to connect to a SQL Server 2005 DB on the same box (no double hop issues). Normal users get their DB permissions via the <Domain\Domain Users AD group, which has a SQL Server login and a user created for the DB.  Everything works fine when I explictly grant the associated DB user CONTROL permissions on the DB.

However, after doing more research on the actual permissions granted via CONTROL, this seems to be way too much access.  The best decription of the CONTROL permission I found was at http://www.mssqltips.com/tip.asp?tip=1718, which states, "This grants the equivalent to ownership over the database. The db_owner fixed database role has this permission implicitly."  However, every other DB permission combination I've tried without granting CONTROL always fails to connect to the DB.  Impersonation is working, the correct accessing Domain/User is referenced in the error message.  The approriate User in the DB is in the db_datareader and db_datawriter roles and when I explictly grant them every single permission on the DB except CONTROl they fail with a "

Permissions required for "Copy..." function in "Manage Content and Structure"

Hi! I have a question...

I have created a custom permission role i sharepoint, lets call it "Creator". What List ans Site permission are needed to be able to use the "Copy..." function in sites and subsites in "Manage Content and Structure" tool in Sharepoint?

According to my tests the roles "Approve" as well as the "Manage Permissions" is required to be able to "Copy..". Why is this? Doesn't seem to have anything to do with each other.

Thank you for any hints and tips regarding this!!


What are the required Security permissions to call SAM accountmanagement over the wire, using System



I need to perform remote management on the local SAM database.  I am getting a security permission error, but can't figure out what the required permissions need to be.  My test harness works great as a locally authenticated user however the permission issue gets thrown when I am trying to connect to a remote host that isn't part of the domain.

The exception is getting thrown on the call to ValidateCredentials, which is found in the constructor for the LocalAccount class below, specifically you will see it  public LocalAccount(string Server, string User, string Password)

My test environment includes windows 7 machines that are working in a offline mode trying to connect to machines running XP, 2003 and Windows 7 that are not part of the domain.

Any and all help would be appreciated.


using System;
using System.Collections.Generic;
using System.DirectoryServices;
using System.DirectoryServices.AccountManagement;

namespace WindowsManagement
  class Program

Quick way to prevent users from creating sub-sites under their my site?


Probably something very easy that I've just missed... but we want to prevent our users from building loads of sites and such under their my site in SP 2010. Hopefully this will encourage them to use other areas that we are building for them instead of the my site!

Thanks for any input you can provide.

"User cannot be found" error when creating My Site after upgrading to SP2 for MOSS 2007



Hope this is the place for sharepoint gurus?

I upgraded MOSS2007/WSS3 to SP2 and since then I have been unable to get My Site to create new sites for existing domain users.

Some of the domain users created their My Site before the SP2 upgrade and they still work. We just cannot create new My Sites for existing domain users.

Now when we try to create a My Site we get this error:

"There has been an error creating the personal site. Contact your site administrator for more information."

I checked the event logs and usually no error is recorded when this happens so sharepoint does not even give me a breadcrumb (thanks!).

However, on one occassion I did get an event message after fiddling here and there and many attempts at trying to create a My Site, hooray! See below for all the glorious details of the event message, but the basic error is:

"User cannot be found".

I have checked the My Site settings of shared services (SSP1), veiwed user profiles, all the domain users are imported. So I have no idea why when creating a My Site it fails?

I have searched many forums and although they get the same error it seems to be for different reasons so the solutions don't help my situation.

Is there somewhere in Sharepoint that these domain users need to exist? Would I be able to c

Database permissions required for Smo.Server.NetName


Hi all,

who can explain why when i use this code:

  ServerConnection conn = ServerConnection(serverName);

  var server = new Server(conn);
  string testInstance = server.NetName

next exception is thrown:

"Caught exception in SQL Product Configuration wizard. Exception: Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: xp_regread() returned error 5, 'Access is denied.'
xp_regread() returned error 5, 'Access is denied.'
xp_regread() returned error 5, 'Access is denied.'"

user can connect using SQL management studio.

It will only work if i give user "SysAdmin" permission. Obviously it is too high of a permission to read server and db properties

Any help is much appreciated,


what permissions required fro Lnked Server


Hi All,

Need some help regarding Linked Server.

Environment:SQL Server 2005 , sp2



Goal: I want to check the properties of my Linked server.




I have db machine and two instance are running SQL01 and SQL02.

From SQL01, i have a created a Linked server to SQL02 using sysadmin accnt

 /* script */

/****** Object: LinkedServer [machine\SQL02] ******/

EXEC master.dbo.sp_addlinkedserver

@server = N'machine\SQL02',

@srvproduct=N'SQL Server'

/* For security reasons the linked server remote logins password is changed with */

EXEC master.dbo.sp_addlinkedsrvlogin







EXEC master.dbo.sp_serveroption


@optname=N'collation compatible',



EXEC master.dbo.sp_serveroption


@optname=N'data access',



EXEC master.dbo.sp_serveroption





EXEC master.dbo.sp_serveroption



Creating My Site collection on new web app causes web part errors


I'm configuring a brand new SharePoint 2010 Enterprise instance for the first time.  We have 2 WFE, 1 app server and 1 DB server.  Having read it is best practice, I created a new web application for My Sites.  I chose to use the same IIS site and IP address as the main SharePoint site collection but a different host header (my.sharepoint).  The problem I've come against is that opening http://my.sharepoint from any location except the application server throws a bunch of web part errors.  (Web Part Error: This page has encountered a critical error. Contact your system administrator if this problem persists.)  However, when I open the site from the application server box, I don't get the errors.  I think the problem has to do with the WFEs.  I'm seeing a bunch of DCOM errors on the WFEs complaining about security but I don't know if that is related or how to change the security of the DCOM components, the buttons are greyed out.

Can anybody help me start trouble shooting this? 

Creating your SharePoint Governance Plan

One of the most common questions that I get from prospects as I'm talking to them about the creation of a governance plan and process is what does it look like. In other words, there are materials available which describe what should be in a governance plan but there isn't a ton of guidance on what the process of creating a governance plan and process are.

Creating Paging for a Repeater Control

A common question is "How do I implement paging within a Repeater?" Although the beauty of the Repeater control is its flexibility, you're on your own for building most functions. ASP.NET 2.0 has included some new controls that provide paging, as does the DataGrid in ASP.NET 1.1. However, this tip shows you how to roll your own paging for a simple data viewer.
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