Skip to main content

Posts

Content Type Hubs – Publish and Subscribe to Content Types

Good article published in Chaks' Croner MOSS 2007 Say for example you have a Site Collection Web Application1 and you have created a series of content types to use. Now, you create Web Application 2 and find the necessity to reuse the content types created in Web Application 1 . There is no way you could share or reference those content types created in Web Application 1 in Web Application 2 . The only way possible is to create or write an application which would install those content types. This situation is pretty common in large organizations. This can be even considered for exposing base content types you use across multiple web applications in the farm. Below is the diagram representing the above chaos: SharePoint 2010 SharePoint 2010 now introduces a new feature called Content Type Hubs .Content Type Hub is a central location where you can manage and publish your content types – so now web applications can subscribe to this hub and pull down the published content types fr...

Enable Claims based Auth on a SP2010 website, after it has been provisioned

When you provision a web app in SP2010, you can choose it to use Claims Based Auth or Classic Auth right through the GUI. However, after you have provisioned a web app, there is no GUI to switch from Classic to Claims based. So the below powershell script will let you convert a SP2010 website to claims based auth after it has been provisioned. 1: $w = Get-SPWebApplication "http://sitename" 2: $w.UseClaimsAuthentication = "True" ; 3: $w.Update() The user running the above script should be a member of the SharePoint_Shell_Access role on the config DB, and a member of the WSS_ADMIN_WPG local group.

Estimate MOSS Search Disk Space Requirements:

what estimates can be made on the disk space requirements for Index server, Query Server and Database Server. Index server disk space requirements: To estimate the index server disk space requirements, we recommend that you use the following calculations: • Size of data crawled = Y • Size of index on index server = a range of 5% through 12% * Y = X • Initial disk space = 2.5*X. A large amount of index server disk capacity is required to accommodate backups, which must reside on the same disk as the index, and to accommodate the merge process when crawled data is merged with the index. Note: The volume of crawled data can differ based on the content source. A content source is a set of options that you can use to specify what type of content is crawled, what URLs to crawl, and how deep and when to crawl. For example, if the content source specifies file-share content, the index size can be up to 30 percent of the size of the content. Content Index Sizing: You can estimate the size...

User Unable to Create Page (User has Full Control)

Ran into an odd little issue this morning where users in a publishing site could not create new pages. The reason they couldn’t create a new page turned out to be because they did not have read rights on the masterpage gallery. The symptoms are basically access denied pages when any user with full control or design rights chooses to create a page in a publishing site. When they create the page they get the typical “Error: Access Denied” page and can either sign in as another user or request access. I resolved it by going to Site Actions -> Site Settings -> Modify All Site Settings . Select the option Page layouts and site templates and then select the option to Reset all subsites to inherit these preferred subsite template settings for both subsites and page layouts. This is sort of related to the publishing the default master page; an obvious permission issue.

Add a SharePoint folder to Windows 7’s Explorer

Windows XP has a feature called "My Network Places" where you could very easily make a website folder (SharePoint folders) or FTP folders available in Windows Explorer. Windows 7 also has the feature, but it is somewhat hidden. Here’s how to make it work in Windows 7. 1. Using Internet Explorer browse to the location that you’d like to make available in Windows Explorer. 2. In SharePoint click the ‘Action’ button, and select ‘Open in Windows Explorer’ 3. A new explorer window will open. 4. Right-Click the folder that you would like to make available in Windows Explorer and select ‘Copy address as text’. 5. Right-click Computer, and click "Add a network location". 5. Click Next. 6. Select ‘Choose a custom network location’. 7. Paste in the URL copied in step 4. And, click ‘Next’. 8. Give the location a name: 9. Click ‘Finish’ 10. This new location will now be available in windows explorer by the name provided.

SharePoint Error: Code blocks are not allowed in this file

Problem Users report the following error when attempting to access a document library in SharePoint. An error occurred during the processing of /site/SharedDocuments/Forms/AllItems.aspx. Code blocks are not allowed in this file. Explanation Ever so often I have clients contact me with a SharePoint library fully corrupted reporting an error such as “Code blocks are not allowed in this file”. The error is, in fact, limited to a specific view but it’s usually the default view, therefore the error makes the library appear like it is completely inaccessible. The root cause of the error is simple – a user replaced a view file from the /forms/ folder of the document library, typically “AllItems.aspx” such as the screenshot below suggests. Typically this occurs when the user is using explorer view but I’ve heard of manifest presentations of this error as well. Solution – Option 1 1) Open site that contains the library 2) Click on “Site Actions” >> “Site Settings” to view the site sett...

No Create functionality available under SharePoint

Recently we noticed that one of our site collection's site actions menu items has no Create menu. The site actions menu has only View all site content, View Reports and Manage and Content Structure. This site collection has enabled publishing features. We found that even Farm admin/Site collection admin are not able to see "Create" menu. When we try to the URL "../_layouts/create.aspx" got access denied error message for every one including Farm admins. After we did several investigation, we found that the site collection was locked and it was in Read-Only mode. Solution: Go to Central Administration > Application Management > Site Collection Quotas and Locks Select the Site Collection and chose the correct option to unlock the site as below. Lock status for this site: Not locked Adding content prevented for Read-only (blocks additions, updates, and deletions) No access We selected the Option called "Not-Locked" after that it start...