Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enabling .NET

Status
Not open for further replies.

TheCandyman

Technical User
Sep 9, 2002
761
US
I wanted to start using .NET on my IIS6. I have used ASP fine on it, i do have the .NET framework installed but when i try to pull a text .aspx page it fails. It doesn't load the 404 error page so i know it's the right URL, here is the code:

test.aspx
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>.</title>
</head>
<body>
	test 
</body>
</html>

So i don't think it's anything with the page code, what do i need to enable in IIS to start using .NET?

 
Launch IIS Manager, expand the Web Sites folder and then click on the Web Service Extensions. Verify that the ASP.Net v2.0 (or whichever version of .net you are using) extension is allowed and not prohibited.
 
Besides enabling the .net web extension you also need to select .net tab on the web site properties and selct the correct version you want to use form the drop down list.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top