kwizcom banner advertisement

How to Delete Unused (Orphaned) Service Application App Pool in SharePoint 2010

6:16 PM    , , , ,
When you delete the Service applications, their Application Pools will not get deleted - They'll become orphan/unused. So later when you create a new service application with same application pool, SharePoint will throw an error message: Application pool is already in use! "An object of the type Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool named "Excel Service Application Pool" already exists under the parent Microsoft.SharePoint.Administration.SPIisWebServiceSettings named "SharePoint Web Services". Rename your object or delete the existing object." In another case: An application pool already exists with the name specified So, How to delete the unused application pool? From IIS? Nope. IIS will not provide the interface for managing service application's application pools. But we can delete service application's application pool in SharePoint 2010 using powershell. Use these below cmd-let to get list of serv
How to Delete Unused (Orphaned) Service Application App Pool in SharePoint 2010 How to Delete Unused (Orphaned) Service Application App Pool in SharePoint 2010 Reviewed by Salaudeen Rajack on 6:16 PM Rating: 5

Upload Multiple Documents, Explorer Views Disabled or Missing in SharePoint?

4:50 PM    , ,
Found Upload multiple documents and Explorer views are disabled (in some cases, they are missing!) in a SharePoint 2010 site! Here are the possible causes and solutions for upload multiple documents, explorer view disabled or missing in SharePoint 2010:  As of now, This feature is available only in IE 32 bit. (Not in 64-bit internet explorer, Google chrome, Firefox) Try adding the site in Trusted sites' list in IE Check whether You have not enable "Client Integration" in SharePoint IE security setting may blocked the STSSYNC ActiveX add on - Enable it from "Manage Addons" in IE (check for STSUpld UploadCtl Class. This feature depends on Ms-Office, Check whether you have Office installed on the client. If you have it installed, Try running the office diagnostics or even try re-installing office Disable the IE ESC if enabled! Check the path of the folder in which you are trying to upload. It should not exceed the 256 character limit.
Upload Multiple Documents, Explorer Views Disabled or Missing in SharePoint? Upload Multiple Documents, Explorer Views Disabled or Missing in SharePoint? Reviewed by Salaudeen Rajack on 4:50 PM Rating: 5

SharePoint 2010, MOSS 2007 CSS Reference Charts

11:18 PM    , , , ,
Here are the links for CSS Reference charts for SharePoint 2010 and MOSS 2007. SharePoint 2010:   http://sp2010notes.wordpress.com/sharepoint-2010-css-chart/ http://sharepointexperience.com/csschart/csschart.html http://erikswenson.blogspot.com/2010/01/sharepoint-2010-base-css-classes.html http://jassimkhan.blogspot.com/2010/04/branding-in-sharepoint-2010-css-classes.html MOSS 2007:   http://www.heathersolomon.com/content/sp07cssreference.htm
SharePoint 2010, MOSS 2007 CSS Reference Charts SharePoint 2010, MOSS 2007 CSS Reference Charts Reviewed by Salaudeen Rajack on 11:18 PM Rating: 5

SharePoint Link list: Open in a New Window

2:52 PM    , , , , , ,
In SharePoint, We can put any URLs in the Links list. Unfortunately, when clicking these links, the default behavior is for the page to open in the current browser window. That is, it does NOT open the page in a new instance of the browser. Often this is annoying, isn't it? How to open SharePoint link list item in a new window? Well, There are many ways to solve this issue: 1. Simplest solution is, Enable publishing feature, Create a site column of "Hyperlink with formatting and constraints for publishing" type, Add this Site column in your new list. Now you will get an option to open in new window! Here is how: Step 1: Create a Site column of type "Hyperlink with formatting and constraints for publishing" (Site Actions >> Site settings >> Site columns >> Create ) Step 2: Add this Site column in your new list (List Settings >>Add from Existing) Now, You will get a option to specify whether it should open in New window.
SharePoint Link list: Open in a New Window SharePoint Link list: Open in a New Window Reviewed by Salaudeen Rajack on 2:52 PM Rating: 5

