SharePoint 2013 Training Materials

Hi Folks,

This post is to list all what you need as resources to get up to speed for SharePoint 2013. Either as Developer or ITPro you can check out below links and hopefully will be useful.

Feel free to drop comments with more resources you are using to learn about SharePoint 2013.

1) SharePoint 2013 Developer Training Videos:
http://msdn.microsoft.com/en-us/office/apps/fp123626.aspx

2) SharePoint 2013 ITPro Training Videos:
http://technet.microsoft.com/en-us/sharepoint/fp123606

3) SharePoint 2013 TechNet KB url for all topics:
http://technet.microsoft.com/en-us/library/cc303422(v=office.15).aspx

A free ebook for SharePoint 2013 Deployment guide:
http://www.microsoft.com/en-us/download/details.aspx?id=30384

Hope this helps.

Happy SharePointing!

-ME

Fixing SharePoint 2013 Errors when running SP configuration products wizard

Hi Folks,

I was installing SP 2013 Preview on Windows 2008 R2 SP1. After i installed SP 2013 i was trying to run SharePoint Products Configuration Wizard to configure my farm before i start using it and i was getting this error message on step 2:


when i checked the logged file, this is the actual error:

Exception: System.Management.Automation.CmdletInvocationException: ErrorCode:SubStatus:Service running under Network Service account in workgroup environment is not supported. —> Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatus:Service running under Network Service account in workgroup environment is not supported.
   at Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterAFCacheHostCommand.BeginProcessing()

I was trying to understand why i’m getting this error ? As i see, it is because there is one of the services is using Network service which is not supported. But Which component that i can change without uninstalling and reinstalling SharePoint 2013 ? As highlighted in red, the configuration wizard is trying to setup AppFabric Chaching while creating the configuration wizard! 



I started to change the AppFabric Chaching service service account which was using Network service and rerun the configuration wizard but still same error!

I googled the problem and i found that i can skip this step using the command line. The command runs the psconfig “Configuration wizard” in console mode with option to skip configuring the AppFabric Cache.

1) open 15 hive folder:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN
2) open command line as administrator.
3) write down this command and hit enter!

psconfig -cmd Configdb create SkipRegisterAsDistributedCacheHost

4) The configuration database will be created.




5) Re-run the configuration wizard and you will be able to successfully configure your SharePoint 2013 Farm and you should be able to start using SharePoint 2013.

Note: If you got a message “Failed to create sample data” this doesn’t have any functional problem of start using SP 2013 Preview. This should be fixed with later more stable versions.


Please let me know if you encounter any other issues and you would like to contribute in this post!

Appreciate it!
Happy SharePointing…!


Migrate SharePoint 2010 Lists,Libraries and Content

Hi Folks,

If you are trying to migrate content (Sites, Lists & Libraries) in SharePoint Foundation 2010 where we don’t have content deployment feature or publishing features or SharePoint 2010 and you don’t have the publishing feature enabled in your site collection since you need an automated easy way to move lists or libraries from one site to another, I will be introducing a tool called “Sharegate”.

Sharegate allows you to deploy/copy sites from one site to another, copy lists, folders and libraries from one site to another, Migrate Physical Share Folders to SharePoint and provides a bulk Metadata Editor.

I have a wiki library where i want to move it to another site, and i want all Wiki pages to be migrated with versions! After i downloaded this tool i got the job done in few minutes.

Screen shot with all tool features in the home page:


When you want to copy content then you have to select one of the option in the second section “Content Migration”, In my case i selected “Copy SharePoint Content”.


You select your source and destination urls and then you select your list(s) or object(s) to be moved or migrated, as shown below screenshot.


I liked this tool because with the Free Trial software you can migrate up to 5 objects at a time! which is great for small migrations and content updates. and for large content deployment i suggest to buy a license of this tool since it helps a lot SP admins for migration tasks.

Download the tool “Sharegate” now!
http://en.share-gate.com/download


Hope this helps!

Happy SharePointing!!

v/r
Mostafa

What’s New in VS 2012 & .NET Framework 4.5 RC

Hi Folks,

This post is my first blog post after i got back from my vacation in Egypt and getting married! I had a wonderful summer time with my family and here we go back to .NET life style!

After i installed VS 2012 RC on my Development VM and then started to play around with the new IDE. Here are what is called fascinating in the new VS 2012 RC & the framework 4.5.

1) Portable Class Libraries: Now you can develop portable class libraries that can be used to target different framework ranging from .NET framework, Silverlight and Windows Phone 7 or even XBOX 360!!.



Even this is a great option in VS 2012 but please note that also you don’t have an option to add references that are not compatible with targeted frameworks.

For example, if you tired to add a .NET framework assembly in portable class library you will find very few assemblies are available, check out below screen shot.


Note: If you tried to add any references that is not compatible with your targeted platforms then VS 2012 will warn you with incompatibility warning!

Read more about Portable Class Library:
http://msdn.microsoft.com/en-us/library/gg597391(v=vs.110)


2) Asynchronous File I/O
Now you can develop code for intensive I/O operations without blocking the main thread!. with that being said, new keywords in C# and VB.NET have been added and supported by the compiler through using async and await keywords which are available in C# and VB.NET.


public async Task CopyFilesAsync(StreamReader Source, StreamWriter Destination)
{
    char[] buffer = new char[0x1000];
    int numRead;
    while ((numRead = await Source.ReadAsync(buffer, 0, buffer.Length)) != 0)
    {
        await Destination.WriteAsync(buffer, 0, numRead);
    }
}


Read more about Async File I/O in .NET 4.5:
http://msdn.microsoft.com/en-us/library/kztecsys(v=vs.110)

3) Web: Supports for HTML5,Async http request and response, WebSockets & support for CDN in Script Manager fallback.

4) Enhancements in WCF including: easier asp.net compatibility mode, HTTPs endpoints with IIS, Generate WSDL by appending ?singleWSDL, Simplification for generating configuration files and more.

5) Enhancements in Windows Workflow Foundation (WF).

6) Enhancements in Windows Presentation Foundation (WPF): A new Ribbon control, New INotifyDataError Interface and more.

Read more about what’s new for WPF in .NET 4.5:
http://msdn.microsoft.com/en-us/library/bb613588(v=vs.110)

7) Metro Style Applications
You can now build Metro Style application using VS 2012, A subset of .NET 4.5 is available when building Metro Style Applications and its called .NET APIs.

To get an overview about Metro Style applications:
http://msdn.microsoft.com/en-us/library/windows/apps/br230302.aspx


– Reference:
What’s new in .NET Framework 4.5:
http://msdn.microsoft.com/en-us/library/1d971dd7-10fc-4692-8dac-30ca308fc0fa(v=vs.110)


Have Fun with VS 2012 RC and hope this helps!

Have a wonderful weekend everyone.

Regards,
Mostafa Elzoghbi