I can create a silverlight 4.0 application in Win xp (IIS 5.1). But when I try to create the same application in Win Server 2008 R2 (IIS 7), I get an error message,
"error CS0012: type 'System.ServiceModel.ClientBase`1' is defined in an assembly that is not referenced. You must add a reference to the assembly 'System.ServiceModel, Version = 3.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'" .
The path actually refers to the dll on both machines, "C: \ Program Files \ Reference Assemblies \ Microsoft \ Framework \ Silverlight \ v4.0 \ System.ServiceModel.dll".
What could be the problem?
Thanx in advance
source share