404 Page Not Found Error After Migrating from MOSS 2007 to SharePoint 2010

5:38 PM    , , , ,
After migrating from MOSS 2007 to SharePoint 2010, All the Sub-sites scolded me with: 404 Page Not Found error! But still able to get into the inner pages/document/site settings. Common causes for HTTP 404 Not Found issue:  Verify the Host header in IIS and make sure its valid. Managed Path which were present in old environment may not be there in New Environment. Alternate access mapping - Make sure you have the Alternate access mapping set correctly and you are accessing using the right alternate access mapping, access your site with FQDN. If you are accessing the site using IP address, then update your DNS Entry/HOST file But in this case, all above things were set to right. Looked at the event viewer, Logs files but could not figure out the cause of this problem. Verified Welcome page settings, Confirmed that the Default.aspx exists in the site by Opening site in  SharePoint Designer. After scratching the head and with little trial and error figured out the solution:
404 Page Not Found Error After Migrating from MOSS 2007 to SharePoint 2010 404 Page Not Found Error After Migrating from MOSS 2007 to SharePoint 2010 Reviewed by Salaudeen Rajack on 5:38 PM Rating: 5

SharePoint 2010 InfoPath Form Error: The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.

4:41 PM    , , , ,
You may receive this error when trying to publish a InfoPath Form in SharePoint 2010: "The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator."   Resolution: You need to install the ‘State Service’. Open the PowerShell for SharePoint, Run the below cmd-lets: 1. Create Session State service application: $serviceApp = New-SPStateServiceApplication -Name "State Service" 2. Create a State Service database and associate it with a service application New-SPStateServiceDatabase -Name "SP2010_State_Service" -ServiceApplication $serviceApp 3. Create a State Service Application Proxy and associate it with the service application New-SPStateServiceApplicationProxy -Name "State Service" -ServiceApplication $serviceApp -DefaultProxyGroup Other settings to verify: Verify that the State Service Service Application is enabled:
SharePoint 2010 InfoPath Form Error: The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator. SharePoint 2010 InfoPath Form Error: The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator. Reviewed by Salaudeen Rajack on 4:41 PM Rating: 5

Resize the Oracle Virtual Box VDI image

12:42 AM    , ,
I was trying to setup a virtual environment for SharePoint 2010 in my 64 bit lap top running windows XP. So I downloaded the Oracle virtual Box,  created 20 GB image, installed windows server 2008, SQL Server 2008 and other things needed by SharePoint 2010. Finally i installed SharePoint 2010 on the virtual box. Ah.. Here is the Big mistake I have committed. you know what? I allotted only 20 GB for the virtual box HDD image(VDI). I could not extend my hard disk. Now i'm running out of space.. So, Now I need additional space in my Virtual HDD badly. I tried many tools, like Norton ghost to back up and restore to a newly created image with 40 GB. but nothing worked for me. Finally, I solved the issue. 1. Create a new image, say for eg. SharePoint2010.vdi with 40 GB space. 2. Now go to: C:\Program Files\Oracle\VirtualBox, and execute the below command. VBoxManage clonehd --existing "D:\VirtualBox\Windows 2008.vdi" "D:\VirtualBox\ShareP
Resize the Oracle Virtual Box VDI image Resize the Oracle Virtual Box VDI image Reviewed by Salaudeen Rajack on 12:42 AM Rating: 5

Export to Excel - From SharePoint user control based web part

