Out-GridView …. Not Supported Exception

Tags

,


Untitled

Today I was writing some PowerShell functions and I wanted to see the results in GridView like below;

img3

This output to the results from PowerShell in GridView and as if it is a windows application..

And I got exception in the first screenshot saying “ [ Out-GridView ], Not supported exception.

But that was easy since PowerShell is telling you how to solve it.

In the coming line from the exception it is saying, “ Out-GridView : To use the Out-GridView cmdlet, install the Windows PowerShell Integrated Scripting Environment Feature from Server Manager. “

You need to go Features in Server Manager..

img2

And Install…. Smile

That was easy and start forward from PowerShell !

MOSS 2007 & SharePoint 2010 April CU is here !

Tags

,


The product group released the April 2011 Cumulative Update for the SharePoint 2007 and 2010 product family.

The KB articles are available:

  • KB 2512783 – WSS 3.0
  • KB 2512782 – MOSS 2007
  • KB 2512804 – SharePoint Foundation 2010
  • KB 2512800 – SharePoint Server 2010
  • KB 2512801 – SharePoint Server 2010 with Project Server

The Full Server Packages for April 2011 CU are available through the following links:

Remember that after installing the fixes you need to run the SharePoint 2010 Products Configuration Wizard on each machine in the farm.

SharePoint 2010 Installation Error ! in Step 9


I ran into this installation error for more then 4 hours ! I tried lots of stuff to make it & searched a lot till I found this article http://www.mattgrovesblog.com/2009/11/sp2010-installation-error.html#axzz1ssEbtjSV

so the exception I was getting was in step 9 is this;

Image

“An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: An error has occurred while validating the configuration settings.  An exception of type System.ArgumentNullException was thrown.  Additional exception information: The errorData argument cannot be null or zero length.“

After some diagnosis found this was due to the Windows firewall blocking PSConfig from talking to remote hosts!

So, what the error should say is:

Due to the Windows Firewall being enabled the PSConfig cannot create a connection to remote hosts (eg. your SQL server!!). Please allow PSConfig out through the firewall!

Having now created the firewall rule I am making progress!

Of course, some will simply disable Windows Firewall ;)

Wouldn’t it be better to simply load only the changes from one page to the next? Read About Minimal Download Strategy in SharePoint 2013


Wouldn’t it be better to simply load only the changes from one page to the next? Read About Minimal Download Strategy in SharePoint 2013

“Wouldn’t it be better to simply load only the changes from one page to the next? In many pages, the changes from one page to the next may be just a kilobyte or two of text, saving literally hundreds of Kb of bandwidth on every page hit. Loading only those changes would make your network guys very happy.

Well, that’s exactly what MDS tries to do. What the MDS does is that it allows users to load only what changes between pages. This drastically reduces page load time and speeds up responsiveness for the entire application.” please read more in http://blog.furuknap.net/minimal-download-strategy-in-sharepoint-2013

SharePoint Developer Dashboard & its 3 colors

Tags

,


This tool is useful for measuring the behavior and performance of individual pages.

Can be used to monitor page load and performance

It has three states:

  • On,
  • Off,
  • On demand.

Activating the Developer Dashboard

Developer Dashboard is a utility that is available in all SharePoint 2010 versions, and can be enabled in a few different ways:

  • PowerShell
  • STSADM.exe
  • SharePoint Object Model (API’s)

Activate the Developer Dashboard using STSADM.EXE

The Developer Dashboard state can only be toggled with a STSADM command

  • ON:

STSADM –o setproperty –pn developer-dashboard –pv on

  • OFF:

STSADM –o setproperty –pn developer-dashboard –pv off

  • ON DEMAND:

STSADM –o setproperty –pn developer-dashboard –pv ondemand

Activate the Developer Dashboard using PowerShell:

$DevDashboardSettings = [Microsoft.SharePoint.Administration.SPWebService]::

ContentService.DeveloperDashboardSettings;

$DevDashboardSettings.DisplayLevel = ‘OnDemand’;

$DevDashboardSettings.RequiredPermissions =’EmptyMask’;

$DevDashboardSettings.TraceEnabled = $true;

$DevDashboardSettings.Update()

Activate the Developer Dashboard using the SharePoint Object Model

using Microsoft.SharePoint.Administration;

SPWebService svc = SPContext.Current.Site.WebApplication.WebService;
svc.DeveloperDashboardSettings.DisplayLevel=SPDeveloperDashboardLevel.Off;
svc.DeveloperDashboardSettngs.Update();

Where is it?

Picture2

You can see the Developer Dashboard button In the top right.

Developer Dashboard 3 Border Colors

  • it has a Green border, that generally means it’s loading quick enough not to be a real problem.
  • It can also render Yellow, which indicates that there’s a slight delay and
  • it could render a Red border which would mean you definitely need to look into it immediately!

Picture3

You see this Developer Dashboard has a yellow border color.

So What Microsoft is going to do …

Tags

, , , ,


The Microsoft sign at the entrance of the Germ...

Image via Wikipedia

As SharePoint 2010 does not support .NET 4.0
And I guess that next version of SharePoint which could be SharePoint 16 will support .net 4.0 But that time or after few months of releasing SharePoint 16, .NET 5.0 will be released.

SO again is SharePoint 16 going to support .NET 5.0

Just a thought …. I was just thinking about it… Winking smile           asp-net-logo2

Follow

Get every new post delivered to your Inbox.