DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Error GetRouteData

Sort:
You are not authorized to post a reply.





New Around Here





    We're using DNN version 8.0.4. 

    I'm getting the error below when my app routes to this URL when I'm trying to debug my module locally:

    404 the resource cannot be found

    https://dnndev.me/Home/Co...e/CYB-Direct/GAC_ID/|

    The error in the event viewer is:

    Object reference not set to an instance of an object.

    at DotNetNuke.Web.Mvc.Routing.StandardModuleRoutingProvider.GetRouteData


    I've confirmed that the controller rates and method index exist in the app...in fact this issue only started happening this morning...it was find the last time I debugged it 2 days ago.

    I've un-installed the extension and deleted the page and re-installed etc. several times...I've deleted the DB and the dnndev.me folder and re-installed everything but no difference.

    Any ideas?

    THIS IS THE FULL ERROR:

    InnerMessage:Object reference not set to an instance of an object.

    InnerStackTrace:

       at DotNetNuke.Web.Mvc.Routing.StandardModuleRoutingProvider.GetRouteData(HttpContextBase httpContext, ModuleControlInfo moduleControl)
       at DotNetNuke.Web.Mvc.MvcHostControl.GetModuleRequestContext(HttpContextBase httpContext)
       at DotNetNuke.Web.Mvc.MvcHostControl.ExecuteModule()





    Veteran Member





      Hello... FYI, I've moved your forum post to a more appropriate forum intended for questions about how to build modules and whatnot.  

      It sounds like the route path may not be accurate.  A tool I use to help me figure this out sometimes is mentioned in the blog article below. 

      https://dnncommunity.org/...eb-API-Routes-in-DNN

      You are not authorized to post a reply.

      These Forums are dedicated to the discussion of DNN Platform.

      For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

      1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
      2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
      3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
      4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
      5. No Flaming or Trolling.
      6. No Profanity, Racism, or Prejudice.
      7. Site Moderators have the final word on approving / removing a thread or post or comment.
      8. English language posting only, please.

      Would you like to help us?

      Awesome! Simply post in the forums using the link below and we'll get you started.

      Get Involved