WorkFlowActions.xamlx keep giving Keyword not supported: 'metadata'.

Khalid Salameh 1 Reputation point

Hi all,
I'm working with Sequential WindowsWorkFlow.xamlx, once I want to run the Workflow, it's keep giving error "Keyword not supported: 'metadata'."


I checked the connection string and it is as below:

<add name="MyEntities" connectionString="metadata=res://*/ENT.csdl|res://*/ENT.ssdl|res://*/ENT.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=****;initial catalog=****;user id=***;password=****;multipleactiveresultsets=True;application name=EntityFramework&quot;" providerName="System.Data.EntityClient" />  


Please help...

Microsoft Technologies based on the .NET software framework.
3,155 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,936 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Michael Taylor 44,136 Reputation points

    The connection string you posted is tied to using Entity Framework's EDMX designers. If you aren't using that then this connection string won't work. Please post the relevant code that is trying to load the connection string.

  2. Khalid Salameh 1 Reputation point

    I tried this also:
    osql -S <server_name> -U sa -P <password> -d <database_name> -i C:\Windows\Microsoft.NET\Framework\v4.0.30319\SQL\en\SQLWorkflowInstanceStoreSchema.sql

    still given "Login failed for user 'sa' "

    0 comments No comments

  3. leo del ciello 66 Reputation points

    I guess you should have an entry in the <services> section of your web.config too, something like :

       <service name="ManageWorkFlowActions">
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="pdp_basicHttpBinding" contract="IManageWorkFlowActions" />

    where "IManageWorkFlowActions" is a placeholder for the name of the Interface implementing your service.

    If you used the right workflow template to develop your application this entry should have been inserted automatically in your web. config ....

    0 comments No comments