Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lesley 105 posts 347 karma points
    Feb 20, 2017 @ 00:44
    Lesley
    0

    Create/Reference UmbracoApiController outside main website

    We currently have a method in an UmbracoApiController within our main website that is called from Windows Task Scheduler via a Powershell script.

    We want to move this out of the main website into a separate application (either console app or web app) - is this possible?

    I've tried creating a separate web app and including the Umbraco Core binaries, however, when we try to create or reference an UmbracoApiController we get the following error:

    Value cannot be null. Parameter name: umbracoContext
    

    We are using Umbraco v6.1.6.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies