How to remove the Drop Off Library in SharePoint 2010

In my dev environment I was testing the functionality of the Content Organizer site feature. By activating this site feature it creates a drop off library on your site. I wouldn’t recommend doing this until you have a plan in place of how you want this to work. I say this because once you enable this feature and then disable it…It does not delete the drop off library. It also won’t let you delete that library from the GUI either. The only way I have found to remove and delete that drop off library is the following:

I created a PS script and saved it to c: drive of central admin server. I open up SP management shell on this server and type > powershell -file c:\RemoveDOL.ps1

 

The script looks like this:

 

if((Get-PSSnapin | Where {$_.Name -eq “Microsoft.SharePoint.PowerShell”}) -eq $null) {

Add-PSSnapin Microsoft.SharePoint.PowerShell;

}

 

Get-SPSite -Identity https://yoursitename.com  | Get-SPWeb -Limit ALL | ForEach-Object {

 

Disable-SPFeature –Identity DocumentRouting –url $_.Url –Confirm:$false

 

$dropOffLibrary = $_.Lists[“Drop Off Library”]

 

$dropOffLibrary.AllowDeletion = “True”

$dropOffLibrary.Update()

$dropOffLibrary.Delete()

 

Hope this will help someone else facing this same issue.

Thanks!

SharePoint 2010 Alternate Access Mappings for SSL sites using BigIP F5 Load Balancer

This process took quite some time to figure out what would work with the AAM, and the F5. The first step is going to Central Admin and then Application Management and Configure alternate access mappings.

  1. Ensure you are in the proper web app collection for the AAM you want to change.
  2. You should see a internal URL with https://yoursite.com in zone Default and Public URL https://yoursite.com
  3. Edit this zone to be a short name of https://yoursite
  4. Then you will add a internal URL with https://yoursite.com in the Internet zone.
  5. Then go to your Central Admin Server and open command prompt and run: stsadm -o addalternatedomain -url https://yoursite.com -incomingurl http://yoursite.com -urlzone internet
  6. After you run this go back to Central Admin and delete the https to https internet url
  7. Then change the short name url to the long name

This is what you should see in the AAM settings for your web app:

Internal URL                                           Zone                                        Public URL

https://yoursite.com                             Default                                   https://yoursite.com

http://yoursite.com                               Internet                                 https://yoursite.com

Install and configure Foxit PDF iFilter on SharePoint 2010

Foxit PDF iFilter works great with SharePoint 2010 search. Here is the download link: http://www.foxitsoftware.com/pdf/ifilter/

Steps:

1. Download and install the x64 version Foxit PDF IFilter from the link above on App/Index Server

2. Download the small 17×17 Adobe PDF icon image from the Adobe website http://www.adobe.com/misc/linking.html and save it as “pdficon.gif” (or whatever name you like)

3. Copy the downloaded icon to “Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Images”

4. Edit the DOCICON.XML file located in “Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\XML\”

5. Under the section, add the line for PDF extension. Remember to use the same filename “icpdf.gif”

6. Central Admin > Application Management > Manage service applications > Search Service Application > File Types > Click New File Type

7. Type pdf and click ok

8. Restart the search service:

a. net stop osearch14

b. net start osearch14

9. Perform a full crawl of your content sources