How to open PDF files in browser and set file type association icons in SharePoint 2010?


SharePoint 2010 Won’t Open PDFs

I was searching on the internet for the reason of this issue and fixing it so I found the following it worked with me fine and witout any needing to restart IIS

The reason

  • First Looks like IIS is adding the http header X-Download-Options: noopen which forces the browser to download the file instead of opening it.   This new header is used by IE 8 to protect from script injection attacks.

Scenario:

How to open PDF files in browser and set file type association icons in SharePoint 2010?

Explanation:

Those who have experience with SharePoint 2010 may have noticed that pdf files in SharePoint 2010 do not open in browser by default. SharePoint 2010 throws a prompt to save the pdf file.
This is by behavior in SharePoint 2010 and is very annoying especially when you have a requirement to show a pdf file in a Page Viewer Web Part, etc…

Luckily there is a workaround to fix this issue.

Open Central Admin > Application Management > Manage Web Applications.
Choose a web application and click “General Settings”.

Scroll towards the bottom of the page until you find the section “Browser File Handling”.
Change the option from “Strict” to “Permissive”.

Go back to the document library and click on the pdf file. It should open in the browser. (Perform an IISRESET if required.)

You may also have noticed that the icons for pdf files do not show up by default in SharePoint 2010.go to the following link to solve this problem

https://profadmins.com/2012/03/20/adobe-pdf-ifilter-indexing-with-sharepoint-2010/

for further details go to

http://underthehood.ironworks.com/2010/09/how-to-open-pdf-files-in-browser-and-set-file-type-association-icons-in-sharepoint-2010.html

http://www.adobe.com/special/acrobat/configuring_pdf_ifilter_for_ms_sharepoint_2007.pdf

Enhanced by Zemanta
Advertisements

Global Catalog


What is Global Catalog

Global catalog servers store a single, writable domain and a partial, read-only replica of all other domains in the forest. A partial replica means that the global catalog stores all objects, but with a limited set of attributes on each object.

How to know the Global Catalog server?

Check the properties of the NTDS Settings object of the server object in Active Directory Sites and Services to confirm that a domain controller is a global catalog server.

Enhanced by Zemanta

To Reset the DSRM Administrator Password


1.     Click Start, click Run, type ntdsutil, and then click OK.

2.     At the Ntdsutil command prompt, type set dsrm password.

3.     At the DSRM command prompt, type one of the following lines:

To reset the password on the server on which you are working, type reset password on server null. The null variable assumes that the DSRM password is being reset on the local computer. Type the new password when you are prompted. Note that no characters appear while you type the password.
-or-

 To reset the password for another server, type reset password on server servername, where servername is the DNS name for the server on which you are resetting the DSRM password. Type the new password when you are prompted. Note that no characters appear while you type the password.

4.     At the DSRM command prompt, type q.

5.     At the Ntdsutil command prompt, type q to exit.

APPLIES TO

  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Small Business Server 2003 Premium Edition
  • Microsoft Windows Small Business Server 2003 Standard Edition
Enhanced by Zemanta

UPGRADING ACTIVE DIRECTORY TO WINDOWS 2008 R2 ADDS DOMAIN


Windows Server 2008 R2 screenshot

Windows Server 2008 R2
Windows Server 2008 R2 (Photo credit: Wikipedia)

Purpose & Objective

This guide explains the process for upgrading Active Directory domains to Windows Server 2008 and Windows Server 2008 R2, how to upgrade the operating system of domain controllers, and how to add domain controllers that run Windows Server 2008 or Windows Server 2008 R2 to an existing domain.

1          Introduction

Upgrading your network operating system requires minimal network configuration and typically has a low impact on user operations. The upgrade process is straightforward, efficient, and allows organization to take advantage of the improved security that is offered by the Windows Server® 2008 and Windows Server 2008 R2 operating systems.

This guide is intended for use by system administrators and system engineers. It provides detailed guidance for upgrading Windows Server 2003 Active Directory domains to Active Directory Domain Services (AD DS) domains that have domain controllers running Windows Server 2008 or Windows Server 2008 R2. For a seamless deployment experience, use the checklists that are provided in this guide and complete the tasks in the order in which they are presented.

Purpose & Objective

This guide explains the process for upgrading Active Directory domains to Windows Server 2008 and Windows Server 2008 R2, how to upgrade the operating system of domain controllers, and how to add domain controllers that run Windows Server 2008 or Windows Server 2008 R2 to an existing domain. Continue reading

Set or change the database collation


To set or change the database collation

  1. In Object Explorer, connect to an instance of the SQL Server Database Engine, expand that instance, and then expand Databases.
  2. If you are creating a new database, right-click Databases and then click New Database. If you do not want the default collation, click the Options page, and select a collation from the Collation drop-down list.Alternatively, if the database already exists, right-click the database that you want and click Properties. Click the Options page, and select a collation from the Collation drop-down list.
  3. After you are finished, click OK.

SharePoint 2010 Exam 70-667


some important useful questions in the sharePoint Exam 70-667

1-      You have a sharepoint 2010 server farm. You have a web application. The zones for the web application are configured as:
Default http://webapp.contoso.com
Extranet http://extranet.contoso.com
You need to prevent all users from changing the document library settings for the extranet zone. You must achieve this goal without affecting access to the default zone. What should you do?

Create a custom permission policy that denies the manage lists permission. Apply the custom permission policy to the domain users in the extranet zone.

2-     You are the administrator of a sharepoint 2010 farm. You need to ensure that deleted documents are stored in the sharepoint recycle bin for 60 days. What should you do?

From Central Administration, modify the web application general settings. (Web Applications, Manage web applications, General Settings, General Settings, Recycle Bin, Delete items in the recycle bin after ___ days.)

3-     You are the administrator of a sharepoint 2010 farm. You need to automatically backup the server every day. What should you do?

From windows Task Scheduler, create a task that runs stsadm.exe.

4-     You are the administrator of a sharepoint 2010 farm. You need to back up a site collection by using a Microsoft SQL database snapshot. What should you do?

From the sharepoint 2010 management shell, run the backup-spsite cmdlet.

At the Windows PowerShell command prompt type the following command:
Backup-SPSite -Identity <Site collection name> -Path <backup file> [-Force] [-NoSiteLock] [-UseSqlSnapshot] [-Verbose]
If the database server is running an Enterprise Edition of Microsoft SQL Server, we recommend that you also use the UseSqlSnapshot parameter for more consistent backups. You can also export sites or lists from these snapshots.

5-     You have a Microsoft SQL server 2008 server named server1. You install Sharepoint server 2010 on a server named server2. Server 1 and Server2 are joined to the same active directory domain. You create a domain user account named admin1. On server2 you add admin1 to the local administrative group. You need to ensure that admin1 can create a server farm with the least amount of permission granted. What should you do?

On server1, assign the dbcreator and the security admin server roles to admin1.

http://quizlet.com/3088338/sharepoint-2010-exam-70-667-flash-cards/

How to delegate control move computer objects from one OU to another


Move Computer accounts between OUs

In ADUC, right click the first OU and select Delegate Control.

  1. Add the user or  group you want.
  2.  Select the “Create a custom task to delegate” option and click Next.
  3. Select “Only the following objects in the folder”
  4. Check the box before “Computer objects” in the list.
  5. Check the box before “Create selected objects in this folder” and “Delete selected objects in this folder”. Click Next.
  6. Check the box for “Write”.
  7.  Click Next and Finish.
  8. Perform the same steps on another OU.