Rodney Viana's (MSFT) Blog

Post on Sharepoint, WCF, WIF and C#

Step by step video on how to fix the SharePoint Workflow issue caused by .NET patch

This post is a continuation of this previous post. It is also an extension of KB4465015. The video...

Author: Rodney Viana - MSFT - SharePoint Date: 10/12/2018

After installing .NET security patches to address CVE-2018-8421, SharePoint workflows stop working (KB 4457916/4457035 and others)

*** FINAL UPDATE VI *** SharePoint CUs are out The Nov 2018 SharePoint CUs The SharePoint with fixes...

Author: Rodney Viana - MSFT - SharePoint Date: 09/13/2018

SharePoint 2013/2016 Usage Reports fail to show the correct number of clicks from anonymous access

Symptom When using a Search Center with anonymous access, click statistics do not compute correctly...

Author: Rodney Viana - MSFT - SharePoint Date: 03/28/2018

Leveraging the new Time Travel Trace API in Debugging tools to find when one or more SharePoint event happened

In my previous post, I showed a proof-of-concept script to list all occasions a process opened a...

Author: Rodney Viana - MSFT - SharePoint Date: 03/27/2018

Leveraging the new WinDbgX and Time-Travel-Trace –Script to list all access to files

WinDbg Preview a.k.a. WinDbgX aesthetically looks like a marriage between Visual Studio (VS) and...

Author: Rodney Viana - MSFT - SharePoint Date: 03/08/2018

After updating SharePoint 2013 to November 2017 CU or later you may not be able to open documents with Office

*** UPDATED TO INCLUDE Stefan Gossner and Adam Soreson's INPUT *** Symptom After updating SharePoint...

Author: Rodney Viana - MSFT - SharePoint Date: 12/05/2017

SharePoint 2013 and 2016 does not respect the user zone when sending alerts but the Cross Firewall Access Zone (an unusual scenario)

Symptoms Consider you have a one Web Application with at least two zones. The extranet zone...

Author: Rodney Viana - MSFT - SharePoint Date: 10/30/2017

Tool to generate DebugDiag rule for SharePoint based on event id (Tag) and optionally a partial message

When I updated my post on how to create DebugDiag rule based on event id (Tag), I received some...

Author: Rodney Viana - MSFT - SharePoint Date: 08/30/2017

PowerShell CmdLet to check OneDrive for Business or OneDrive Personal Status

My good friend Neil Hodgkinson gave me a challenge: some partners and companies were asking him how...

Author: Rodney Viana - MSFT - SharePoint Date: 06/06/2017

SharePoint 2013/2016 RSS Viewer not working with external sites when through a proxy

Recently I worked on a case for a Fortune 500 company that was having problems to render the RSS...

Author: Rodney Viana - MSFT - SharePoint Date: 04/25/2017

The [unofficial] guide for SharePoint 2013 (and 2010) working with TLS 1.2 only

There are several resources out there claiming SharePoint 2013 and 2010 are not compatible with TLS...

Author: Rodney Viana - MSFT - SharePoint Date: 06/28/2016

Misbehaving custom SharePoint components leading to claims authentication exceptions (tag bz7l)

I have mentioned the steps to troubleshoot Claims to Windows NT Service (c2WTS) problems in a...

Author: Rodney Viana - MSFT - SharePoint Date: 05/27/2016

Creating DebugDiag 2 rule to generate SharePoint 2010-2016 process dump based on ULS Tags and Message

I had previously discussed this topic here but it would not work for ULS tags with 5 digits...

Author: Rodney Viana - MSFT - SharePoint Date: 05/26/2016

WinDBG Extension written completely in C#

A lot of good and competent people shy away from writing their own WinDbg extension because of the...

Author: Rodney Viana - MSFT - SharePoint Date: 05/18/2016

Considerations for NetTcpBinding/NetNamedPipeBinding you may not be aware

  NetTcpBinding is a strange beast and chances are you will encounter several problems in...

Author: Rodney Viana - MSFT - SharePoint Date: 02/29/2016

How to Identify Why an Application Pool is Recycling in IIS 7+ and DebugDiag 2 Fails to Add Managed Breakpoint in .NET 4.6+ in one post

Identifying why Application Pool is recycling Starting with IIS 7, application recycle for managed...

Author: Rodney Viana - MSFT - SharePoint Date: 11/03/2015

Displaying Http Requests from Self-Hosted WCF Services

This is a short one, I promise. A colleague was complaining that NetExt command !whttp was not...

Author: Rodney Viana - MSFT - SharePoint Date: 10/26/2015

Pure Native C++ consuming .NET classes without COM registration

One of the problems that many C++ native developers face when interacting with .NET is the inability...

Author: Rodney Viana - MSFT - SharePoint Date: 08/24/2015

Console Application to discover Effective Named Pipe Path of a WCF net.pipe Endpoint (Update for .NET 4.0+)

Named pipes created by WCF does not look like the endpoint at all. I discuss this at length here:...

Author: Rodney Viana - MSFT - SharePoint Date: 08/06/2015

First NetExt custom command added by the community - !wsocket

  James Davis is a big shot in the debugging community and maintains a hard core blog of his...

Author: Rodney Viana - MSFT - SharePoint Date: 04/07/2015

The case of the non-responsive MVC Web Application

  A colleague (and friend) from Azure team asked me to help narrow down a strange case of a MVC...

Author: Rodney Viana - MSFT - SharePoint Date: 03/27/2015

Getting started with NetExt

  DISCLAIMER: NetExt is a free and open source WinDBG application that makes .NET debugging...

Author: Rodney Viana - MSFT - SharePoint Date: 03/10/2015

Identifying the .NET version you are running (2.0, 4.5, 4.5.1 or 4.5.2)

  .NET 2.0 to 3.5 These version shares the same runtime and the version starts with 2.0.50727...

Author: Rodney Viana - MSFT - SharePoint Date: 12/23/2014

Finally a Federation STS sample using ASP.NET Forms Authentication!

I have recently worked on an advisory case on which the customer was looking for a STS sample using...

Author: Rodney Viana - MSFT - SharePoint Date: 11/06/2014

Verifying current calls and sessions during runtime

One of the WCF strengths is the flexibility to allow different configuration combinations. One of...

Author: Rodney Viana - MSFT - SharePoint Date: 10/08/2014

How to get a SAML Protocol Response from ADFS using C#

ADFS (Active Directory Federation Services) is a fancy name for Windows Identity Foundation Server....

Author: Rodney Viana - MSFT - SharePoint Date: 04/21/2014

Verifying whether the broken piece is c2WTS or Active Directory

If you have tried my tool to troubleshoot c2WTS with SharePoint, c2WTSTester, verified that the...

Author: Rodney Viana - MSFT - SharePoint Date: 03/21/2014

Logging incoming requests and responses in an ASP.NET or WCF application in compatibility mode

One of our customers had a very particular problem that prevented them from using custom encoder and...

Author: Rodney Viana - MSFT - SharePoint Date: 02/06/2014

Hardcore Debugging for .NET Developers (not for the faint of heart)

UPDATE******* NETExt is now back in version 2.0.0.500 using a ClrMD as API.   Get it here:...

Author: Rodney Viana - MSFT - SharePoint Date: 10/30/2013

Creating DebugDiag rule to generate SharePoint process dump based on ULS Tags

SharePoint has a very comprehensive and configurable diagnostic logging infrastructure known as ULS...

Author: Rodney Viana - MSFT - SharePoint Date: 10/23/2013

Adapting to the caller namespace soap 1.1 request in classic asmx via Filter

  I had received a somewhat odd request to produce a proof-of-concept application to enable a...

Author: Rodney Viana - MSFT - SharePoint Date: 11/27/2012

