Answered by:
Classic ASP and ASP.NET sites on the same server

Question
-
User1320488527 posted
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.
Tuesday, June 4, 2013 4:53 AM
Answers
-
User-1499466209 posted
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à :)- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Tuesday, June 4, 2013 5:38 AM
All replies
-
User-1499466209 posted
Hi,
you'll have to use host headers: http://technet.microsoft.com/en-us/library/cc753195%28v=ws.10%29.aspx
Tuesday, June 4, 2013 5:28 AM -
User1320488527 posted
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.
Tuesday, June 4, 2013 5:35 AM -
User-1499466209 posted
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à :)- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Tuesday, June 4, 2013 5:38 AM -
User1320488527 posted
For some reason it's not working for me.
I keep getting 403 errors.
Tuesday, June 4, 2013 6:24 AM -
User-1499466209 posted
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.
Tuesday, June 4, 2013 6:32 AM -
User1320488527 posted
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.
Tuesday, June 4, 2013 6:41 AM -
User-1499466209 posted
I don't know which substatus it isCheck your access logs to know what is the substatus.
Assuming it's the NTFS problem, what is the solution?Tuesday, June 4, 2013 7:02 AM -
User1320488527 posted
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.
Tuesday, June 4, 2013 7:20 AM -
User-1499466209 posted
I get 500-internal server error with no detailsIn that case, the event log (Application) and your HTTP.SYS error log (c:\windows\system32\LogFiles\HTTERR) are your best friends.Tuesday, June 4, 2013 7:39 AM