View Venkat Varkala's profile on LinkedIn

Search Scope Rule Behavior : Include vs Require


While creating Scope rules I always used to get confused with "Include - Any item that matches this rule will be included, unless the item is excluded by another rule" and "Require - Every item in the scope must match this rule" behavior options.

If you have only one scope rule for a scope both the options behave same but if you have multiple rules for the scope then the behavior change.  "Include - Any item that matches this rule will be included, unless the item is excluded by another rule" works like OR operator where as "Require - Every item in the scope must match this rule" behaves as AND operator. 

Browse websites HTML Source easily with Google Chrome


You can View Source easily with Google Chrome browser with view-source:http://microsoft.com  Other shortcuts are available at LifeHacker

Extending SharePoint Search Noise Words


Margriet Bruggeman, Nikander Bruggeman has nice article of adding new entries to SharePoint Search Noise Words List.

In SharePoint Server Farm environment, servers hosting SSP will have their noise words @ [drive letter]:\Program Files\Microsoft Office Servers\12.0\Data\Applications\[application GUID]\Config folder and in W.F.E servers the deafult set of noice wors are located in [drive letter]:\Program Files\Microsoft Office Servers\12.0\Data\Config folder.

"Who is Stupid?" search in Powerset for Images


When I was reading this techcrunch article I tried couple of searches like
for which I got apprpriate results then I tried
the results are little shocking to me. looks like some one is playing political google yahoo bomb

Google Chrome and SharePoint Compatilibility


I am using Google Chrome browser for my SharePoint development for past one hour or so. Here are some things I notice

  1. Browser opens very fast (Compared to IE & Firefox)
  2. Pages seems to open little faster than or almost same time as IE 
  3. Here comes the main problem - "Editing Pages/web parts"
    • Buttons on the "Page Tool Bar" seems to be not working and they redirect to Home Page. Example : When I click "Edit Page" in the tool bar I am getting redirected to Home Page.  I was able to get into edit mode by using Site Actions -> Edit Page 
    • Once in Edit Mode the "Check in to Share Draft" button in the Page Tool Bar is also behaving the same (redirects to home page).
    • HTML Content Editor doesn't work (just as in Firefox)
    • The "edit" drop down menu of webparts is broken, the drop down menu doesn't show up instead it shows up as below Workaround for this is to use "Page" dropdown menu to Add and Modify WebParts
  4. Though Chrome browser has issues editing SharePoint content seems like it passes Acid 2 CSS test

Installing Google Chrome on Windows Server 2008


I just tried to install Google Chrome browser on my Windows Server 2008, it crashed on me with below error message (worked on fine on Windows Server 2003)

The installation is forbidden by system policy

Below steps worked for me

  1. Go to http://www.google.com/chrome/thankyou.html?oneclickinstalled=&statcb= 
  2. Click "click here" link and make sure you select "save" in the file download dialog.
  3. After saving the file right click on setup file and select "run as administrator"

If you still get the same error message try below steps

  1. Click Start -> Control Panel
  2. Open Administrative Tools
  3. Open Local Security Settings
  4. Click Software Restriction Policies
  5. If no software restrictions are defined, right click the Software Restriction Policies node and select New Software Restriction Policy
  6. Double click Enforcement
  7. Select "All users except local administrators"
  8. Click OK
  9. Reboot the machine

Source : http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3622780&SiteID=17

CAML Query & Custom Site Columns


Recently I have come across an issue where my CAML Query didn't yield right results. I did get expected results when I execute at the Site Level but when execute on the Site Collection level we got totally unexpected results.

After doing some research and drilling through the SharePoint ULS Logs we noticed below error

SMReportsData GetQueryResults - Query Execution threw SPException: One or more field types are not installed properly. Go to the list settings page to delete these fields.
after testing each and every colum in the "Site Column Gallery" we found out one column which was created (a year ago) using a solution downloaded of the internet (some one's blog) is throwing exceptions, though this coulmn is not used anywhere is the Site Collection it is breaking my CAML Query.

The biggest problem is I cannot delete the column as it is throwing exceptions while trying to select it from Site Column Gallery and I don't have Source Code of this Column. Luckily I was able to find a mirror site and get the source code with the Key to sign the assmbly but Imagine if we didn't had the key? I feel like it is very important to make sure you have the solution key if you are downloading a solution (esp. Custom Site Columns) from internet. It should be Ok if you are downloading a solution from professional software provider where we can get support.