ActivationOption.Server doesent work, but libary does

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Steve Drake (Steve_at__NOSPAM_.Drakey.co.uk)
Date: 06/16/04


Date: Wed, 16 Jun 2004 11:36:38 +0100

All,

I have a servicedcomponet that works fine if its activated as library app,
but doesn't work if its activated as a server component.

I get the following error :

System.Runtime.Serialization.SerializationException: Cannot find the
assembly Project.Common, Version=6.0.1628.18135, Culture=neutral,
PublicKeyToken=0b8a1eb77127c657.

I have lets .NET register the componet and I have also tried :

regsvcs <DLL> /appdir:<PATH>

The DLL mentioned is in the correct folder.

Cheers

Steve