locked
add Twilio MVC app to classic asp site RRS feed

  • Question

  • User-2012457684 posted

    Most of the software we have is running classic asp ( asp 3.0 i.e. the stuff written in VBScript, and not ASP.NET).  Any new development I am doing is in MVC.   One client wanted something added to their site that I wrote in MVC  now I need to figure out how to add this to a site that is in classic asp.   

    I am getting a 404 error when I look for the file in the directory I published it in.   I have gone down tree trying to see if it is found in any directory and all return 404

    Please don't suggest rewriting the entire site in MVC as that would require months to do and that is not an option.

    Friday, April 24, 2020 4:33 PM

All replies

  • User475983607 posted

    What are you trying to do exactly?  A 404 is just mean the URL does not exist and you are the only one that knows what the URL is.

    Friday, April 24, 2020 5:52 PM
  • User-474980206 posted

    you can combine the two in one site no problem. You just need to add the app pool (add application) and a web.config and bin to the asp site. 

    note: be sure IIS has asp.net feature added.

    Friday, April 24, 2020 6:40 PM
  • User-2012457684 posted

    I pointed to the link as such   message/?userid=OV67835   

    The controller is message and the view is the index view

    I placed this inside of the site's Applicantmanagement directory which is inside of the admin directory

    so off the root it would like this    http://somesite.com/admin/applicantmanagement/message/?userid=OV67835   

    Friday, April 24, 2020 6:43 PM
  • User475983607 posted

    Create IIS applications or virtual directories for the MVC applications.

    Friday, April 24, 2020 6:59 PM
  • User-2012457684 posted

    ok thanks   

    Friday, April 24, 2020 7:39 PM
  • User-474980206 posted

    I pointed to the link as such   message/?userid=OV67835   

    The controller is message and the view is the index view

    I placed this inside of the site's Applicantmanagement directory which is inside of the admin directory

    so off the root it would like this    http://somesite.com/admin/applicantmanagement/message/?userid=OV67835   

    mvc applications must be deployed to the root of their virtual directory. also this virtual directory must be setup as an asp.net application with an app pool. in IIS navigate to the admin folder, and right click add application. name the application "applicantmanagement"

    Friday, April 24, 2020 9:33 PM