Skip to main content

Hi,


    I deployed a WCF service in IIS and add the servise reference to a class library in a K2 solution. when i tried to create an instance of the service i'm receiving an error "Could not find default endpoint element that references contract" all the data in the app.config file are correct. i'm using basichttpbinding.


I tried the same WCF service from a console application it was working perfectly.


Any help would be useful.


Thanks,Karthikeyan

You will need to add the bindings in the K2HostServer.config file. Remember to restart the K2 Service after updating it. Also, if you are running the K2 Server under .NET 4.0, you need to add the bindings in a separate file called K2HostServer.exe.config and copy the System.ServiceModel section in there:


http://help.k2.com/en/kb001254.aspx and 


http://www.k2underground.com/forums/t/14071.aspx


Reply