How to clear user cookies after pressing the SharePoint 2013 out-of-the-box signout button

private void RemoveCookiesAndSignOut() { // Clear session state. if (Context.Session != null) { Context.Session.Clear(); } string cookieValue = string.Empty; if (Context.Request.Browser[“supportsEmptyStringInCookieValue”] == “false”) cookieValue = “NoCookie”; // Clear my own cookie. HttpCookie cookieWinSignIn = Context.Request.Cookies[“Morpheus_WindowsSignedIn”]; if (cookieWinSignIn != null) { cookieWinSignIn.Value = cookieValue; Context.Response.Cookies.Remove(“Morpheus_WindowsSignedIn”); Context.Response.Cookies.Add(cookieWinSignIn); } // Remove cookies for authentication. HttpCookie cookieSession = Context.Request.Cookies[“WSS_KeepSessionAuthenticated”];… Continue reading How to clear user cookies after pressing the SharePoint 2013 out-of-the-box signout button

SSRS in SharePoint Integration mode with custom rendering extention ( export files )

Problem I can modify the rendering format of a Reporting Services report by making changes to the RSReportServer.config file. However, this does not work when Reporting Services is running in SharePoint-integrated mode. How can we accomplish this? Since Reporting Services in both native and SharePoint-integrated mode have the RSReportServer.config file, we have gotten used to the… Continue reading SSRS in SharePoint Integration mode with custom rendering extention ( export files )

SharePoint 2013 : Cannot open backup device ‘[filename and path]’. Operating system error 3(The system cannot find the path specified.). BACKUP DATABASE is terminating abnormally.

Problem Your SharePoint Server 2010 or 2013 system employs a SQL Server 2008 or 2012 farm database server. SharePoint 2010 SP1 may or may not have been installed. Both SharePoint 2010 and SQL Server are hosted on Windows Server 2008 platforms.  The MSSQLSERVER service is run under the NETWORK or other domain account. You attempt… Continue reading SharePoint 2013 : Cannot open backup device ‘[filename and path]’. Operating system error 3(The system cannot find the path specified.). BACKUP DATABASE is terminating abnormally.

Configure an Environment for Apps for SharePoint 2013

One of the new features of SharePoint 2013 is the SharePoint Store. Similar to the Windows Phone Marketplace and Google Play Store, this new feature gives site owners the ability to discover and download apps for SharePoint from the store and install them on their SharePoint Sites. Furthermore, if you are a developer for your… Continue reading Configure an Environment for Apps for SharePoint 2013

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