.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

Site Administrator cannot assign user or group to pictures library or to any library permissions pag

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


        I have number of Mysites and in each mysites i have given same user has site administrator. I observe that in few Mysites, Site administrator user, though got full control permission, cannot assign users or groups to picture library or any library in the library permissions page. We see only few options in tool bar of the library (i.e no UPLOAD menu etc) where as in other mysite for the same user we can do what ever we want to.

         Would anybody please let me know what the cause for this behavior?


Chegondi Rama


View Complete Post

More Related Resource Links

New Document Library in a subsite is inheriting permissions from wrong site

I have a site collection (using the out-of-the-box Business Intelligence site template) called "BI Home". A couple weeks ago I created a bunch of subsites (Finance, Regulatory, Marketing, etc.) all using the BI site template, and then created a Document Library called "Reports" in each one of those subsites. Those are all working as expected. Yesterday I needed to create a new subsite (again, a BI site just off the root site collection) called "Operations". I created the subsite, and then created the "Reports" document library underneath it.  When I went to modify the permissions of the new document library (located here: /Operations/Reports), it said it was inheriting permissions from it's parent: "BI Home".  Why would this be?  Shouldn't the parent be "Operations" ?? All my other sites' "Reports" folders are inheriting permission from their respective parent, but any new sites I create seem to have this issue. Thanks in advance for any insight someone may provide! [SharePoint 2010 RTM on Win2k8R2 using SQL 2008R2 RTM on Win2k8R2]

How to get the permissions of a user or group that has "Limited Access" to a site



For a user or group that has "Limited Access" to a site, I'd like to be able to find all of the libraries, documents, etc that that user or group has been given permissions to.  I believe that I could accomplish this by iterating over all of the lists of the site, and then over all of the list items of each list, and checking if, for that list or list item, inheritance is broken and that user or group has been granted access.  However, I am hoping there is a cleaner, quicker alternative in which I don't have to iterate over all of the site content.

If that's not possible, I may be able to accomplish mostly what I need if I could find all of the site content which has unique permissions (and then simply iterate over that content to see if the user or group has been given permissions).

Any advice is greatly appreciated.




Domain Group Policy to Map user folder in Sharepoint Library to network drive


This is complicated- and try as I might I can't get it right. I am running SBS 2008 SP2 with WSS 3.0 SP3.

I have my sharepoint site at http://companyweb. I have WebClient and WebPublishing services enabled.

The scenario I am trying for:

I have a document library in Sharepoint called Wellness Boxes. Inside this library each domain user has a folder- these folders are to store personal files. Each folder is configured with permissions via Sharepoint so that only the user and their direct manager has access. When a user enters the library, they only see their own folder.

I am trying to map this situation to network places. I want users to be able to click Start>Computer>Network and see a drive labeled Companyweb. Entering that drive will show them the document library Wellness Boxes, and only their own folder will be visible.

I need to do this at a domain level through Group Policy so it applies to all users and all computers. Drive letters do not matter. Permissions do matter.

Can anyone help me please?


Blog@ http://chrisdill.wordpress.com

Christopher Dill Network Engineer | Solace Healthcare Group, Inc. SBS 2008 | Exchange 2007 | WSS 3.0

IE closing when user try to access the document library

<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> IE closing (crashing) when user try to access the document library in share point site.  here we are using WSS2.0.  this problem for not accursed all the users , this problem happening on some users. 

Search does not find text in Word document stored in document library on a Report Center site within



We have a document library on a site created off of the Report Center site template. We uploaded a Word 2007 document with the word zebra in the text. Using the search bar at the top of the page we selected This list: Our document library and searched for zebra. We received no results.

We tested the same thing on another site (site template Team site) within the same site collection and search worked fine.

Does the Report Center search function differently then the search functionality on the Team site?

Tamara Bredemus SharePoint Minion...working up to Maven

Error adding a document library to a site



I am receiving the error "Cannot complete this action.  Please try again"  when trying to add a document library to one of the sites.  This is Sharepoint 2007 SP1.  I seem to be able to do it thru designer but not the web interface.

Does anyone know how to fix this?

When the user want click on document library that should be navigate default view



I have document library which is having folders,the document library i have displayed as tree view in the left side of the page.

