Monday, 20 April 2015

SharePoint 2013 - InfoPath forms are not opening after installing Microsoft SahrePoint Update KB2881078


After installing the Security Update for Microsoft SharePoint 2013 ( KB2881078 ), we realized that the InfoPath forms stopped working.

The below error page appeared when we tried to open the  InfoPath forms.
I checked the SharePoint logs and found the below error:


Exception Message: The type initializer for 'Microsoft.Office.InfoPath.Server.Util.UrlManager' threw an exception. Requested registry access is not allowed
 

So there should be an issue with the Application pool Account permission.


I run regedit  >  open    HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Office Server\15.0    >  Assign read permission to the.App Pool account.






 




 



Now Reset IIS and then open the Page which has an InfoPath form. It is working !!!!!

If you don't know how to find the SharePoint App Pool Account, Open IIS and under the site, select the Web Application > Click on Basic Settings . >  see what the APP Pool is 



 



Hope it helps,


Kate

Thursday, 16 April 2015

AD User profile properties not updating in SharePoint


One of our client reported an issue with SharePoint Alerts. They configured a SharePoint Alert for a list in a SharePoint 2010 site and realized that the alert not being sent to a particular user.

I checked in SharePoint server ,  the User Profile Synchronization Service was running without any issue. 

But when they updated the user details ( email address ) in Active Directory, the updates were not being shown in SharePoint and the user's Email Address was not changing. 

Issue:
It was because, despite the user’s email address was updated in the SharePoint user profile, but sometimes in SharePoint the changes do not propagate to the web application.




So I used the below trick to fix it:

Solution:
  1.      Navigate to the hidden user list https://Site URL/_catalogs/users/simple.aspx
  2.      Delete the user
  3.      Again add this user to site Members group ( or what ever group .
  4.      Set Alert for user on  https://Site URL/Lists/List Name/AllItems.aspx


 The alert works fine.
  
 Hope the is helpful.   

 Kate





SharePoint 2013 and Visual studio 2012 -Error occurred in deployment step Recycle IIS Application Pool

I was going to create a visual webpart using Visual Studio 2012 for a SharePoint 2013 web application.
When I tried to deploy the solution to a SP Site collection, I received the below error

Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://servername/. Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.


I restarted the Visual Studio 2012 but still I received this error when deploying the solution.

Then I realized  the  current user on the web content database was not the owner.  I added the current user to the web content database with owner role. This time when I deployed the solution, the error disappeared.


Hope this helps,
Kate

Wednesday, 15 April 2015

News articles using SharePoint 2013 Blog Template



In the top level site > Site Content > new Subsite > create a new Subsite using Blog Template



 
For Navigation Inheritance, Select “Yes”  > Click on Create Btn.

The News Subsite will be created as below:


Click on Manage posts 

Then in the post list > list Settings > Add from existing site columns


Then add “Byline”  and  “Rollup Image”
Change Column Ordering as below:   
Byline  - > position from top : 2 
 Rollup Image  -> position from top : 3 
You can manage categories
Please make sure the post layout is set to Basic 

Add a News WebPart on the homepage:


This Web Part retrieves data from the below Subsite :
News Archive   :   /news/Pages/default.aspx
Using a Content Query WebPart, it displays list from the sub-site (news) with the configuration below:        

 Select Show items from the following list:
/News/Lists/Posts

 Additional Filter :  Expiry Date is greater then or equal to [Today]

 Set the Styles and Appearance as below:


Set Fields to display as below: 


Happy SharePointing


Kate