Archive for the ‘SharePoint 2010’ Category

Running ADO.NET Data Services over SharePoint 2010 and Windows 2008 R2

Wednesday, March 17th, 2010

I was trying to develop sample application accessing SharePoint lists using ADO.NET Data Services.

BUT NOTHING WORKED :s

When I try to access listdata.svc from the browser i got this exception

“Could not load type ‘System.Data.Services.Providers.IDataServiceUpdateProvider’ from assembly System.Data.Services”

And when i try to reference the same service from Visual studio 2010 in a Windows application i got 401 unauthorized and 400 bad request.

After a lot of research you need to make sure that ADO.NET Data Services CTP v1.5 CTP installed, also if your operating system is Windows Server 2008 R2 make sure to install this fix

ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2

Everything will work after that, you can access your site

Try to access the list data service

/_vti_bin/ListData.svc">/_vti_bin/ListData.svc">http://<servername>/_vti_bin/ListData.svc

You will xml with existing lists in you site

image

You can also access the list data through appending the list name to the service url

http://<servername>/_vti_bin/ListData.svc/Calendar

image

SharePoint 2010 & Office 2010 Launch date on May 12th, 2010

Saturday, March 6th, 2010

Finally it is there, Microsoft has announced that the official date for Microsoft SharePoint 2010 and Office 2010 is May 12th 2010. Also Microsoft intent to Release to Manufacture them at April 2010.

It has been a long trip since MOSS 2007 released and everybody started to envision how SharePoint 2010 will look. Microsoft Products team had listened to a lot of our comments as MVPs and to the community feedback and here it is very powerful platform for the business collaboration.

I remember when I first started working with SharePoint, it was SharePoint 2003 OHHHH! It is long trip but i really enjoyed it.

Happy SharePoint release

Read details here

Presenting at SharePoint Saturday EMEA – Live

Sunday, January 17th, 2010

Next Saturday January 23rd, 2010, SharePoint Saturday will be hosting their first EMEA event.

I will be presenting About Getting Ready to SharePoint 2010.

Waiting for you

Event Home: http://www.sharepointsaturday.org/emea/default.aspx
List of Speakers: http://www.sharepointsaturday.org/emea/Pages/speakers.aspx
List of Sessions: http://www.sharepointsaturday.org/emea/Pages/meetings.aspx

Registration: http://20100123-spsemea.eventbrite.com/

Register now, check the event time at your time zone.

image

PowerShell and SharePoint 2010 love story – Part 1

Friday, November 27th, 2009

I never was a PowerShell or scripting guy, it is known that the scripting and PowerShell is made for Administrators and infrastructure guys.

With the release of SharePoint 2010 I noticed that Microsoft has added great support for PowerShell in SharePoint 2010. Now All SharePoint 2010 administration tasks can be performed with PowerShell.

SharePoint 2010 Management Shell – command prompt with SharePoint cmdlets loaded

image

In SharePoint 2010 PowerShell cmdlets there is 500+ cmdlets which supports all the Administration features through the UI and more.

PowerShell is more powerful than stsadm from functionality and performance perspectives.

For example running a stsadm command to activate feature on 5000 site collection can take more than 12 hours, but if you used the equivalent PowerShell script it will take around 30 minutes to finish the same task.

Also PowerShell supports connecting to a remote server and executing PowerShell cmdlets.

For PowerShell basics check this post PowerShell 2010: Basic Discovery – Zach Rosenfield’s SharePoint Blog

Sample SharePoint PowerShell commands

Get-SPSite – this command will return list of all available site collections

image

Piping Get-SPSite cmdlets with Get-SPWeb will return all available webs in all site collections

Following sample gets available webs and shows their URL and template name

Get-spsite | get-spweb | Select url,webtemplate

image

Next sample will show how to get available services on your farm.

$farm = Get-SPFarm

$farm.Services | Select TypeName,Status

image

Note: All SharePoint PowerShell cmdlets their noun starts with SP

You can retrieve available SharePoint cmdlets by executing the following command

Get-command -noun sp*

Hope this post helps you start playing with PowerShell in your SharePoint farm

I will be posting later on sample scripts to create list items and site collections

also About great third party tools helps you in PowerShell scripts development

Free PowerShell books helps you get started

Schweizer IT Professional und TechNet Blog : Free Windows PowerShell workbook: server administration

Master-PowerShell | With Dr. Tobias Weltner – PowerShell.com

See also:

PowerShell and SharePoint 2010 love story – Part 2

PowerShell 2010: Basic Discovery – Zach Rosenfield’s SharePoint Blog

PowerShell 2010: Basic SharePoint Cmdlets – Zach Rosenfield’s SharePoint Blog

SP 2010: Intro to PowerShell Part 3 – Zach Rosenfield’s SharePoint Blog

SP 2010: Intro to PowerShell Part 4 – Zach Rosenfield’s SharePoint Blog

SharePoint 2010 Beta: ThreadOptions error – Zach Rosenfield’s SharePoint Blog

Schweizer IT Professional und TechNet Blog : Free Windows PowerShell workbook: server administration

Master-PowerShell | With Dr. Tobias Weltner – PowerShell.com

November 09 Gathering Presentation available

Tuesday, November 24th, 2009

Hey all SharePoint enthusiasts now my What’s new SharePoint 2010? presentation is available you can download from here.

image

I appreciate your feedback and thanks a lot for all who attended the gathering

EGYSUG: Another successful meeting

Sunday, November 22nd, 2009

On 21st of November we had our November meeting which was a successful meeting, I am very pleased to say that we had over 30 attendee (Partners and customers) were present and very keen to know What’s new in SharePoint.

Event started with What’s new in SharePoint? by myself in which I introduced SharePoint workloads, SharePoint evolution and the new features in UI, Content management, workflows and BCS.

IMG_2768

In the second session Mohamed Yehia dig into the feature in SharePoint for developers, illustrating Visual studio capabilities and SharePoint designer enhancements, also he demonstrated Linq for SharePoint and the Client object model.

IMG_2792

The attendees feedback was great and the liked the sessions and asked for more sessions.

I will be delivering another session on 5th of December and the user group will organize another session on 19th of December

Silverlight magic on SharePoint 2010

Thursday, November 19th, 2009

After installing SharePoint 2010 Beta 2 and started playing around with a team site, I tried to create a new list in the site through Site Actions –> More Options… (click on the image for larger image)

image

I got the create page with a recommendation message to Install Sliverlight for improved creation experience (click on the image for larger image)

image

After Installing Sliverlight I got this WOW create dialog box which is Sliverlight enabled with a lot of animations and categories for the content.(click on the image for larger image)

image

This is the Silverlight touch for SharePoint ;)

 

SharePoint 2010 beta screenshots

Sunday, November 15th, 2009

If you are using SharePoint 2010 technical preview and start reading MSDN articles about SharePoint 2010, you will find some discrepancy in the screen shots, here my notes.

Setup Intro screen

image

 

Edit Page button

 

image

 

New Create Site dialog

 

image