1. #1
    Sencha Premium Member
    Join Date
    Dec 2014
    Posts
    4
    Vote Rating
    0
    CCG_Sencha is on a distinguished road

      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
    6,609
    Vote Rating
    168
    Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold

      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.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2014
    Posts
    4
    Vote Rating
    0
    CCG_Sencha is on a distinguished road

      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
    6,609
    Vote Rating
    168
    Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold

      0  

    Default

    Great to hear you are up and running, and thanks for sharing the solution here.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

Thread Participants: 1