WCF: Forward compatibility issues with DataContractSerializer
Problem statement.Net objects are referenced in cyclic (mutual) nature. DataContractSerializer de-serialization uses to fail in case of forward compatibility (i.e. when it tried to read from...
View ArticleTroubleshooting WIF ID3206 Error
Problem StatementWhile trying to browse to a WIF enabled application - https://myApplication/WebAppHome, we get the following error –ID3206: A SignInResponse message may only redirect within the...
View ArticleHTTP 503 Service Unavailable due to Reserved URI
Problem Statement I have a WCF REST service hosted on the IIS. The URL to invoke the method of the REST service looks like – http://sauravpc1.fareast.corp.microsoft.com/RestWCF/RestServ/GetData. Now,...
View ArticleNegotiate V/s NTLM
Definitions: Negotiate: Microsoft Negotiate is a security support provider (SSP) that acts as an application layer between Security Support Provider Interface (SSPI) and the other SSPs. When an...
View ArticleWCF: Forward compatibility issues with DataContractSerializer
Problem statement .Net objects are referenced in cyclic (mutual) nature. DataContractSerializer de-serialization uses to fail in case of forward compatibility (i.e. when it tried to read from...
View ArticleTroubleshooting WIF ID3206 Error
Problem Statement While trying to browse to a WIF enabled application – https://myApplication/WebAppHome, we get the following error – ID3206: A SignInResponse message may only redirect within the...
View ArticleCOM: Intermittent error 800703fa: Illegal Operation attempted on a registry key
Intermittent error 800703fa: Illegal Operation attempted on a registry key You may encounter the error 800703fa intermittently while running an application on IIS. Error details: Retrieving the COM...
View ArticleWF: Running Work Flow application on FIPS (The Federal Information Processing...
WF: Running Work Flow application on FIPS (The Federal Information Processing Standard) complaint Machines. Issue: Using the System.Workflow.Runtime library in our code and when creating the workflow...
View ArticleWCF: Introp – Signing without primary signature requires timestamp.
WCF: Introp – Signing without primary signature requires timestamp. Security Requirement: SSL Channel SAML token for authentication as part of <security> header TimeStamp being added after the...
View ArticleWCF: Review System.Net and Network traces for Windows...
WCF: Review System.Net and Network traces for Windows Authentication/Delegation based troubleshooting System.Net traces <?xml version=”1.0″ encoding=”utf-8″ ?> <configuration>...
View ArticleWCF: How to send two different client certificates as credentials at both...
WCF: How to send two different client certificates as credentials at both Transport and Message Level Requirement: Transport Security Details A secure transport layer via mutually authenticated...
View ArticleWCF: Custom encoder to read MTOM response
Today I will talk about one of the weird issues related to encoder. Issue Client application should send an MTOM encoded request message to 3rd party web service. The web service will respond it with a...
View ArticleWCF: DateTime localization challenge
Issue 1. Client desktop application consumes WCF service. 2. WCF service communicates with SQL database in the background. 3. Client application passes DateTime value in local time zone. 4....
View ArticleData collection scenarios using ProcDump
In this topic, we are going to discuss about memory dump collection techniques from field experience. ProcDump.exe is a very helpful tool that monitors the process and helps in grabbing memory dumps....
View ArticleHow a .Net application loads a .Net COM class
In .NET COM, do you know how AppDomain::LoadCOMClass() works? In CLR 4.0, it’s clr!AppDomain::LoadCOMClass() In .NET 2.0, it’s mscorwks!AppDomain::LoadCOMClass() In 2.0 & 4.0 (or above) it first...
View ArticleASMX: Service reference API invocation fails with MessageSecurityException
Problem statement 1. Web service application (ASMX) is hosted on Windows server 2008 R2 (SQL service). The service application can also be hosted on IIS. The service is available over http. 2. From...
View ArticleWCF: SSL offloading in load balancer – a simple approach
Problem statement 1. There are two machines behind load balancer. 2. These machines host same version of the WCF service with wsHttpBinding and no security. 3. It means WCF services are available over...
View ArticleApp Fabric – Downgrading from Cumulative Updates to RTM
Problem Statement Cumulative updates for AppFabric can be removed using the “Programs and Features -> Installed Updates” option in Windows Server. While removing any of the CUs to revert back the...
View ArticleWeb Service error – Request format is unrecognized.
Problem Statement: While trying to browse an asmx Web Service, you get the following error: Request format is unrecognized. Description: An unhandled exception occurred during the execution of the...
View ArticleWorkflow Service application – IIS hosting
Today – we are going to talk about hosting workflow service application on IIS. Recently, I came across a case where customer wanted to host the workflow service application on IIS with windows...
View Article