Month: October 2013

Error: Controltemplate not found in ~/_controltemplates/


Error: Controltemplate not found in ~/_controltemplates/<name_of_usercontrol.ascx>:  frustrating error !!!

When creating a SharePoint Control with a ControlSrc pointing to a user control, you might get an error in the ULS log saying that the control cannot be found in ~/_controltemplates/<name_of_usercontrol.ascx although the file exists in the correct directory. This happens when using SharePoint 2013 and forget to add the correct SharePoint version to the path. In our case this should be

~/_controltemplates/15/<name_of_usercontrol.ascx

there u go !! problem solved ! u’re welcome 😉

Upgrade your project from sharepoint 2010 to Sharepoint 2013


Hello

To Upgrade your solution from a 2010 project to 2013, you need to follow these steps

First edit your .csproj file (for c#).

Modify the target framework to this:<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>

Add this a node for the office version, I put mine directly below the TargetFrameworkVersion tag <TargetOfficeVersion>15.0</TargetOfficeVersion>

Update references

Reload the project and update your referenced assemblies.  If you haven’t specified a specific version they should already be referencing the v15 (SharePoint 2013) assemblies.

Do a find replace for 14.0.0.0 to 15.0.0.0.  This updates any references on your pages, layouts, and master pages to the v15 assemblies.

Change calls

Change any calls to SPUtility.GetGenericSetupPath() to SPUtility.GetVersionedGenericSetupPath()

Check each file to do a check for any hive references.  You’ll need to add a /15/ to these.  EG: _layouts/ to _layouts/15/

Open the package “folder” in visual studio then update the properties for that package to use version 15.

Clean up

Finally do a compile clean up any missed items. Deploy your solution and make sure to test thoroughly.

Hands on labs for Sharepoint 2013


Hello 🙂
I HAVE INCLUDED A FEW OF THE SharePoint 2013 Labs hat are available for download. I hope everyone can make the time to download the LABs and walkthrough them, as this will give you a better Idea of the new features in SharePoint 2013

Test Lab Guide: Demonstrate SAML-based Claims Authentication with SharePoint Server 2013

This paper provides a brief introduction to SharePoint Server 2013 and illustrates how to create a three-tier test lab that uses SAML-based claims authentication.
http://www.microsoft.com/en-us/download/details.aspx?id=30385
Test Lab Guide: Demonstrate Intranet Collaboration with SharePoint Server 2013

This paper helps you configure an environment to demonstrate the intranet collaboration features of SharePoint Server 2013.

http://www.microsoft.com/en-us/download/details.aspx?id=30379

 
Test Lab Guide: Configure SharePoint Server 2013 in a Three-Tier Farm

This paper provides a brief introduction to SharePoint Server 2013 and illustrates how to create a three-tier test lab.

http://www.microsoft.com/en-us/download/details.aspx?id=30386

Test Lab Guide: Demonstrate Forms-Based Authentication with SharePoint Server 2013

This paper explains how to configure and demonstrate form-based authentication for SharePoint Server 2013 based on the Test Lab Guide: Configure SharePoint Server 2013 in a Three-Tier Farm (http://www.microsoft.com/en-us/download/details.aspx?id=30386).
http://www.microsoft.com/en-us/download/details.aspx?id=34684
Hands-on Lab Online: Advanced Web and Worker Roles
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032537777&culture=en-US

 

Hands-on Lab Online: Introduction to Windows Azure Virtual Machines
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032540778&culture=en-US

 

SharePoint Composite Handbook

A SharePoint Composite combines data, documents, and business process in a useful, productive way by assembling, connecting, and configuring the basic building blocks of functionality available in SharePoint 2013 and Microsoft Office 2013 so you can rapidly create business solutions.

http://www.microsoft.com/en-us/download/details.aspx?id=36055

Enjoy 😉