kwizcom banner advertisement

Open PDF files in browser from SharePoint 2010

7:12 PM    , , ,
By default, SharePoint 2010 doesn't allow you to open the PDF files directly in the browser, Instead it prompts a "Save" Dialog box. This is because of the Web application's general settings. We can open pdf instead save. To Make SharePoint 2010 to Open PDF documents in browser: Go to Central Administration >> Application Management >> Select the web application >> and click on "General Settings". Now in "General Settings" Dialogue box, set the "Browser File Handling" to "Permissive". Now you can open PDF documents in browser from SharePoint 2010.   Lets use PowerShell to instruct SharePoint open PDF not save: #Get web application $WebApp = Get-SPWebApplication "http://sharepoint.crescent.com" #Set property as Permissive $WebApp.BrowserFileHandling = "Permissive" #Update the changes $WebApp.Update() BrowserFileHandling at List/Library Level: In some cases, BrowserFileHan
Open PDF files in browser from SharePoint 2010 Open PDF files in browser from SharePoint 2010 Reviewed by Salaudeen Rajack on 7:12 PM Rating: 5

Create SharePoint 2007 Site Collection in New Content Database

12:46 PM    , , , , ,
Create SharePoint Site Collection in a Specific Content Database Ever wanted to create New Site collection in a particular database or Restore the site collection backup to a specific database? If Yes, Here is the simple Trick: Increase the Maximum Number of Sites. SharePoint places New Sites in the content database where the [Maximum Number of site - Current Number of Sites] delta is a large number! In Central admin > Manage Content Database page set these options: For all other existing databases Set the Maximum number of sites = current Number of sites  Warning Level = Maximum number of sites -1 and then Set the Maximum number of sites and Warning Level values to Larger number of your desired database! Then you can create or Backup-Delete-Restore your site collections. Generally SharePoint will place the new site in this particular DB based on the difference between "Current number of Sites" and the "Maximum Number of Sites". Say for e.g. I
Create SharePoint 2007 Site Collection in New Content Database Create SharePoint 2007 Site Collection in New Content Database Reviewed by Salaudeen Rajack on 12:46 PM Rating: 5

Service Unavailable: HTTP Error 503. The service is unavailable in SharePoint

2:29 PM    , , , ,
Service Unavailable: HTTP Error 503. The service is unavailable error normally occurs whenever the password for application pool identity account is changed or application pools are in stopped state. This error may appear temporarily when you deploy solutions. In my case, I realized that password got changed for the Identity account. Its a best practice to set "Password never expire" option for service accounts, BTW! Here are the steps to resolve:   If you are Running SharePoint in Windows 2003: Go to Start >> All Programs >> Administrative Tools >> Internet Information Services (IIS) Manager. Locate your App Pool account and right-click on it and select ‘Advanced Settings’. Go to process model then Identity Click on the Identity >> Set and then give the user name, password and confirm password. Hope this will work fine after that. Here is the Microsoft KEDB: http://support.microsoft.com/kb/823552 If you are Running SharePoint in Wi
Service Unavailable: HTTP Error 503. The service is unavailable in SharePoint Service Unavailable: HTTP Error 503. The service is unavailable in SharePoint Reviewed by Salaudeen Rajack on 2:29 PM Rating: 5

SharePoint URL Shortcuts

1:48 PM    , ,
Here is the list of Quick URL Shortcuts to Frequent SharePoint Links: Add web parts to any page: append  ?PageView=Shared&ToolPaneView=2 Create New Site Content (List, Library, etc)  /_layouts/create.aspx Create New Site: _layouts/NewsbWeb.aspx List Template Gallery: _catalogs/lt/Forms/AllItems.aspx Master Page Gallery: _catalogs/masterpage/Forms/AllItems.aspx Manage your Alerts   _layouts/SubEdit.aspx  Create New Alert: _layouts/SubChoos.aspx Manage Site Collection Administrators  /_layouts/mngsiteadmin.aspx Manage Sites and Workspaces /_layouts/mngsubwebs.aspx Manage People  /_layouts/people.aspx All Peopl e view : /_layouts/people.aspx?MembershipGroupId=0 Manage User Permissions /_layouts/user.aspx Modify Navigation  /_layouts/AreaNavigationSettings.aspx Modify Site Navigation: _layouts/SiteNavigationSettings.aspx Recycle Bin /_layouts/AdminRecycleBin.aspx Site Directory _layouts/SiteDirectorySettings.aspx Save Site as Template: _layouts/savetmpl.aspx Si
SharePoint URL Shortcuts SharePoint URL Shortcuts Reviewed by Salaudeen Rajack on 1:48 PM Rating: 5
Introduction to PowerShell Introduction to PowerShell Reviewed by Salaudeen Rajack on 7:44 PM Rating: 5

