Results 1 to 4 of 4

Thread: Ext Direct remote connection .NET API Call errors out

  1. #1
    Sencha Premium Member
    Join Date
    Dec 2014
    Posts
    6
    Vote Rating
    0
      0  

    Default Ext Direct remote connection .NET API Call errors out

    I have Sencha application using Ext Direct and connecting to a .NET application. It works fine locally
    and makes all the direct calls without a problem. But when I try to connect to a remote server that has the same code, when I connect to the server I get a 404 Error stating:

    [HttpException]: A public action method 'Index' was not found on controller 'Ext.Direct.Mvc.DirectRouterController'.



    This has to be a configuration thing for remote and I do not know how to correct. Anyone have an idea?
    Thanks

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    9,780
    Vote Rating
    258
      0  

    Default

    Could be namespace/scope related. Perhaps you could post some of your DirectRouterController so we can see if the problem can be spotted.


    Join me at SenchaCon 2016!

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2014
    Posts
    6
    Vote Rating
    0
      0  

    Default Resolved

    Solved. Turned out to be a combination of a mime setting on the server, and allowing OPTIONS

  4. #4
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    9,780
    Vote Rating
    258
      0  

    Default

    Great to hear you are up and running, and thanks for sharing the solution here.


    Join me at SenchaCon 2016!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •