Congratulations to all monthly winners of May 2013 !!! They have won INR 2900 cash and INR 27497 worth prize.
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 44167 |  Welcome, Guest!   Register  Login
 Home > Blogs > ASP.NET > Installing ASP.NET in IIS ...
Johnbhatt

Installing ASP.NET in IIS

 Blog author: Johnbhatt | Posted on: 7/14/2012 | Category: ASP.NET Blogs | Views: 783 | Status: [Member] | Points: 75 | Alert Moderator   
Ads

Hi,

Today we will learn how to Install .NET in IIS.

By default IIS is turned Off. To Turn on we will go to Control panel > programs > turn windows feature on or off.



Check all options by Expanding and Make sure that you got the Internet Information Services checked fully as in Above screen. Then you need not to install any more scripts to host asp.net websites.

Now If ASP.NET Websites are not running and throwing error like
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Module StaticFileModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070032
Requested URL http://localhost:80/WEBAPPLICATION1/DEFAULT.ASPX
Physical Path C:\inetpub\wwwroot\WEBAPPLICATION1\DEFAULT.ASPX 

You should Install ASP.NET (configure IIS for ASP.NET).

Here are some basic steps to do so,
Open Command Prompt as Administrator
Navigate to C:\
C:\>cd Windows

C:\Windows>cd Microsoft.NET
C:\Windows\Microsoft.NET>cd Framework

Now you will be at
C:\Windows\Microsoft.NET\Framework\

First Decide what version are you using. ASP.NET 1.0, 1.1, 2.0, 3, 3.5 , 4 or 4.5 (if Installed).
Then type following code in Command Prompt

C:\Windows\Microsoft.NET\Framework>cd v4.* //installing ASP.NET V4.0 here.
C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -i



Command Prompt will Install Code and You are now Ready to Access your ASP.NET Site with Localhost.

Best of Luck....



John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com
Found interesting? Add this to:


About John Bhatt

Experience:4 year(s)
Home page:http://www.johnbhatt.com
Member since:Thursday, June 21, 2012
Level:Starter
Status: [Member]
Biography:John Bhatt is an IT Professional having interest in Web technology. He is Web Designer, Developer, Software Developer, Blogger and Technology Geek. Currently he writes his Blogs at Blog of P.Yar.B and various other Sites. He is Main author and founder of Download Center. Contact Him at : Facebook | Twitter | Website.
>> Write Response - Respond to this post and get points

More Blogs

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 6/20/2013 7:05:27 AM