Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 771
  • Last Modified:

ASP and ASP.Net on same site IIS Server

Hello,
is it possible?
i.e. the server can serve both *.asp and *.aspx files from the same site etc.
Thanks, Aryeh.
0
tuchfeld
Asked:
tuchfeld
3 Solutions
 
Dale BurrellCommented:
Yes
0
 
tuchfeldAuthor Commented:
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
 
amerriganCommented:

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
Technology Partners: 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!

 
amerriganCommented:
hello_world.asp isn't the default document type, you will need to specify the full url to open it also.
0
 
tuchfeldAuthor Commented:
sure :-) Thanks!
0
 
ingriTCommented:
And in IIS, in the "Web service extensions", set "Active server pages" to Allowed.
0
 
tuchfeldAuthor Commented:
hmm.. is it possible to do on Server 2003?
I noticed the instructions you gave above are for Server 2008.
0
 
Roopesh ReddyCommented:
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
 
tuchfeldAuthor Commented:
got it read my asp file. Thanks.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now