Monday, March 12, 2012

[SALES] Five most important words in Sales

Great article from Inc. on 5 most power words in Sales:

1. Focus on benefits, not specifications.
2. Focus on value, not price.
3. Focus on show, not learn.
4. Focus on emotions, not reasons.
5. Focus on you, not I.

You can read the full article here

Friday, July 15, 2011

Ontolica Review

Had a wonderful demo of Ontolica tool for SharePoint 2010 today (Search Preview, Library Preview, Aggregator and Search). Will blog on my insights into this cool product.

Error: The identity of application pool SharePoint xxxx is invalid ...

Full error:


The identity of application pool SharePoint - xxx.xxx.xxxxx.xxx443 is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected, the application pool will be disabled when the application pool receives its first request.  If batch logon rights are causing the problem, the identity in the IIS configuration store must be changed after rights have been granted before Windows Process Activation Service (WAS) can retry the logon. If the identity remains invalid after the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number.


---------------------------------
Application pool SharePoint - xxx.xxx.xxxxx.xxx443 has been disabled. Windows Process Activation Service (WAS) did not create a worker process to serve the application pool because the application pool identity is invalid.


----------------------------------
Application pool SharePoint - xxx.xxx.xxxxx.xxx443 has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.


One needs to re-enter the service account information and start the Application Pool one more time. After IISRESET (just for making sure everything goes good) this issue should be resolved ...

Not able to see KL Search web parts even after adding them to web page?

Usually the KL Imaging Service Application is associated by default for all Web Applications. However, if one has created a new web application using central admin using custom settings, then one need to explicitly associate the KL Imaging Service Application to the web application.

Friday, March 26, 2010

The difference between .dwp and .webpart

REFERENCE: http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/08/21/the-difference-between-dwp-and-webpart.aspx

The difference is .dwp was the file extension used in version 2 of SharePoint and .webpart is a new extension used in version 3.  Inside the files, the schemas are different and it is indicated as such by the version number on the xmlns attribute.

Here is an example of a version 2 schema.

<WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
  <Assembly>Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429cAssembly>
  <TypeName>Microsoft.SharePoint.Portal.WebControls.SearchBoxExTypeName>
  <Title>Search BoxTitle>
  <Description>Used to search document and items.Description>
  <FrameType>NoneFrameType>
  <AllowMinimize>trueAllowMinimize>
  <AllowRemove>trueAllowRemove>
  <IsVisible>trueIsVisible>
  <Width>335pxWidth>
  <GoImageUrl xmlns="urn:schemas-microsoft-com:SearchBoxEx">/_layouts/images/gosearch.gifGoImageUrl>
  <GoImageUrlRTL  xmlns="urn:schemas-microsoft-com:SearchBoxEx">/_layouts/images/goRTL.gifGoImageUrlRTL>
  <GoImageActiveUrl xmlns="urn:schemas-microsoft-com:SearchBoxEx">/_layouts/images/gosearch.gifGoImageActiveUrl>
  <GoImageActiveUrlRTL  xmlns="urn:schemas-microsoft-com:SearchBoxEx">/_layouts/images/goRTL.gifGoImageActiveUrlRTL>
WebPart>
Version 3 is a little different.
<webParts>
  <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
    <metaData>
      <type name="Microsoft.SharePoint.Portal.WebControls.BusinessDataListWebPart, Microsoft.SharePoint.Portal,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" />
      <importErrorMessage>Cannot import this web part.importErrorMessage>
    metaData>
    <data>
      <properties>
        <property name="Title" type="string">Business Data Listproperty>
        <property name="Description" type="string">Display a list of items from a data source in the Business Data Catalog.property>
        <property name="CatalogIconImageUrl" type="string">/_layouts/images/bizdatawebpart.gifproperty>
        <property name="CacheXslStorage" type="bool">trueproperty>
        <property name="CacheXslTimeOut" type="int">600property>
      properties>
    data>
  webPart>
webParts>

The main difference is that all properties passed to the web part are specified with a property element and a name attribute in version 3.  Version 2 uses different element names for everything. 

Friday, January 8, 2010

Unable to find dependency 'MICROSOFT.SHAREPOINT.APPLICATIONPAGES.ADMINISTRATION'

ERROR:

Error: Unable to find file 'pkmutildm.dll' of multi-file assembly
'Microsoft.SharePoint.Portal.dll'
Error: Unable to find file 'SPSUtil.dll' of multi-file assembly
'Microsoft.SharePoint.Portal.dll'
Warning: Unable to find dependency
'MICROSOFT.SHAREPOINT.APPLICATIONPAGES.ADMINISTRATION'
(Signature='71E9BCE111E9429C' Version='11.0.0.0') of assembly
'Microsoft.SharePoint.Portal.dll'

RESOLUTION:

You just need to exclude 'Microsoft.SharePoint.Portal.dll' file
from setup. Since you are installing it on the SPS server the file is
allready there in GAC.

Date encountered: Jan 8th 2010: REFERENCED FROM

Wednesday, May 6, 2009

Working with Log4Net and .NET Framework 1.1

Here is a small example on how to use Log4Net with .NET Framework 1.1 [Log4net version 1.2.0.0 Note: Latest is 1.2.10)