C# : Handling not sent email exception

Im stuck with problem as some of the system users are “nonactive” users and my function is not handling exception of not sending email to “nonactive” users. Function send email to users even if they are nonactive in system. private static bool Postepowanie_ObslugaPodstawowa(AlertTyp typPowiadomienia, string statusDescr, int podanieId, IUzytkownik sender, IEnumerable<IUzytkownik> recipients) { SzablonPowiadomien szablon… Continue reading C# : Handling not sent email exception

Sync SharePoint User Information List

SharePoint contains a User Information List in the Root Web of every Site Collection which contains a number of properties about the users. The properties include: Display Name Email SIP Address (Used by OCS/Lync Presence) Department Job Title First Name Last Name Work Phone Office User Name This List is used in a number of… Continue reading Sync SharePoint User Information List

w3wp.exe: All query processing components are in ‘Failed’ status.

Today, we received from our customer the information about some errors to use the search in a SharePoint website, following the error: In URL log, we saw the following two errors, Unexpected and Critical respectively: 1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Microsoft.Ceres.InteractionEngine.Component.FlowHandleRegistry : Exceptions occurred when evaluating the flow. Microsoft.Ceres.Evaluation.DataModel.EvaluationException: Cannot plan query for index system SP4e7c82952015. Index fragment… Continue reading w3wp.exe: All query processing components are in ‘Failed’ status.

Project Server 2013 – Can’t load WebPart / DBNull.Value to type ‘System.Guid’

Using this script in SQL you can check which record is generating the error : SELECT [PROJ_NAME] ,[MD_PROP_NAME] ,[CODE_VALUE] FROM [ProjectWebApp].[pub].[MSP_PROJ_CUSTOM_FIELD_VALUES] A inner join [ProjectWebApp].[pub].[MSP_PROJECTS] B On A.[PROJ_UID]=B.PROJ_UID inner join [ProjectWebApp].[pub].[MSP_CUSTOM_FIELDS] C on C.MD_PROP_UID = A.MD_PROP_UID Where [CODE_VALUE] is null and FIELD_TYPE_ENUM = 21 and [MD_LOOKUP_TABLE_UID] is not null order by [PROJ_NAME]​