.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

run time errors by my application

Posted By: akidivictor     Posted Date: October 22, 2011    Points:5   Category :ASP.Net
hey, i've been trying to edit my web.config file the one in the microsoft.Net framework folder, but it's not granting permision, i need a way out... my .net application is giving runtime errors

(Error 2 The value for the 'compilerVersion' attribute in the provider options must be 'v4.0' or later if you are compiling for version 4.0 or later of the .NET Framework. To compile this Web application for version 3.5 or earlier of the .NET Framework, remove the 'targetFramework' attribute from the <compilation> element of the Web.config file.)

since i started using visual studio 2010, to create web application, i have to use "file system" instead of "localhost" directory, if not it shows that error

Author: Narayanan             
Posted Date: October 24, 2011     Points: 20   

try this link

Regards, Lakshmi Naraayanan.S
Author: Amit Mehra             
Posted Date: October 27, 2011     Points: 20   


YOu can add Target Framework attribute to 3.5 in web.config file

<compilation debug="false"

Please "Mark As Answer " if this post help you.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend