Solved

ASP and ASP.Net on same site IIS Server

Posted on 2013-01-04
9
758 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
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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now