How To Create SharePoint 2010 Site Collection In Its Own DB

Early this week on site deploying SharePoint 2010, the client wanted to create few site collections for their development team. He tried to create using the Central Administration and could not see any options for creating SharePoint site collections in their own databases!

Well, that’s not news to all of us in the SharePoint World! Is it?

Read the rest of this entry »

Remove SharePoint 2010 Social Tags Ribbon Control

In recent weeks, SharePoint 2010 deployments have kicked off and I am collecting as much information as possible and will be sharing them here as time permits.

Just saw this on the MSDN Forums today and I think this one ‘trick’ I must make a note of such, just in case.

This is an unusual request, but a valid one, since I strongly believe and advise (since SharePoint 2007 days – geez sounds antiquated!) that social aspects aka My Sites should be the last thing to be switched on in a SharePoint roll out… especially when the organisation and IW’s are just embarking on their SharePoint journey. That’s my opinion based on my experience here.

Well to track back to this forum thread, the requirement was to Remove "I like It" , "Tags & Notes" none

 

Solution

From Central Administration

Navigate to System Settings

Manage Farm Features (_admin/ManageFarmFeatures.aspx)

Deactivate the Social Tags and Note Board Ribbon Controls

image

 

OR

 

From SharePoint 2010 Management Shell

Disable-SPFeature –Identity SocialRibbonControl

 

That’s it!

How To: Change the MOSS Site Port to Port 80

My solution on Social TechNet Forum.

 

Scenario

MOSS 2007 site setup using port 2000, so the URL looked like http://justsharepoint.com:2000

Having such a URL is not a great idea, especially when you have to type in the port number 2000! Why can’t we simply type in http://justsharepoint.com and be done with!!

Read the rest of this entry »

Multiple SSL sites with host headers

Situation

  • Configuration of multiple web applications using host headers for extranet.
  • Configure for extranet on port 443 (SSL)
  • Configure using Wild Card Certificate

Error

When I tried to configure the second web application, the web site stopped with the error

Cannot create a file when that file already exists

Resolution

In the given situation, multiple host headers are to be configured to use port 443. Since we are using multiple web applications on the same secure port you will need to use the ADSUtil to configure the “SecureBindings”

In addition to installing a wildcard server certificate on SSL-enabled Web sites, it is recommended to configure the SecureBindings metabase property on each site so it contains the host header name of the site. All SSL-enabled sites that use the same IP/port binding and are distinguished only by host header name must use the same wildcard server certificate.

To configure the SecureBindings metabase property for SSL host headers

From the command prompt navigate to c:\inetpub\adminscripts

Type the following command at the cmd prompt

cscript.exe adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:<host header>"

where host header is the host header for the Web site, for example, extranet.justsharepoint.com

where site identifier is the identifier for your web site in IIS.

Sample command

cscript.exe adsutil.vbs set /w3svc/848820626/SecureBindings ":443:extranet.justsharepoint.com"

 

How to configure MOSS 2007 to crawl content within PDF

 

Installation Requirements

· Download Adobe Reader v.8

· Download Adobe PDF IFilters 6.0

· Download the pdf icon image clip_image002 of size 17X17 from here and save it as "icpdf.gif" somewhere to the local hard disk

Installation Steps

· Start –>Run–>> Services.msc and stop the IIS Admin service.

· Run the IFilters installer on the Indexing Server.

· Copy the icpdf.gif to the following location "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images" (Web front end servers)

· Edit the DOCICON.XML, in the following location “C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml\” (Web front end servers)

o Add this entry in the DOCICON.XML: <Mapping Key="pdf" Value="icpdf.gif"/>

· Add the filter-extension to the File types crawled: Start -> Program -> Microsoft Office Server -> SharePoint 3.0 Central Administration  -> <Name of Shared Service Provider> -> Search Settings -> File Types -> New File Type (Add extension  pdf here)

· Modify the following Registry keys by changing their "Default" value to the new CLSID of the Adobe IFilter:  {E8978DA6-047F-4E3D-9C78-CDBE46041603} HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf

Default –> {E8978DA6-047F-4E3D-9C78-CDBE46041603}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf

Default –> {E8978DA6-047F-4E3D-9C78-CDBE46041603}

· Add the Installation directory of the Adobe Reader v.8 to the System Path.

· Perform an IIS RESET

· Recycle the search service:

  • net stop osearch
  • net start osearch

· Perform the crawl again

Tip: Recycle IIS Application Pool

As a developer, quite often you may have to recycle the application pool. IISReset is an option, alternatively you can just recycle a particular application pool.

Denny has a tip to just get this done!

cscript c:windowssystem32iisapp.vbs /a “[App_Pool_Name]” /r

Source

HowTo: Set Permissions for Comments on SharePoint Blog

If you want to allow your blog visitors to comment on blog posts you will need to explicitly allow them to do so. To achieve this, you will need to setup unique permissions on your blog.
Here is the procedure:
1. Open http://your_blog_url/Lists/Comments/AllComments.aspx
2. Select Settings > List settings
3. Select Permissions and Management > Permissions for this list
4. Open Actions >Edit permissions (confirm this action when dialog pops-up)

Now you can setup unique permissions for this list. From this step forward you can add permissions for a specific user. The best approach is to give the Visitors group “Contribute” rights for this entire list.

You will also need to limit user’s ability to edit and delete only his comments.
The procedure is as follows:
1. Open http://your_blog_url/Lists/Comments/AllComments.aspx
2. Select Settings > List settings
3. General Settings> Advanced Settings
4. Choose “Only their own? for Edit access option

Source