Here Document library having views,suppose i have selected one view on the document library it is navigating the particular view that is good but when i am trying to click document library folder still the page in same view do not navigate the default view .

I need when ever i click on any of the folder in document library that should navigate defualt view ,could you please help me on this.

Really its need urgent...


How to check effective permissions for a user or group for a SQL server object or whole server?

Guys, How do I see effective permissions for a user or group for a SQL server object or whole server? For example, a user is not listed in security/logins, but he is a member of few groups and some of them have assigned permissions on SQL server (again either directly or through membership in other groups) Even when I select an object (a table), check properties/permission – it doesn’t let me select any principal, except those listed on security/logins… Anyway, what is the right way to see effective permissions for a user or group? Sorry for asking such a simple question, I’ve searched but found nothing relevant.

Views for different group of people in form library

I have created a form library with many fields. And I have created 3 views say X,Y and Z for this form library. I have 3 set of User groups say A,B and C. When a person in group A visits this form library,  the view 'X' should appear. Similarly when a person in group 'B' visits this form library the view 'Y' should appear. How can we achieve this.. Any suggestions...

How to Hide "VIew All Site Content" for non administrator user

Hi, I want to hide "view all site content" for non admin user but that user can access the form libray.actually there is a workflow using form library. I ve edit the permission level to hide view all site content but now the user can not use form library. so how can it b possible.kindly suggest.Regards- Sharad

Unable to create columns in document library after applying custom master page to site

Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?

Group by library name using Data View Web Part

I'm using a data view web part to disply documents in multiple libraries.  Is it possible to group on the name of the library instead of grouping on an individual column? Thanks

Item/Document permissions affect Library/List permissions

When I change the permissions on a item/document in a library/list the permissions are also changed on the library/list even though I stopped inheritance.  When I change the permissions on the library/list it also changes permissions on items/documents in that list even if inheritance is removed.

How to show a document from the Document library from another site?

I have a document library that includes all documents of portal in site A "Document center". How to display documents in site B "Personnel"? We need to show to documents, which have metadata column "personnel" in the site B.  Kenny_I

Selecting pictures from a particular directory in the Picture Library.

Hi, Im trying to get the images from a particular directory in a selected picture library, I have seen the SPListItemCollection _pictureList.Folders but im not sure how to access actual contents of these items. Sorry this isn't terrible detailed but i haven't really got any snippets atm. Thanks in advance Courtney O'Sullivan.  EDIT: This is my code but i know its wrong,  SPFile file = folders.File; i think is the actual folder itself instead of the files in the folder. SPListItemCollection listCollection = _pictureList.Folders; foreach (SPListItem folders in listCollection) { SPFile file = folders.File; //if there is a directory set if (PictureLibraryDirName.Length > 0) { bool bFoundDir = false; //if we have a folder directory string dirPath = SPUtility.GetUrlDirectory(file.Item.Url); if (dirPath != null) { string[] dirs = dirPath.Split(new char[] { '/' }); if (dirs.Length > 0) { foreach (string dir in dirs) { errormessage += dir; if (dir.Equals(PictureLibraryDirName)) { bFoundDir = true; } } } } //and if the file belongs to a different directory if (!bFoundDir) { continue; } }

Site templates and Library Labels

I have been having an issue with labels and a document library... I have a created a document library...docs, with a new site content type ...doc1 If I then save site as a template....works fine. However, the template I have for the content type doc1, has a Quick Part (label) added to it to show the document version number on the document. In order for this to pass from the library to the document, I need to activate labels on the list through the Information Management policy settings on the library. I have done this  and got the template working correctly, updating the version number within the document. But, now if I save site as a template I get the error...   Error Error exporting the list named "Docs" at the URL: Docs Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: ea226ba4-0a68-4cfb-9b6f-c557f4ec8ab6 I have tried saving the template at every stage and it is fine up until I turn on the Label option. Any ideas?

User Control that had been taken from external web control library (dll) doesn't see it's javascri

 Hello, I've created the .dll assembly with custom web controls and use it successfuly, but my last control needs a javascript. It is also in the same .dll with the control. The problem: My project doesn't see the javascrip in the externlal assembly. The question: How to tune the visibility of javascripts in the external assembly? Thank you. Serge.    
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