Discussion Board for collaboration on QlikView Publisher.
I try to use the SDK in Visual C# 2010 Express. I follow the steps in "Getting started QMS API.pdf" but throw the "Service Key is Missing" exceptions in the line "ServiceKeyClientMessageInspector.ServiceKey = Key;"
Go to Solution.
The most likely cause for this error would be that the following line is missing in your config file:
This should be placed before the end tags of each endpoint address node.
Hi, i'm having the same problem, did you resolve it?? any ideas please??
thanks for that hint. It solved my problem!
The <serviceKeyBehavior /> entry in the web.config is still blue underlined.
But the exception with the "serviceKey" missing is gone!
Using dotnet 4, Visual Studio 2010.
Sorry for taking so long.
The issue with the blue underline is a.NET bug with intellisense. The code should still compile and run fine.
Thanks Andrew. It worked like charm.
I added that line as shown below in bold.
<endpoint address="http://<servername>:4799/QMS/Service" binding="basicHttpBinding"
name="BasicHttpBinding_IQMS" behaviorConfiguration="ServiceKeyEndpointBehavior" />
<endpoint address="http://<servername>:4799/ANY/Service" binding="basicHttpBinding"
name="BasicHttpBinding_IQTService" behaviorConfiguration="ServiceKeyEndpointBehavior" />