Could not load type 'Microsoft.ServiceModel.Samples.CalculatorService+MyUserNamePasswordValidat

Hi,

I am working with Security WCF concept. I got an example UsernameToken from Microsoft site. I am unable to run the service when it is self hosted in IIS, where as I am able to run from VS 2005 IDE. It is giving error like the following

Could not load type 'Microsoft.ServiceModel.Samples.CalculatorService+MyUserNamePasswordValidator' from assembly 'service'.

Please help me in solving this problem.

Thank you,

Madhu

[787 byte] By [Madhusudhan.p] at [2008-2-6]
# 1

I think you may have more success with an answer in the WCF Forums, ( http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=118&SiteID=1 )

although, off the top of my head, it would appear that your assembly isn't referenced correctly, or in the bin directory of your service.

g


Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation
blog:http://blogs.msdn.com/garretts

GarrettSerack-MSFT at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...

Software Development for Windows Vista

Site Classified