SharePoint

Fix TCP error code 10061 in SharePoint 2010 User Profile Service

In SharePoint timer job history I have noticed that there’s the error in starting User Profile synchronization: Could not connect to http://spsrv:5725/ResourceManagementService/MEX. TCP error code 10061: No connection could be made because the target machine actively refused it <ip-adress:port>. Read more»

SharePoint

Get list items from SharePoint 2010 using Client Object model

Simple console application, which get data from SharePoint list and displays it. It’s very good solution if SharePoint is used as a storage of rates, catalogs, libraries etc. To use SharePoint Client model you should add references to Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll in your solution. Read more»

.Net & C#

Make iisreset on all servers of SharePoint farm

It’s a very useful code. Sometimes after activating features, installing solutions or anything else you need to make iisreset on all the application servers of your SharePoint farm. Read more»

SharePoint

Real-time statistics of SharePoint sites via SQL-request

There’s a table in SharePoint content database where all the events are written in case if audit is turned on. But SharePoint doesn’t display real-time statistic about users on site, it gives you statistic only on the next day. Read more»

SQL and databases

Create SharePoint permission set – user can only add list items but don’t see them

The task – create SharePoint list so that users could only add list items but couldn’t see any items, even created by them, and, of course, couldn’t edit or delete them. May be there are some ways to do it, but I found this solution to create new permission set – user can add view […] Read more»

SharePoint

Add / remove user to SharePoint groups with PowerShell

In SharePoint site you can see usually a lot of groups. Sometimes administrator gets a task to add user to several groups. If it’s 3-5 groups you can do it manually, but if you need to add user to 30 groups? I’m too lazy to do it manually and too smart not do it at […] Read more»

SharePoint

How to create fake users in SharePoint with real names

While migration system and its data to SharePoint application there was a task to save logs of change from old system data. Some authors of changes have already retired – some of them are disabled in Active Directory, others – deleted at all. Read more»

SharePoint

Delete SharePoint sites recursively

Today I tried to delete a SharePoint site (SPWeb) with child sites inside. I tried to delete it form administrator interface but I got an error. Something was wrong with templates or site structure. So I decided to use PowerShell for SharePoint. Read more»

SharePoint

Popular Posts