tags:

views:

281

answers:

2

Hi,

I have a WCF application, running on .NET 3.5 SP1, hosted in IIS7, on a Windows Server 2008 64-bit.

In our architecture, there is 1 instance of the application per client, DLLs are copied in a separate directory for each client. In IIS, we host 5 or so clients per application pool, each client having its own application/virtual directory/physical directory configured.

This config works fine for our current version, which uses .NET 2.0 ASMX Webservices with WSE.

When we put our new version using WCF in test, it worked fine when the application pool has only one application in it. When we put 2 applications in the same pool, the services starts returning null for no reason while it is not when isolated.

Our application pool managed pipe line is "Classic", and I have also tried in "Integrated" mode, the problem is still there.

Anyone have some ideas of what is going on ?

A: 

Oki, there is some new information. It might not a WCF problem at all...

Our WCF Service implementation was made via object proxying (System.Runtime.Remoting.Proxies.RealProxy).

Our base proxy had DebuggerNonUserCode attribute which was hiding the exception server side in debug mode.

For now, I suspect our RealProxy to be the source of the problem. I will post my findings later. Thanks

Sebastien
I have opened a call with Microsoft for this issue.I will post the findings when the case will be resolved.
Sebastien
Still waiting for Microsoft about that.
Sebastien
A: 

Hi,

The case with Microsoft has been resolved. This is a bug in .Net frameowkr 2.0 and a hotfix will be available shortly.

The KB is 971030.

The problem was related on how the CLR loads assemblies into a app domain.

Sebastien