Yesterday I was working on some plug-in code which was working fine earlier. I changed pipeline to synchronous and started to get consistent "404 - Not Found" error from calls to CrmService. I reduced the problem to something like this:
public class MyPlugin: IPlugin
{
public void Execute(IPluginExecutionContext context)
{
ICrmService service = context.CreateCrmService(true);
account a = new account();
a.name = "test";
service.Create(a); // this line fails with 404
}
}
And it just was not working. We all know about very "informative" SoapException which would have been fine but I was getting simple http-level 404. Something was pointing somewhere it shouldn't have... More...
Currently rated 4.1 by 7 people
- Currently 4.142857/5 Stars.
- 1
- 2
- 3
- 4
- 5