Last post Mar 25, 2010 05:51 PM by lukask
Mar 25, 2010 07:39 AM|lukask|LINK
I've developed WCF REST service and then I've deployed to IIS6 on windows
server 2003. But when I navigate to address "...Service.svc/Operation" I'll
got following error:
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'ServiceModel'
does not exist in the namespace 'Microsoft' (are you missing an assembly
Line 4: using System.ServiceModel;
Line 5: using System.ServiceModel.Activation;
Line 6: using Microsoft.ServiceModel.Web;
My question is: Can I put WCF REST assemblies into bin folder of my service instead installing WCF REST Starter Kit preview on server ???
Mar 25, 2010 09:31 AM|egor598|LINK
Yes, you can put your dlls into your project's bin folder. But the other things to check:
Is the above mentioned dll present in your bin folder?
If it is, is it referenced in your web.config file?
Mar 25, 2010 05:51 PM|lukask|LINK
Thank you. My mistake , I forgot modify web.config file.