Showing posts with label .NET 4. Show all posts
Showing posts with label .NET 4. Show all posts

Friday, September 26, 2014

Visual Studio 2010 wont start after uninstall .NET-Framework 4.5 / Unknwon error

I did some tests with .NET-Framework 4.5 on my computer. After uninstalling it, i recognized, my Visual Studio 2010 does not start any more. It shown an "Unkonwn error" message box at startup an then closes again.

How-I-fixed-it:
I found out, that uninstalling .NET 4.5 also uninstall .NET Framework 4. I re-installed .NET 4 from http://www.microsoft.com/de-de/download/details.aspx?id=17718 and Visual Studio was working fine.

I found the right hints here:
http://chanmingman.wordpress.com/2012/05/10/unknown-error-to-prevent-vs-2010-from-start-after-uninstall-vs-11-beta/

Sunday, September 1, 2013

IIS8 Website web.config HTTP Error 500.19 - Internal Server Error "There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined"

Today i copied a working website from IIS7 to IIS8. I created a new AppPool and WebApplication for it. The ApplicationPool was configured to use .NET4.0

Testing the Website, i received the following error:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler'

Config Source:
4:
5:

6:


How-i-fixed-it:
I found some useful hints here: http://www.devexpress.com/Support/Center/Question/Details/Q458935
and here:
http://www.britishdeveloper.co.uk/2010/03/there-is-duplicate-systemwebextensionss.html

I upgraded the WebProject to VisualStudio 2012. In the project properties i set the target Framework to .NET 4.5 and did a clean build.
I copied the new build to the WebApplication physical directory and it worked again.