Wednesday, April 13, 2016
Wednesday, February 4, 2015
How to Fix Error “HTTP 500 Internal Server Error in SharePoint 2013”
Once in a whereas I encounter a slip-up that doesn't give any useful data. this can be specifically what happened the opposite day I opened my SharePoint website and found out that the web site cannot show the page due to HTTP 500 Internal Server Error on my SharePoint 2013. First thing I attempted to try and do is open SharePoint Central Administration, to see if i get constant error message. Strangely, I used to be ready to open Central Administration with none errors.

Open the IIS Manager to make sure SharePoint 2013: eighty Application Pool was running, and that i noticed that SecurityTokenServiceApplicationPool application pool was stopped.

I started SecurityTokenServiceApplicationPool application pool, refreshed my SharePoint website however that didn’t resolve the problem. I opened IIS manager and noticed that SecurityTokenServiceApplicationPool was stopped once more.

In that case, smartest thing to try and do was to open IIS events log and check what’s occurring with SecurityTokenServiceApplicationPool application pool.
IIS event log showed the warning ID 5021:
1. Back to IIS manager -> SecurityTokenServiceApplicationPool application pool-> Advanced Settings.

2. Go to the Identity option.
3. Then, Update the user’s credentials and click OK button. I perform IISreset.
4. Open the IIS manager once more to examine if it worked. SecurityTokenServiceApplicationPool was now started and didn't stop any longer.

5. Finally, my SharePoint 2013 site was operating again :)

