Seminar – Getting Started with SharePoint in Hyderabad

We will be happy to announce that we are starting introductory session on SharePoint in Hyderabad, India on Sunday September 19th 2010 at 11:00 a.m. If you or your friends interested to join please let us know through the contact form
The seminar will be on topics of why SharePoint, where SharePoint and how SharePoint Continue reading Seminar – Getting Started with SharePoint in Hyderabad

Understanding SharePoint Property Bag Settings

Today my ex-coworker and friend ask me regarding SharePoint property bag, therefore I got an opportunity of posting this article on understanding SharePoint property bag settings.

SharePoint property bag is a good place where we are able to accumulate key and value like a couple, It’s a hash table. Continue reading Understanding SharePoint Property Bag Settings

A quick look on Sharepoint object model programs – Part 3

I have got the chance to post useful Sharepoint object model programs (part 3) with bare minimum lines of code and really handy even.
Please follow the link for a quick look on Sharepoint object model programs Part 1 and Part 2 Continue reading A quick look on Sharepoint object model programs – Part 3

Cannot start service SPUserCodeV4 on computer

If the service Microsoft SharePoint Foundation Sandboxed Code Service is stopped and when you are trying to deploy a webpart using Visual Studio 2010 we may face the error message saying that Cannot start service SPUserCodeV4 on computer <computer name> Continue reading Cannot start service SPUserCodeV4 on computer

64 bit guest on 32 bit hosts

64 bit processors handle large quantity of RAM extra efficiently compared to 32 bit processors. Microsoft announced that SharePoint 2010 supports only on 64 bit hardware. The grounds at the back is improving performance and elasticity of SharePoint Continue reading 64 bit guest on 32 bit hosts

FileNotFoundException was unhandled in Console Application

When I feel like to act together with SharePoint site to obtain data, quickly I will create a console application project to interact with SharePoint site instead of creating standard/visual webpart or custom solution

I am fond of console applications since there is no need of packaging the custom solution, deploying, activating etc. Just write the code and hit F5, if it run…runs, if not throws the error right away ๐Ÿ™‚

As I am comfortable with console applications in the same passion today I have created one console application project on SharePoint 2010 server and tried to list subsites from a site, the code be incredibly straightforward with not many lines, as soon as I hit F5 it thrown an error message saying that

FileNotFoundException was unhandled
The Web application at http://fivenumber:5 could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

FileNotFoundException was unhandled
FileNotFoundException was unhandled

The same code executes on MOSS 2007 server with out any problem.

I had Bing for a moment finally dig up the resolution, as there is hardware difference, between MOSS 2007 and SharePoint 2010.
Console applications by default targeted to x86 platform, therefore comprise to change the console application project properties to x64 or Any CPU

To resolve, right click on project and select Properties

Right click on project and select properties
Right click on project and select properties

Click on Build tab, under Platform target section select the option x64 or Any CPU then save the changes and run the code once again

Click on Build Tab
Click on Build Tab

Keep coding, Good Luck ๐Ÿ™‚

SharePoint Event Handlers – Asynchronous Vs Synchronous

There is a little puzzlement among Asynchronousand Synchronous events, however I believe after reading this article, there will be no place for confusion in your brain, the reason for that I go behind a childlike practice to memorize what is Asynchronous ? and what is Synchronous ? Continue reading SharePoint Event Handlers – Asynchronous Vs Synchronous

Customizing SharePoint 2010 Social Tags: I Like It | Tags & Notes

When I was customizing the SharePoint 2010 V4.master I found theย  Social tags I Like It and Tags & Notes which are new in SharePoint 2010. The tag is a SharePoint Delegate control

The tags are occupying big amount of area, so our client told to minimize the icons to make use of space, also he given the hint that Continue reading Customizing SharePoint 2010 Social Tags: I Like It | Tags & Notes

The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered

When I am trying to run powershell window for the first time after installing SharePoint 2010 I was faced with a message that

The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered

Then, I did Bing search for some time and found the solution and the same I want to post here, so that it may be useful for some Continue reading The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered