Solved

ASP and ASP.Net on same site IIS Server

Posted on 2013-01-04
9
762 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

815 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

12 Experts available now in Live!

Get 1:1 Help Now