Troubleshooting Claims to Windows NT Token Service (c2WTS) in SharePoint 2010 may be difficult if you don’t know where to start

I have been writing some blogs entries (and even a Microsoft KB) about c2WTS, but the subject never...

Author: Rodney Viana - MSFT - SharePoint Date: 07/19/2011

Console Application to discover Effective Named Pipe Path of a WCF net.pipe Endpoint

As I have promised in my previous post, I am making available a C++ console application to...

Author: Rodney Viana - MSFT - SharePoint Date: 03/23/2011

Named Pipes in WCF are named but not by you (and how to find the actual windows object name)

If Windows Communication Foundation (WCF) implementation has its own idiosyncrasies, named pipes...

Author: Rodney Viana - MSFT - SharePoint Date: 03/22/2011

In SharePoint 2010 when you create a new Top Link Bar entry the Home tab will not highlight anymore

After adding page links to the Top Link Bar of team sites tab, the Home tab (the first one) was not...

Author: Rodney Viana - MSFT - SharePoint Date: 03/04/2011

Step by step configuration of Excel Calculation Services (ECS) when using Kerberos

There is no better way of learning something than to observe someone doing it step-by-step. I...

Author: Rodney Viana - MSFT - SharePoint Date: 02/23/2011

Claims to Windows Token Service (c2WTS) may not start automatically when you reboot your server (don’t blame SharePoint for that)

I know a large number of people who believe that Claims to Windows Token Service is a SharePoint...

Author: Rodney Viana - MSFT - SharePoint Date: 02/20/2011

Application to check cascade access rights for a particular user or anonymous user in SharePoint

Don’t you hate when you have access denied and you don’t know where it is coming from? It is even...

Author: Rodney Viana - MSFT - SharePoint Date: 11/11/2010

Creating a Web Application using Kerberos as authentication instead of NTLM in SharePoint 2010 programmatically via PowerShell

If you have ever tried to programmatically create a Web Application using Kerberos as authentication...

Author: Rodney Viana - MSFT - SharePoint Date: 10/08/2010

ForeFront The Missing Manual

  My friend Yuri Diogenes, one of the security gurus here at Microsoft, in partnership with Jim...

Author: Rodney Viana - MSFT - SharePoint Date: 04/13/2010

Some thoughts on Impersonation

I normally talk about SharePoint topics but this post is also important for non-SharePoint people....

Author: Rodney Viana - MSFT - SharePoint Date: 12/30/2009

You cannot edit list or document library items on existing SharePoint sites

This problem was fixed in KB961175. The patch will keep the problem from happening again in new...

Author: Rodney Viana - MSFT - SharePoint Date: 12/16/2009

MOSS Load Test

I had put together an application to perform Load Test in both Microsoft Office SharePoint Server...

Author: Rodney Viana - MSFT - SharePoint Date: 09/03/2009

Presenting MOSS Support Explorer (Not even Beta Yet)

There are some occasions in the course of work as Support Escalation Engineer in Microsoft that we...

Author: Rodney Viana - MSFT - SharePoint Date: 08/12/2009

Blobcache will not work if the request url is not in the Alternate Access Mapping list

There are scenarios on which you can access a unique site collection using different URLs even if...

Author: Rodney Viana - MSFT - SharePoint Date: 06/24/2009

The fine art of updating MOSS 2007 and WSS 3.0

Let's face it, updating Sharepoint is not an easy task. It is true for both Microsoft Office...

Author: Rodney Viana - MSFT - SharePoint Date: 05/19/2009

Getting Sharepoint Site/Web Context in a Console Application

I had recently faced a problem which I believe other people will face at least once: how to get the...

Author: Rodney Viana - MSFT - SharePoint Date: 05/19/2009

How to test the Mail Settings for a Sharepoint Web Application

WSS and MOSS enable outgoing e-mail configuration and most of the time this configuration is...

Author: Rodney Viana - MSFT - SharePoint Date: 11/05/2008

Next>