Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Error Asp.net 4.0 has not been Registered on the Web Server. You Need to Manually Configure your Web Server

Sep 29, 2015
Introduction:

Here I will explain how to solve problem of “asp.net 4.0 has not been registered on the web server you need to manually configure your web server for asp.net 4.0 in order for your site run correctly”. Actually this problem occurred while creating application in visual studio 2015 because we installed iis 8.0 after .NET framework installed. To fix this problem we need to enable asp.net 3.5 or 4.5 version frameworks using Turn windows features on or off in control panel.

Description:

In previous posts I explained class asp responsive buffer limit exceeded error, convert string to lower case, upper case and title case in asp.net, jQuery send receive json object from webservice methods, Asp.net mvc complete project with database, download multiple files as zip folder in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “asp.net 4.0 has not been registered on the web server you need to manually configure your web server for asp.net 4.0 in order for your site run correctly.

In my system when I installed iis 8.5 and started using previous applications which is pointing to other versions 3.5 it’s not working and throwing error like as shown below

error image of asp.net 4.0 has not been registered on the web server you need to manually configure your web server for asp.net 4.0 in order for your site run correctly

To fix this problem please follow below steps

Start à Control Panel à Click on Programs à Programs and Features à Click on Turn windows features on or off
                                        
When we click on Turn windows features on or off it will open window like as shown below

image to Turn windows features on or off

Now check whether asp.net installed or not in your system for that follow below steps

Internet Information Services à World Wide Web services à Application Development Features in that check whether all required features selected or not like as shown below

Enable asp.net features in application development section

Once you select all options click on button to install all required components in your application.

Now run your application and check I hope it fix your problem in case if it failed please run following command in command prompt

Start à Open command prompt (cmd) à Right click on command prompt and run as administrator à once command prompt open run following command


C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe –i

I hope it helps you to fix your problem. Happy Coding……

If you enjoyed this post, please support the blog below. It's FREE!

Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email

5 comments :

lordshiva said...

nice

Unknown said...
This comment has been removed by the author.
Unknown said...

My OS is windows 10 and i have IIS(Version 10.0). I followed the steps as what you said. When i followed your steps on command prompt i'm getting as "Finish installing ASP .NET(4.0.30319.0)". but i'm not able to solve this issue. please help..................

Unknown said...

C:\Windows>Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
Microsoft (R) ASP.NET RegIIS version 4.0.30319.0
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Start installing ASP.NET (4.0.30319.0).
This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.0).

soumya said...

Its working.Thanks a lot for the solution .

Give your Valuable Comments

Note: Only a member of this blog may post a comment.

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.