Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

Workflow triggered plugin - cannot find web.config values

$
0
0

We have a working solution where a plugin executes on post update of a product (custom entity new_product). The plugin call a wcf service for some information and works well.

However, when we now have created a workflow, triggered by create on the product (where we set some initial values). We get "Could not find default endpoint element that references contract 'xxx' in the ServiceModel client configuration section."

It seems like the plugin cannot access the wcf client configuration when "triggered by a workflow"

When debugging I can see that the plugin is actually executed by the async process. A reasonable explanation is probably that the async process cannot access web.config. Does anyone have an easy way around this?


Viewing all articles
Browse latest Browse all 10280

Latest Images

Trending Articles



Latest Images