We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Classic ASP and ASP.NET sites on the same server [Answered]RSS

9 replies

Last post Jun 04, 2013 07:39 AM by fab777

  • Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 04:53 AM|mmhbk|LINK

    I have to set two web sites on the same IIS 7.5.

    One of them is Classic ASP with MSAccess Database. The other one is ASP.NET. Meaning they will use different Application Pools.

    I only have one port open : 80.

    How can this be configured?

    Thanks.

  • Re: Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 05:28 AM|fab777|LINK

    This message is provided "AS IS" with no warranties... But you can still mark it as answer if it's helped you.
    Fabrice ZERROUKI
    Wanna chill out? Here: JAHSound.net
  • Re: Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 05:35 AM|mmhbk|LINK

    What if I only have one http address: www.mysite.com

    and I want the asp site to be in www.mysite.com/asp

    and the asp.net in www.mysite.com/aspnet ?

    Host headers don't allow this.

  • Re: Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 05:38 AM|fab777|LINK

    mmhbk

    Host headers don't allow this.
    you're right, I didn't know your exact need. so for this, you'll have to define one website 'www.mysite.com' (recommend hostheader but not mandatory) and then, under this website you'll have to add 2 applications 'asp' and 'aspnet' and for each one define the physical path and the application pool. voilà :)

    This message is provided "AS IS" with no warranties... But you can still mark it as answer if it's helped you.
    Fabrice ZERROUKI
    Wanna chill out? Here: JAHSound.net
  • Re: Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 06:24 AM|mmhbk|LINK

    For some reason it's not working for me.

    I keep getting 403 errors.

  • Re: Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 06:32 AM|fab777|LINK

    Please help us helping you...

    What 403 error, there's at least 20 substatus for the 403 status. But I bet for a NTFS permissions problem.

    This message is provided "AS IS" with no warranties... But you can still mark it as answer if it's helped you.
    Fabrice ZERROUKI
    Wanna chill out? Here: JAHSound.net
  • Re: Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 06:41 AM|mmhbk|LINK

    I don't know which substatus it is, even though I set SendErrorsToBrowser to True. Just getting a plain message.

    Assuming it's the NTFS problem, what is the solution?

    Thank You.

  • Re: Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 07:02 AM|fab777|LINK

    mmhbk

    I don't know which substatus it is

    Check your access logs to know what is the substatus.

    mmhbk

    Assuming it's the NTFS problem, what is the solution?

    http://support.microsoft.com/kb/981949/en

    This message is provided "AS IS" with no warranties... But you can still mark it as answer if it's helped you.
    Fabrice ZERROUKI
    Wanna chill out? Here: JAHSound.net
  • Re: Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 07:20 AM|mmhbk|LINK

    I don't keep my files in inetpub, but the permissions are the same.

    When I define the website by itself, as the folder mysite_asp, it works fine.

    But when I put the folder under another website and convert it to an application, I get 500-internal server error with no details.

  • Re: Classic ASP and ASP.NET sites on the same server

    Jun 04, 2013 07:39 AM|fab777|LINK

    mmhbk

    I get 500-internal server error with no details
    In that case, the event log (Application) and your HTTP.SYS error log (c:\windows\system32\LogFiles\HTTERR) are your best friends.

    This message is provided "AS IS" with no warranties... But you can still mark it as answer if it's helped you.
    Fabrice ZERROUKI
    Wanna chill out? Here: JAHSound.net