Open the IIS Manager to make sure SharePoint 2013: eighty Application Pool was running, and that i noticed that SecurityTokenServiceApplicationPool application pool was stopped.
I started SecurityTokenServiceApplicationPool application pool, refreshed my SharePoint website however that didn’t resolve the problem. I opened IIS manager and noticed that SecurityTokenServiceApplicationPool was stopped once more.
In that case, smartest thing to try and do was to open IIS events log and check what’s occurring with SecurityTokenServiceApplicationPool application pool.
IIS event log showed the warning ID 5021:
The identity of application pool SecurityTokenServiceApplicationPool is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected, the application pool will be disabled when the application pool receives its first request. If batch logon rights are causing the problem, the identity in the IIS configuration store must be changed after rights have been granted before Windows Process Activation Service (WAS) can retry the logon. If the identity remains invalid after the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number.To Fix this error:
1. Back to IIS manager -> SecurityTokenServiceApplicationPool application pool-> Advanced Settings.
2. Go to the Identity option.
3. Then, Update the user’s credentials and click OK button. I perform IISreset.
4. Open the IIS manager once more to examine if it worked. SecurityTokenServiceApplicationPool was now started and didn't stop any longer.
5. Finally, my SharePoint 2013 site was operating again :)
Fixed:--SharePoint Designer 2013 Crashing on Open Site
The Problem
When I installed SPD2013 on my laptop, all went well. However, every time I tried to use the Open Site dialog, it would crash. SharePoint Designer 2010 (SPD2010) was still working fine when I accessed other 2010-based installations, but not SPD2013.I found a fix that worked for me in the Technet forums. You may or may not want to trawl through the thread, as it is quite long. Instead, here’s the Cliff Notes version of what worked for me.
You can repair your SPD 2010 to restore the regkey for SPD2010.Points 1 and 2 did the trick for me. Apparently both SPD2010 and SPD2013 had the same GUID for the ClientGUID value in the registry. I had not installed any betas of SPD2013 on my laptop because I was concerned about exactly this sort of incompatibility. (I’d limited my use of SPD2013 to launching it inside virtual machines.)
The issue might happen in case the ClientGUID of the Open Site dialog in SPD14 is the same as the one of the open site dialog in SPD 15 in a certain Side by Side environment.
(this repro’s only in a specific environment, but I couldn’t find the enviroment yet and when the GUIDs could be the same)
so I have couple of questions. Sorry to bother you, :(
1. Could you please check if ClientGUID value under HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Open Find\Microsoft SharePoint Designer\Settings\Open Site is the same as the ClientGUID value under HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Open Find\Microsoft SharePoint Designer\Settings\Open Site?
2. If the values are the same, could you please check if the crash still happens after removing both registry keys?
3. Have you ever installed any other version of SPD15 on your machine? (e.g. beta version) or any other version of SPD14?
4. if the issue still happens at #2, how about removing the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDLg32\LastVisitedPidlMRU ?
The Fix
If you have this problem and want to fix it, here are the steps.Open the Registry Editor. You can do this by going to the Start menu (I’m still a Windows 7 stalwart, so I can’t vouch for how this might work on Windows 8), choosing “Run”, and typing “regedit” in the Open: box.
Look for the keys:
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Open Find\Microsoft SharePoint Designer\Settings\Open Site
and
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Open Find\Microsoft SharePoint Designer\Settings\Open Site
In my case, they were identical, as shown below.
SharePoint Designer 2010 (14.0)
Delete both of the ClientGUID keys. You can do this by highlighting the key and hitting the Delete key or right clicking and choosing Delete.
Once I had deleted these two registry keys, I was able to open sites in both versions of SharePoint Designer with no problems.
Unfortunately, the two versions of SharePoint Designer seem to use the same recent sites list, so I see the same Recent Sites in both versions. This is going to make it confusing when I am trying to figure out which site to open. Now I’m a three SharePoint Designer version guy, as I’m still using SPD2007 and SPD2010 for client work in addition to SPD2013. Yeesh.
How to Resolve Error Creating Publishing Sites In SharePoint ?
I have come upon a problem in SharePoint 2013 related to the creation of publishing Sites. rather than the site being created, the user is confronted with the error below.
A list of errors logged in the ULS is at the top of this post, however the problem is because of access being denied to __DeviceChannelMappings.aspx.
To resolve the error use SharePoint Designer to assign the Restricted read access to _catalogs/masterpage and DeviceChannels.
Within SharePoint Designer, right-click on masterpage and select properties.
List of ULS error messages:
<nativehr>0x81070211</nativehr><nativestack></nativestack>Cannot open file “_catalogs/masterpage/__DeviceChannelMappings.aspx”.
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)),
Unexpected error when trying to populate mobile mappings file ‘_catalogs/masterpage/__DeviceChannelMappings.aspx’ in web ‘/SITENAME': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
A runtime exception was detected. Details follow. Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Technical Details: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Watson Reporting Cancelled) System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Event log message was: ‘Failed to initialize some site properties for Web
at Url: ‘http://SITENAME”. Exception was: ‘System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Publishing Feature activation failed. Exception: Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to initialize some site properties for Web
at Url: ‘SITENAME’ OriginalException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) —> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
A list of errors logged in the ULS is at the top of this post, however the problem is because of access being denied to __DeviceChannelMappings.aspx.
To resolve the error use SharePoint Designer to assign the Restricted read access to _catalogs/masterpage and DeviceChannels.
Within SharePoint Designer, right-click on masterpage and select properties.
Now, Click on Permissions for this list
Then Assign Restricted Read permissions to the appropriate user, or group.
Next, repeat the process for the DeviceChannels folder.
<nativehr>0x81070211</nativehr><nativestack></nativestack>Cannot open file “_catalogs/masterpage/__DeviceChannelMappings.aspx”.
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)),
Unexpected error when trying to populate mobile mappings file ‘_catalogs/masterpage/__DeviceChannelMappings.aspx’ in web ‘/SITENAME': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
A runtime exception was detected. Details follow. Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Technical Details: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Watson Reporting Cancelled) System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Event log message was: ‘Failed to initialize some site properties for Web
at Url: ‘http://SITENAME”. Exception was: ‘System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Publishing Feature activation failed. Exception: Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to initialize some site properties for Web
at Url: ‘SITENAME’ OriginalException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) —> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Tuesday, February 4, 2014
New Features of SharePoint 2013
Branding improvements:
SharePoint 2013 offers an improved process for designing a public-facing internet site or an internal-facing intranet site with pixel-perfect branding.
It minimizes the amount of SharePoint knowledge to design and brand a SharePoint site successfully.
SkyDrive:
It is Microsoft's cloud storage mechanism for consumers.
SkyDrive helps to work with documents in SharePoint - save, sync, share and collaborate and, what is more, to get the documents offline in the Windows Explorer, Office applications and so on.
Records management and compliance:
SharePoint 2010's records management features had improved from SharePoint 2007's.
SharePoint 2013 Preview has enhanced compliance simply by extending retention policies to SharePoint sites.
This also applies to any Exchange Server 2013 Preview team mailboxes associated with those sites.
Cloud App Model:
Share Point 2013 introduces a Cloud App Model that enables to create apps.
Lists, libraries, calendars, workflows and site pages are called “Apps” now. These can be easily added to the SharePoint site.
An app may also surface a remote web application and remote data in SharePoint.
There are a lot of benefits of such solution vs classic one.
Users now can have one of the following views:
Contemporary view – is available to Mobile Internet Explorer version 9.0 or later versions for Windows Phone 7.5, Safari version 4.0 or later versions for iPhone 4.0, and the Android browser for Android 4.0 or later versions.
Classic view - is identical to the mobile browser experience of SharePoint 2010.
Full-screen UI - Full desktop view of a SharePoint site on a smartphone device.
SharePoint 2013 Search:
Search in SharePoint 2013 now includes several enhancements, custom content processing with the Content Enrichment web service, and a new framework for presenting search result types.
SharePoint 2013 additionally adds new Content Search Web Part – which makes search experience even more effective.
Business Connectivity Services:
In SharePoint 2013 BCS (Business Connectivity Services) are improved and enhanced in many ways, including OData connectivity, external events, external data in apps, filtering and sorting, support for REST and others.
Web content management:
The web content management improvements in SharePoint 2013 simplify how to design publishing sites and enhance the authoring and publishing processes of the organization.
It also contains new features that use enterprise search to surface dynamic web content on publishing sites.
Mobile devices:
SharePoint Server 2013 offers new, optimized viewing experiences across different mobile platforms. Additionally, there are several features that are available to help improve both worker productivity and usability on the device.
New in Application services:
New for SharePoint is the Machine Translation Service, which translates sites, documents and streams for multilingual support. SharePoint 2013 also includes Access Services and a new data access model.
SharePoint 2013 has now Word Automation Services which you can use to convert files and stream to other formats. PowerPoint Automation Services are also new for SharePoint.
SharePoint, additionally, provides data analysis tools, like PerformancePoint Services and Visio Services that enable business intelligence and powerful new features in Excel Services.
eDiscovery:
Showing SharePoint's increasing presence in the world of litigation, eDiscovery improvements have been added that, unfortunately, are probably sorely needed. They include a new site template, the eDiscovery Center, which creates a portal for managing cases—you can access cases to search, hold content and export content.
Microsoft has added improvements to in-place holds, including site-level preservation; the ability for users to work with content that's preserved; and the ability to define the scope of preservation via a query filter. The results of your eDiscovery search—including documents, wiki pages, Exchange email messages and tasks and export them into a review tool.
Social computing:
The social computing and collaboration features in SharePoint 2013 offer an improved administration and user experience, in addition to new functionality for enterprise users to share and collaborate with others in their organization. The introduction of Community Sites offers a forum experience to categorize discussions around subject areas, and to connect users who have knowledge or seek knowledge about subject areas. Additionally, the new Community Portal enables a search-driven result page of communities for users to discover and explore from a link on their My Sites.
Improvements to My Sites offer a more intuitive workflow for users to develop their personal profiles, store content, and keep up-to-date with activities of interest through the use of the new micro blog and feeds experience.
SharePoint 2013 offers an improved process for designing a public-facing internet site or an internal-facing intranet site with pixel-perfect branding.
It minimizes the amount of SharePoint knowledge to design and brand a SharePoint site successfully.
SkyDrive:
It is Microsoft's cloud storage mechanism for consumers.
SkyDrive helps to work with documents in SharePoint - save, sync, share and collaborate and, what is more, to get the documents offline in the Windows Explorer, Office applications and so on.
Records management and compliance:
SharePoint 2010's records management features had improved from SharePoint 2007's.
SharePoint 2013 Preview has enhanced compliance simply by extending retention policies to SharePoint sites.
This also applies to any Exchange Server 2013 Preview team mailboxes associated with those sites.
Cloud App Model:
Share Point 2013 introduces a Cloud App Model that enables to create apps.
Lists, libraries, calendars, workflows and site pages are called “Apps” now. These can be easily added to the SharePoint site.
An app may also surface a remote web application and remote data in SharePoint.
There are a lot of benefits of such solution vs classic one.
Users now can have one of the following views:
Contemporary view – is available to Mobile Internet Explorer version 9.0 or later versions for Windows Phone 7.5, Safari version 4.0 or later versions for iPhone 4.0, and the Android browser for Android 4.0 or later versions.
Classic view - is identical to the mobile browser experience of SharePoint 2010.
Full-screen UI - Full desktop view of a SharePoint site on a smartphone device.
SharePoint 2013 Search:
Search in SharePoint 2013 now includes several enhancements, custom content processing with the Content Enrichment web service, and a new framework for presenting search result types.
SharePoint 2013 additionally adds new Content Search Web Part – which makes search experience even more effective.
Business Connectivity Services:
In SharePoint 2013 BCS (Business Connectivity Services) are improved and enhanced in many ways, including OData connectivity, external events, external data in apps, filtering and sorting, support for REST and others.
Web content management:
The web content management improvements in SharePoint 2013 simplify how to design publishing sites and enhance the authoring and publishing processes of the organization.
It also contains new features that use enterprise search to surface dynamic web content on publishing sites.
Mobile devices:
SharePoint Server 2013 offers new, optimized viewing experiences across different mobile platforms. Additionally, there are several features that are available to help improve both worker productivity and usability on the device.
New for SharePoint is the Machine Translation Service, which translates sites, documents and streams for multilingual support. SharePoint 2013 also includes Access Services and a new data access model.
SharePoint 2013 has now Word Automation Services which you can use to convert files and stream to other formats. PowerPoint Automation Services are also new for SharePoint.
SharePoint, additionally, provides data analysis tools, like PerformancePoint Services and Visio Services that enable business intelligence and powerful new features in Excel Services.
eDiscovery:
Showing SharePoint's increasing presence in the world of litigation, eDiscovery improvements have been added that, unfortunately, are probably sorely needed. They include a new site template, the eDiscovery Center, which creates a portal for managing cases—you can access cases to search, hold content and export content.
Microsoft has added improvements to in-place holds, including site-level preservation; the ability for users to work with content that's preserved; and the ability to define the scope of preservation via a query filter. The results of your eDiscovery search—including documents, wiki pages, Exchange email messages and tasks and export them into a review tool.
Social computing:
The social computing and collaboration features in SharePoint 2013 offer an improved administration and user experience, in addition to new functionality for enterprise users to share and collaborate with others in their organization. The introduction of Community Sites offers a forum experience to categorize discussions around subject areas, and to connect users who have knowledge or seek knowledge about subject areas. Additionally, the new Community Portal enables a search-driven result page of communities for users to discover and explore from a link on their My Sites.
Improvements to My Sites offer a more intuitive workflow for users to develop their personal profiles, store content, and keep up-to-date with activities of interest through the use of the new micro blog and feeds experience.
Enhancements & Removed features in SharePoint 2013
The latest upcoming version of Microsoft SharePoint is SharePoint 2013. Improvements from SharePoint 2010 include major changes in on both the technical and user-interface fronts.
In the article, we will discuss a few of the salient changes that Microsoft is boosting for its latest version of SharePoint. SharePoint 2013 offers a multitude of performance improvements and new feature sets at both the user and developer level. The landscape for SharePoint 2013 users looks bright for many years to come.
Cloud App Model:
Instead of sandbox solutions in SharePoint 2010, SharePoint 2013 includes a new cloud app model, where apps are completely self-contained and extend a SharePoint site’s capability. Communication between these apps and SharePoint can be achieved using HTML, JavaScript, CSS, OData (Open Data Protocol) and OAuth (Open Authentication Protocol).
The latest Visual Studio 2012 lets you develop applications for both SharePoint and Office, while a new web-based development tool named Napa has also been launched to build apps for Office 365. Napa can come in real handy if you do not have Visual Studio installed and you want to check code functionality on the fly.
It is worth mentioning here that Napa itself is a SharePoint app. It can only be used to develop SharePoint-hosted apps. After initial prototyping, applications developed in Napa can also be opened and edited in Visual studio.
Social Collaboration:
SharePoint 2013 sites offer better collaboration and sharing functionality. New collaboration features include:
Community Sites
Follow People
Interactive Feed
Follow Sites
You can easily perform common micro-blogging activities like sharing content, links and media with other people in your SharePoint environment, and following people, sites, content and conversations. SharePoint 2013 also sports an activity feed that gives you a view of every activity related to people, content, media and links.
Enterprise Content Management:
SharePoint 2013 offers the best content management capabilities so far:
Managed Navigation
Cross-site Publishing
Design Manager
e-Discovery
This version of SharePoint includes site-level retention policies that extend compliance levels to sites. These policies include project closure and expiration policy and team and retention policy for sites and associated mailboxes.
With eDiscovery, you can search and export content from file shares. You can also export discovered content directly from SharePoint and Exchange. Team folders now provide you complete flexibility and ease of use by seamlessly integrating Exchange and SharePoint.
Search improvements:
The new and improved search engine now uses a unified search architecture and content enrichment web service for custom content processing. Search results are now personalized based on users’ previous search history. The new search functionality also gives you rich contextual result previews against your queries.
The search features include:
Rich Results Framework
Consolidated Search Results
Keyword Query Language (KQL) Enhancements
Here are some features that are removed from SharePoint 2013
- SharePoint 2013 has removed Document workspace site template.
- SharePoint 2013 also removed Personalization site template.
- SharePoint 2013 also removed one feature in SharePoint 2010 designer. Previously SharePoint 2010 designer has Design, Split and Code view for editing Aspx/Html pages. But SharePoint 2013 removed Design and Split view, now only Code view is presented in SharePoint 2013. This changed feature is because Design view is not up to date with updated version of Internet explorer.
- SharePoint 2013 removes UI for changing search topology, Now Search topology can be changed only by using PowerShell.
Enable Sign in as Different User Option in SharePoint 2013
In SharePoint 2013 Microsoft removed "Sign in as different user" option from the welcome menu. In this article we will discuss how we can customize welcome.ascx and bringing back the login as a different user option.
There are 3 ways of doing this:
I found that by default in SharePoint 2013, there is no option for "Sign in as different user". If you compare SharePoint 2010 and SharePoint 2013, it appears like below:
- Just add the following to the url: /_layouts/closeConnection.aspx?loginasanotheruser=true.
- Start your browser as another user
- For enabling this option need to follow below steps:
Go to the Path Location:
C:\Program Files\Common Files\Microsoft shared\Webserver Extensions\15\TEMPLATE\CONTROLTEMPLATES
Here you will find a file named "welcome.ascx".
Open the welcome.ascx file and add the below code, below to <SharePoint:MenuItemTemplate runat="server id="ID_PersonalInformation" tag:
<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"
Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"
Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
MenuGroupId="100"
Sequence="100"
UseShortId="true"
/>
After this Save this, the option will appear like below:
Subscribe to:
Posts (Atom)