Managing Features in SharePoint using PowerShell & STSADM

2:07 PM    , , , , , ,
SharePoint Features are part of deployment unit that typically consists of set of functionality such as customization, application pages, list schema, etc. that can be activated and de-activated at various levels in SharePoint. Features consists of "Feature.xml" file and any other supporting element files. Generally Features to be activated or deactivated from SharePoint User Interface. Apart from web interface, Features can be installed/activated/deactivated/uninstalled using STSADM tool, PowerShell, Or Object Model. Feature Scope id defined by Scope attribute in feature.xml. They have four possible scopes:     Farm     Web application     Site     Web How to install SharePoint feature using stsadm stsadm -o installfeature -filename {FeatureFolder}\feature.xml Install-SPFeature -Path "FeatureFolder" -Force Where the "FeatureFolder" refers to a folder in SharePoint hive (14/15/16). To activate SharePoint feature using stsadm stsadm –o
Managing Features in SharePoint using PowerShell & STSADM Managing Features in SharePoint using PowerShell & STSADM Reviewed by Salaudeen Rajack on 2:07 PM Rating: 5

Custom Branded Links Section - Using DVWP XSL

7:35 PM    , , , , , ,
How about having a quick link section with images and links in our SharePoint site? yeah, good idea. How about make it configurable? I mean, quick link titles, links, images manageable by end user. Well, at high level idea, what you have to do is: 1. Create a list with Title, Description, image, etc columns. 2. Customize the SharePoint data view web part; once done export and import the web part where ever we need. Sounds good? yeah, we'll look in to the implementation Create a simple list with Title, Description, and image columns: Here is one I've done: and i've filled the list with few entries, so now my list is looking like: So, our list is ready, we've to customize our list by using Data view web part. Or you can just copy paste the below code, which i took from my customized data view web part, into a text file, name it to xxxx.webpart, and import this web part to your page :-) <webParts> <webPart xmlns="http://schemas.micr
Custom Branded Links Section - Using DVWP XSL Custom Branded Links Section - Using DVWP XSL Reviewed by Salaudeen Rajack on 7:35 PM Rating: 5

This session has exceeded the amount of allowable resources - Infopath form services error

11:58 AM    , , , , ,
Apparently, to fix this issue we need to increase the Session state value. I double checked it by examining event logs and verified it. Event id: 7083 logged multiple times.  So, the fix is to increase the session state value. Here is how to do that Go to Central Administration >> Application Management >> Configure Info Path Form Services (under InfoPath Forms Services ) and increase the value accordingly. By default it would be: 4096, in my case I increased it to: 8192, and the error gone away! Another error in similar area:   users received errors in InfoPath forms, as - Number of form actions, 235, has exceeded 200, the maximum allowable value per request. This value is configurable and can be changed by the administrator. and Event ID: 5737 logged multiple times. To fix this issue, increase the Number of actions per postback value.
This session has exceeded the amount of allowable resources - Infopath form services error This session has exceeded the amount of allowable resources - Infopath form services error Reviewed by Salaudeen Rajack on 11:58 AM Rating: 5

HTTP Error 401 - Not Authorized Error in SharePoint site with Kerberos Authentication Enabled

3:16 PM    , , , , , ,
In a new SharePoint web application, it prompted for user name and password repeatedly and finally resulted in  "Not Authorized - HTTP Error 401. The requested resource requires user authentication" - in the SharePoint site with Kerberos Authentication Enabled. Here is some more spec: MOSS 2007, Windows 2008, IIS 7.5. Solution : With IIS 7.5, kerberos enabled for SharePoint, we must turn OFF the "Kernel Mode Authentication". Here is how: 1. Open the IIS, Select the authentication feature of the appropriate web application 2. Select the authentication mode which is enabled, click on Advanced settings 3.  Make sure you have unselected the "Kernel Mode Authentication" 4. Do an IISReset
HTTP Error 401 - Not Authorized Error in SharePoint site with Kerberos Authentication Enabled HTTP Error 401 - Not Authorized Error in SharePoint site with Kerberos Authentication Enabled Reviewed by Salaudeen Rajack on 3:16 PM Rating: 5
Powered by Blogger.