Karine Bosch’s Blog

On SharePoint

Where are the SharePoint assemblies?


In SharePoint 2013, the SharePoint assemblies are located in the \Windows\Microsoft.NET\assembly\GAC_MSIL\ directory:

SharePoint 2013 assemblies

All other SharePoint files are located in what we call the 15 hive: \Program Files\Common Files\Microsoft Shared\Web Server Extensions\15.

When inspecting IIS, you will notice a change in the virtual directories: the _layouts folder still points to the 14 hive (containing the SharePoint 2010 files), while there is an additional sub folder that points to the 15 hive (containing the SharePoint 2013 files).

SharePoint virtual folders

 

When navigating through the file system, you can see that there is still a 14 hive, containing folders like TEMPLATE, TEMPLATE\CONTROLTEMPLATES and TEMPLATE\LAYOUTS. When you edit one of the controls in the CONTROLTEMPLATES folder, you will notice that they still reference the old SharePoint v14 assemblies. If you deploy your SharePoint 2010 solutions and features to your SharePoint 2013 farm, it is in this 14 hive that you will find your files.

But there is no ISAPI folder anymore in the 14 hive, nor are the assemblies in the Global Assembly Cache. Calls to the old assemblies are redirected to the SharePoint v15 assemblies. This redirection is defined in special policy files located in the \Windows\Microsoft.NET\assembly\GAC_MSIL\ directory:

SharePoint policy files

 

April 19, 2014 - Posted by | SharePoint 2013

2 Comments »

  1. Hi
    please Mrs Karine, how can I connect my sharepoint webpart to sql server database???
    when i deply the file i receive this error :
    An exception of type ‘System.Security.SecurityException’ occurred in FirstSharePointProject.dll but was not handled in user code
    Additional information: Request for the permission of type ‘System.Data.SqlClient.SqlClientPermission, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.
    Thank You.

    Comment by Abdeldjallil | March 17, 2016 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: