Solved

ASP and ASP.Net on same site IIS Server

Posted on 2013-01-04
9
764 Views
Last Modified: 2013-01-04
Hello,
is it possible?
i.e. the server can serve both *.asp and *.aspx files from the same site etc.
Thanks, Aryeh.
0
Comment
Question by:tuchfeld
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 21

Assisted Solution

by:Dale Burrell
Dale Burrell earned 50 total points
ID: 38743054
Yes
0
 

Author Comment

by:tuchfeld
ID: 38743058
Great. so why do I get
HTTP Error 404 - File or directory not found.
when I try to access Hello_World.asp file?
<!DOCTYPE html>
<html>
<body>
<%
response.write("Hello World!")
%>
</body>
</html>

Open in new window

0
 
LVL 5

Assisted Solution

by:amerrigan
amerrigan earned 100 total points
ID: 38743061

1.

Click Start, point to Administrative Tools, and then click Server Manager.

2.

In Roles Summary, click Add Roles.

3.

Use the Add Roles Wizard to add the Web server role.

4.

On the Select Role Services page, note the preselected role services that are installed by default, and then select the following additional role services:
ASP
ASP.NET
.NET Extensibility
Request Filtering
ISAPI
ISAPI Extensions

5.

On the Summary of Features to Install page, confirm your selections, and then click Install.

6.

On the Installation Results page, confirm that your installation of the Web Server (IIS) role and required role services completed successfully, and then click Close.
   

7.

To verify that IIS installed successfully, type the following into a Web browser:
    http://localhost
    You should see the default IIS Welcome page.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:amerrigan
ID: 38743069
hello_world.asp isn't the default document type, you will need to specify the full url to open it also.
0
 

Author Comment

by:tuchfeld
ID: 38743083
sure :-) Thanks!
0
 
LVL 6

Expert Comment

by:ingriT
ID: 38743084
And in IIS, in the "Web service extensions", set "Active server pages" to Allowed.
0
 

Author Comment

by:tuchfeld
ID: 38743098
hmm.. is it possible to do on Server 2003?
I noticed the instructions you gave above are for Server 2008.
0
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 350 total points
ID: 38743286
Hi,

For Window Server 2003, check this link - http://technet.microsoft.com/en-us/library/cc737992(v=ws.10).aspx

Hope it helps u...
0
 

Author Closing Comment

by:tuchfeld
ID: 38743298
got it read my asp file. Thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question