6:04 AM    ,
My Requirement is to design a web part while pulls the data from SQL Server and display over the grid based on logged in user. Yes, Its pretty straight forward. so I designed the below web part. Just a grid with with few lables and drop downs. Now, the end users require Export to excel functionality. So, I placed a button at the bottom of the web part , and wrote the code for Exporting from Data grid to excel. public void ExportToExcel () { try { HttpContext . Current . Response . Clear (); HttpContext . Current . Response . AddHeader ( "content-disposition" , string . Format ( "attachment; filename=Charge Report.xls" )); HttpContext . Current . Response . ContentType = "application/ms-excel" ; using ( StringWriter sw = new StringWriter ()) { using ( HtmlTextWriter htw = new HtmlTextWriter ( sw )) { // Create a form to contain the grid Table table = new Table (); table . GridLines = GridView . GridLines ; // add the
Export to Excel - From SharePoint user control based web part Export to Excel - From SharePoint user control based web part Reviewed by Salaudeen Rajack on 6:04 AM Rating: 5
Looking for Copying content from dev Server to Prod server? Looking for Copying content from dev Server to Prod server? Reviewed by Salaudeen Rajack on 10:27 PM Rating: 5

Deploy SharePoint Solution Packages (WSP) with PowerShell and STSADM

2:00 PM    , , , ,
SharePoint solution packages (wsp) can be managed using either STSADM command line tool (in MOSS 2007) or with PowerShell cmdlets with SharePoint 2010 (such as deploy solution package with PowerShell). This article gives the reference for Managing SharePoint solutions using both of them with examples.   To add a solution package to the farm: Add wsp with stsadm: stsadm –o addsolution –filename mysolution.wsp Add SharePoint solution using PowerShell: Add-SPSolution "mysolution.wsp" Add-SPSolution - MSDN Reference Install/Deploy a Solution to the Farm: STSADM command for wsp deployment: stsadm –o deploysolution –name mysolution.wsp –url http://mysharepointsite –allowgacdeployment –immediate SharePoint 2010 PowerShell to deploy/install wsp: Install-spsolution -identity mysolution.wsp -webapplication http://mysharepointsite -gacdeployment -force MSDN Reference Upgrade an existing Solutions: Update wsp solution with STSADM: stsadm –o upgradesolution –
Deploy SharePoint Solution Packages (WSP) with PowerShell and STSADM Deploy SharePoint Solution Packages (WSP) with PowerShell and STSADM Reviewed by Salaudeen Rajack on 2:00 PM Rating: 5

Applying MOSS 2007 Service Packs/Patches - Steps and Best practices

10:51 AM    , , , ,
Well, its inevitable in a SharePoint administrator's life, Applying service packs or patches to the environment. Here are the steps, I've learned in my implementations. First, its a good idea to have a maintenance page for your website, in order to avoid a typical "404 - page not found" to the end users. You can design a page and host in to any QA server or any other dedicated backup servers then place a redirect in ISA Server. Here is the simple one I've done.  Maintenance Page for SharePoint - Quick way to Implement OK, Maintenance page is ready! Let plan for patching. Here are the steps: 1. Download the relevant service packs for both WSS and MOSS (doesn't matter, if you have MOSS only installed. You need to have both, because MOSS runs on top of WSS) from Microsoft site, say for e.g. I've downloaded August 2010-CU for 64 bit from Microsoft site. 2. Before start installing the patches, its a good idea to remove the content db's. Thi
Applying MOSS 2007 Service Packs/Patches - Steps and Best practices Applying MOSS 2007 Service Packs/Patches - Steps and Best practices Reviewed by Salaudeen Rajack on 10:51 AM Rating: 5

Object reference not set to an instance of an object - SharePoint 2007 Search Error

5:31 PM    , , , ,
Today, I installed MOSS 2007 on a machine, which is not in the domain. Everything worked well, but when I tried search I got this error: Object reference not set to an instance of an object.   at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnLoad(EventArgs e)    at System.Web.UI.Control.LoadRecursive()    at System.Web.UI.Control.LoadRecursive()    at System.Web.UI.Control.LoadRecursive()    at System.Web.UI.Control.LoadRecursive()    at System.Web.UI.Control.LoadRecursive()    at System.Web.UI.Control.LoadRecursive()    at System.Web.UI.Control.LoadRecursive()    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) So, What is the resolution? Simple. just set the AAM Entry
Object reference not set to an instance of an object - SharePoint 2007 Search Error Object reference not set to an instance of an object - SharePoint 2007 Search Error Reviewed by Salaudeen Rajack on 5:31 PM Rating: 5

Install SharePoint 2007 in Windows Server 2008 R2 - This program is blocked due to compatibility issues

10:50 AM    , , ,
When I tried installing SharePoint 2007 in Windows server 2008 R2, I got this error "This program is blocked due to compatibility issues" This is because: SharePoint 2007 is not compatible with Windows Sever 2008 R2. We need to download the service pack and merge with SharePoint Installers, then run the setup again! Here is what you have to do to resolve this error: Get the updates from this URL: http://technet.microsoft.com/en-us/office/sharepointserver/bb735839.aspx 1. Download WSS and MOSS SP2 patches Windows SharePoint Services 3.0 Service Pack 2 (SP2) - English http://www.microsoft.com/downloads/details.aspx?FamilyId=79BADA82-C13F-44C1-BDC1-D0447337051B&displaylang=en The 2007 Microsoft Office Servers Service Pack 2 (SP2) http://www.microsoft.com/downloads/details.aspx?FamilyId=B7816D90-5FC6-4347-89B0-A80DEB27A082&displaylang=en 2. Extract both the SharePoint SP2 pack with this command and save in the “Updates” folder inside the MOSS binary l
Install SharePoint 2007 in Windows Server 2008 R2 - This program is blocked due to compatibility issues Install SharePoint 2007 in Windows Server 2008 R2 - This program is blocked due to compatibility issues Reviewed by Salaudeen Rajack on 10:50 AM Rating: 5

SharePoint Site Opens in Contributor mode for Site collection Admin, Farm Admin; Farm admin unable to Delete site

10:12 PM    , , ,
Today, I am running on a weird issue. for a particular site collection in my SharePoint environment, It opens in the contributor mode, and when I tried, I'm unable to delete that site collection, Even though I'm a Farm Admin! Huh.. After spending considerable amount of time, I figured out the issue. You know what? The Problem is: Site was locked with Read-Only access! Once I unlocked the site, I see "Site actions" shown up, and everything turned usual.
SharePoint Site Opens in Contributor mode for Site collection Admin, Farm Admin; Farm admin unable to Delete site SharePoint Site Opens in Contributor mode for Site collection Admin, Farm Admin; Farm admin unable to Delete site Reviewed by Salaudeen Rajack on 10:12 PM Rating: 5

Sharepoint Deployment Error: A deployment or retraction is already under way for the solution "abc.wsp" , and only one deployment or retraction at a time is supported

6:31 PM    , , , ,
Sometime this error pops out from SharePoint Services Administration command when the user do retractsolution or deploysolution like the following stsadm -o retractsolution -name "%PackageName%" -local -url %TargetWebUrl%   or stsadm -o deploysolution -name "%PackageName%" -local -allowGacDeployment -url %TargetWebUrl% Error: "A deployment or retraction is already under way for the solution "xxx.wsp", and only one deployment or retraction at a time is supported" it occurs if anomalies deployment is running for the same package in the back end due to some previous deployment has been crashed before for some reason. check services and start the "Windows SharePoint Services Administration" service if it's stopped and then run the following command: stsadm -o execadmsvcjobs To avoid this problem do the followings: Look for the deploy jobId to break the running by the following command:   stsadm-o enumdeploym
Sharepoint Deployment Error: A deployment or retraction is already under way for the solution "abc.wsp" , and only one deployment or retraction at a time is supported Sharepoint Deployment Error: A deployment or retraction is already under way for the solution "abc.wsp" , and only one deployment or retraction at a time is supported Reviewed by Salaudeen Rajack on 6:31 PM Rating: 5
Powered by Blogger.