March 13, 2010

March 12, 2010

Enable Developer Dashboard using PowerShell

$service=[Microsoft.SharePoint.Administration.SPWebService]::ContentService
$dashsetting=$service.DeveloperDashboardSettings
Turn on Dashboard
$dashsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On
$dashsetting.Update()
When turned on, all the information like data base call, request, response, web part events are show in the screen.
image
Turn off Dashboard
$dashsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::Off
$dashsetting.Update()
When turned off, all the information dashboard information are hidden.
$dashsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand $dashsetting.Update()
When set to demand an icon is added to the top right corner next to the user id, which helps in toggle the on/off state of the Developer dashboard.
I have used SharePoint 2010 Management Shell, if you are using windows powershell please load the respective SharePoint 2010 snapin to proceed.

March 10, 2010

Too Late to Apologize: A Declaration

Youtube link

http://www.youtube.com/watch?v=uZfRaWAtBVg

Lyrics

Halfway across the globe
And we're standing on new ground
Screaming 'cross the waves
You can't hear a sound
There's no fair trials, no trade, no liberties
No tea
We've colonized America; we won't stand for tyranny,
Oh king

And it's too late to apologize
It's too late
I said it's too late to apologize
It's too late

We've paid your foolish tax, read the acts
And they just won't do
We want to make it clear, we believe this much is true
All men were created with certain

Unalienable rights
Among these are life, liberty, and the pursuit
Of happiness

And it's too late to apologize
It's too late
I said It's too late to apologize
It's too late

It's too late to apologize
It's too late
I said it's too late apologize
It's too late

I said it's too late to apologize, yeah
It's too late
I said it's too late to apologize, yeah

Halfway across the globe
And we're standing on new ground

March 7, 2010

Installation of SharePoint 2010 in Client OS

I successfully installed SharePoint 2010 in my laptop. I was not a calk walk, had to really spend some time in trouble shooting some issues. Initially I had issue in finding the PID for the SharePoint 2010 beta. Later it struck in my mind and checked my live ID inbox and found that the PIDs have been mailed to me.

Another issue was with the pre requisite installations, it failed to install. Even after lot of binging also, not able to find the problem. Then I started installing those manually one by one. Then faced the error not able to create the configuration database while running the configuration wizard. So reinstalled the SQL 2008 express edition again. One main thing to be noted after these installation of prerequisite framework and KB hot fixes is to restart the machine.

One more issue which took lot of my time “Failed to create sample data”, quiet puzzled with these one since I have followed all the approaches mentioned in the forums and MVP blogs. Only one thing I had missed that running the below

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;
IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;
IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;
IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;
IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;
IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;
IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;
IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-IIS6ManagementCompatibility;
IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel;
WAS-NetFxEnvironment;WAS-ConfigurationAPI;WCF-HTTP-Activation;
WCF-NonHTTP-Activation


I had done that manually by by selecting the features in the IIS 7, so it was not that much effective rather than running the above script in the command prompt.



If you are trying to install SharePoint 2010 in client OS, never ever miss a single step mention in the article, Setting up the Development Environment for SharePoint Server. My installation successfully with the below site running in Port 80.



image

March 4, 2010

SharePoint 2010 Training Topics

Below are the topics covered in the training, which I attended this week. These are exactly the same which are available in the SharePoint 2010 training kit.

  • SharePoint 2010 Services Architecture
  • BCS SharePoint
  • Client Object Model
  • Designing Lists and Schemas
  • Enterprise Content Management
  • LINQ2SharePoint
  • Sandboxed Solutions
  • SharePoint 2010 Workflow
  • SharePoint Development with VS10

March 1, 2010

SharePoint 2010 training

I’ll be leaving to Hyderabad tonight, to attend the SharePoint 2010 training conducted by Microsoft Partner. This has been arranged by my organisation unit. I had no clue till morning, that I’ll be attending this training. I’m totally not aware of level of in-depth of coverage. Will be posting about that soon after I come back on Thursday.

Until then, bye bloggy !!