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

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

Read-only users cannot navigate to other subsites using Insert Hyperlink

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

I have an Intranet site collection that is comprised of a top level publishing site and a single layer of a dozen publishing subsites, one for each component of our organization. I want to give contributors in those subsites the ability to link to pages on another org's subsite. Everyone has at least read-only permissions on all subsites. But here is what happens when they try it:

From their local Pages library, the user edits a page in the browser and selects a text string in the Content Editor Web Part, then clicks the "Insert Hyperlink" glyph, then clicks "Browse", which creates the "Select A Link -- Webpage Dialog" pop-up window that shows all the pages in the local Pages library. To navigate to another subsite, he clicks the up-arrow to navigate up the tree but when he clicks up to go to the top level site he gets "403 FORBIDDEN".

As the owner of the sites, I have no problem navigating up and down and around the site collection tree. How do I give the ordinary user the ability to do the same? I've tried giving them "contribute" permissions but I get the same error. 

View Complete Post

More Related Resource Links

Custom Contact List: has to be auto-populated with users and manually insert others contact

Hi All, is it possible to create a custom contact list that automatically insert user as contact? I have to use it to send auto-email to the people in the contact list... (ant they can be user or not) Thanks All Vit

What do I have to do to allow users read access to the cube?


(SQL 2005)

I'll try asking this again since I'm still not able to access my data cube. 

I've developed a BI solution with SSIS, SSRS and SSAS.  The account I've used for development has had Domain Administrator permissions and I've never had a problem running an SSRS report that reads the cube.  When I use an account with less than Domain Admin permissions and try to run a SSRS report that runs a query against a SSAS cube the query fails.

I've set up a Domain User group and given it read access to the data sources in Report Manager.  I've given the group datareader role in ReportServer and ReportServerTempDB as well as the DataReader role in the SSAS cube.

Why can't I read any data from the cube???

TreeView in Web Part required webctrl_client folder to have atlease read access for all users


HI All

I am using the TreeView control from the Microsoft.Web.UI.WebControls Namespace to render a treeview in a SharePoint web part. The tree nodes images do not appear (text is rendered) properly until i grant atleast read permissions to Authenticated Users on the webctrl_client folder which has to be places in the web application's virtual directory.

Is there some way I can avoid granting the read permission on that folder to all authenticated users.

If i go ahead with the approach of giving the authenticated users rad permission, will a user loggedin via FBA get the read permission

Thanks in Advance

Access Denied - CWP Insert Hyperlink



In Moss 2007

And  in content Editor Webpart -> Insert Hyperlink -> click browse -> Access Denied!

When click browse trying to access /_layouts/AssetPortalBrowser.aspx?

Even user is publisher or admin

Please let me know your thoughts


Read Uncommited (Bulk insert) and Performance


Hi all,

I have issues with Concurrency.

there has been times when updates happen on my fact table while some users read data from it at the same time, it takes a very long time and there is some blocking issues.

1.My inserts happen as Bulk inserts. I would like to know if I change my query to use NOLOCK will it still be blocked by the Bulk insert when i read? so does Bulk insert do an exclusive lock, so i cant read data?

2. changing my query to use NOLOCK is it benefical?

Please help me

Broken Images for Users with Read access



we just have moved our existing sharepoint team site to an extranet site and ran into a strange issue with images. Two of the images on our extranet site does not show up for users with Read access .They see little red "x" instead.  It only happens for two images not for all.

All images were added in Publishingimages or images folder and the library does inherit permissions from the main site.

any thoughts

Isha kapoor My SharePoint Blog Follow me

Blocking Edit Document for Read only users in SharePoint 2007

I'm trying to create a group in one of my sites that is Read only - truly read only.  Seems no matter what I do, the users can click on Edit Document, check out, check in, and the document is changed.  It doesn't show as changed in the Modified or Modified By columns, but the changes I make to test are there.  How do I create a group that can open a document, but can NOT check it out, can NOT Edit Document, and then check it back in?

"The selected cells are read-only" error on Custom Field when trying to insert in Datasheet mode

I have a custom field that works completely fine. Yesterday our QA team found out that when trying to insert in Datasheet format, the error "The selected cells are read-only" was thrown. Any ideas? I tried passing the following property to my fldtypes_field.xml file:

    <Field Name="ReadOnly">FALSE</Field>

No luck.
Victor Palma

Suddenly, documents are read-only for some users


In our SharePoint 2007 farm, some of our users are suddenly not able to modify Microsoft Office documents. This is NOT a permissions issue - the users clearly have write access to the folders involved.  When they open Office documents, they open read-only.  When they try to save Office documents, they get this error: "Documents in this folder are not available. The folder may have been moved or deleted, or network problems may be preventing a connection to the server."

The problem began around February 21 2010 when we installed the latest Windows updates on client PCs. (We are guessing the updates may have triggered the problem.) Out of 1000 users, only 10-12 have this problem, but it seems to be growing slowly (new cases every few days).

It seems like non-MS-Office documents (say, .txt files) are not affected. They are writable.

The users are running a variety of Windows versions and IE versions. They all have Office 2007, and they all used to be able to write Office documents in SharePoint.

Anybody else experiencing this? Any clues appreciated!

Hiding the ribbon when users have "read" permissions



I used the following code (below) that I got from another website to hide the ribbon when a user has "add and customize pages" permissions and it works great. All of our main users have "contribute" permissions on our SharePoint site and when they log on, they are unable to see the ribbon. Users with design and full control on the other hand, are able to see and use the ribbon, which is exactly what we needed.

Now, I need to change the permissions of all of our main users to "Read" and when I do, the users that have "Read" permissions are now able to see the ribbon. Does anyone know how to change the code I used so that users with "read" permissions CAN'T see the ribbon? I would have thought that the code I used would still hide the ribbon, but appearently it doesn't. Any ideas?


  >    Located this line:

Multiple commands on the codebehind after button_click event to insert and read inserted.


I want to be able to show the record that was just inserted after add_button_click event. I run the insert from mycommand and then set mycommand2 to run the read to populate a details view.

I have a feeling I am going about this the wrong way.

The insert fires correctly but the details view does not populate.

 Dim connectionString As String = ConfigurationManager.ConnectionStrings("ApplicationServices").ConnectionString
        Dim insertSql As String = "INSERT INTO Customers(CompanyName, CompanyAddress1, CompanyAddress2, CompanyCity, CompanyCounty, CompanyZip, CompanyState, CompanyPhone, CompanyFax, CompanyWebsite, CompanyEmail, CompanyContactFirst, CompanyContactLast, CompanyActive, CompanyID, CreatorID, CreatorCompanyID, PrivateCustomer)VALUES(@CompanyName, @CompanyAddress1, @CompanyAddress2, @CompanyCity, @CompanyCounty, @CompanyZip, @CompanyState, @CompanyPhone, @CompanyFax, @CompanyWebsite, @CompanyEmail, @CompanyContactFirst, @CompanyContactLast, @CompanyActive, @CompanyID, @CreatorID, @CreatorCompanyID, @PrivateCustomer)"
        Dim insertNewSql As String = "IF NOT EXISTS(SELECT * FROM Customers WHERE CompanyName=@CompanyName) INSERT INTO Customers(CompanyName, CompanyAddress1, CompanyAddress2, CompanyCity, CompanyZip, CompanyState, CompanyPhone, CompanyFax, CompanyWebsite, CompanyEmail, 

How to make document libraries read-only. How to block users to not able to upload or create new doc



We are planning to perform a backward migration from MOSS 2007 to WSS3.0 on one of our sharepoint farms. For this migration we like to disable the users to modify the existing doc-libraries or invidual documents. We also want to restrict the users from creating new document-libraries or upload new documents onto sharepoint sites.

Can somebody tell if there is a way to accomplish this either by using GUI or SharePoint API ?

Thanks ahead.


MS SQL Server: Disconnect Users From Database - Kill User Session

If you ever wanted to restore your database from a SQL backup file (.bak), but there are still users connected to your database, the backup operation will fail causing the error: Exclusive access could not be obtained because the database is in use.

Enabling Users to Maintain SharePoint Content

When SharePoint is installed as a corporate intranet, there is a considerable amount of effort involved in maintaining the content to keep the site relevant. As we discussed in the first few parts of this series, SharePoint has many built-in features to reduce the burden on the site administrator.

Some areas of the site usually contain less-dynamic information. Internal memos and corporate policies are common examples of this information. One option for this information is to post these documents in a document library. Documents in a library are often stored in a few different formats: Word, Acrobat (PDF), or HTML. Each of these formats has its drawbacks.

Insert value using Table Value Functions

a real gem in Sql Server 2008. mostly people still using Stored procedure may be they shifted to SQL Server but they are not using TVF right now.

Insert Rows with a GridView

In ASP.NET version 1.x, I used the footer on the DataGrid control to insert new rows by placing a series of TextBox, DropDownLists, CheckBoxes etc. controls on it and then handling a save button. This also works with the GridView in version 2.0 but with one major exception: if your data source is empty, the GridView will hide your footer (and header) and only display the EmptyDataText.

Enabling Users to Maintain SharePoint Content

When SharePoint is installed as a corporate intranet, there is a considerable amount of effort involved in maintaining the content to keep the site relevant. As we discussed in the first few parts of this series, SharePoint has many built-in features to reduce the burden on the site administrator.
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