Link to home
Start Free TrialLog in
Avatar of Anand Majmundar
Anand MajmundarFlag for India

asked on

HTTP Error 500.19 - Internal Server Error on migration from .NET 3.5 to 4.5 on localhost

In Visual Studio 2019 I changed my Target Framework for the 'Website' (not Web Application}  from .NET 3.5 to 4.5. It compiled well.


But on localhost  at runtime it throws:


HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.


Already tried:


<httpRuntime targetFramework="4.5" />


Need info on changes I need to take in Web.Config, in partticular.


Do I necessarily need to introduce Entity Framework?

ASKER CERTIFIED SOLUTION
Avatar of Anand Majmundar
Anand Majmundar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial