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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

supportedRuntime version in config for .Net Framework 3.5

Posted By:      Posted Date: August 28, 2010    Points: 0   Category :.NET Framework
We have an application built on .Net Framework 2.0 using VS2005. Now we would like to support .Net Framework 3.5 using VS.Net 2005 without upgrading to VS 2008( I read online at many places that this can be done without upgrading to VS2008).Out app.exe.config file looks like this currently:<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup>  <supportedRuntime version="v2.0.50727"/> </startup></configuration>Should we need to modify this to support .Net Framework 3.5? If Yes what should it look like.FYI - We are having .Net Framework SP1I am bit confused with .Net Framework version and Runtime Version. Please clarify.

View Complete Post

More Related Resource Links

How can you tell which version of Net Framework is installed?

How can you tell which versions of Net Framework are installed on the computer. Can you tell from add/remove programs in the control panel? Thanks!

"Mixed mode assembly is built against version 'v2.0.50727'.... " issue and use custom config file

Hi, My Winform applilcation has used Microsoft.SqlServer.Management.Common namespace(assembly :Microsoft.Sqlserver.smo.dll/Microsoft.Sqlserver.ConnectionInfo.dll) and developed in .NET 4.0. Problem:Application is throw an exception when it tries to use above assembly reference methods. Full error text is shown below, "Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. " Error is resolved when we include "app.config" file with below code, <?xml version="1.0"?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration> But, I need to keep configuration file as "renamed.config" and not to include app.config file as of the project requirement.I have set configuration file as "renamed.config" file using below code, //AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", "d:\\reanmed.config" ); I have also included <Startup> element in this "renamed.config" configuration file and removed the app.config file.But it raise me below error, it always expect app.config file with <Startup> element to resolve this iss

Regarding .Net framework version and Visual Studio version

Hi all,         I have done my project in Visual Studio 2008 and .Net Framework 3.5. Now is it possible to compile and run the same project in Visual Studio 2005 and .Net Framework 2.0 without any problems. Should anything be taken care of??? Thanks for any help

Problem with ASP.NET Ajax, Framework version 4.0 and the SeaMonkey browser...

I have a site that I'm upgrading to the 4.0 framework and I've come across an issue with asp.net ajax and the SeaMonkey browser. It seems like the script manager is not registering the scripts on the page in seamonkey (but it works fine in IE, Firefox, Chrome, Opera, and Safari). Now, if I change the user agent string in SeaMonkey to use the user agent string from any of those other browsers, it works fine. So I guess my question is does ASP.NET Ajax check the browser's user agent to determine what scripts to register and, if so, is it possible that SeaMonkey is not included in the list in the 4.0 framework (I should add that it's working fine in the 3.5 framework so it seems to me like this is a difference between the two framework versions).

Newbie-Can I remove older version of .NET Framework

Hey,Got different versions on my Windows XP; 1.12.0 Service Pack 22.0 SP 2 - Language Pack3.0 SP 23.0 SP 2 - Language Pack3.5 SP 11- For obvious reasons these take a lot of space, can I remove any of them and which?  2- Are they a built up or separate?  3- If I can only use the latest 3.5 SP1;  is there a language pack with it?4- I have not been able to update anything for over a year.  It keeps telling me, Windows has some new installs for me but won't download properly.  Sorry I can't tell you the specific error it gives me, but I believe it has to do with a previous version as it is related to a Service Pack 2.  Sorry I know it's vague, but it takes for ever before I get the error message.  If you can't give me any idea, I'll try it again and post more info.In the meantime I'd appreciate any help you people can give me.Sunshine

Framework error:Could not load file or assembly 'Microsoft.AnalysisServices, Version=

Hi,I use sql clr sp's to load data in to database using .net framework 2.0. I never had aproblem using this and it went well for months.I recently updated to net framework 3.5 sp1 and sqlserver sp3 on 32-bit sql server and win 2003.I am facing an error which i could not resolve.Error:System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AnalysisServices, Version=, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Assembly in host store has a different signature than assembly in GAC. (Exception from HRESULT: 0x80131050)System.IO.FileLoadException:    at StoredProcedures.checktable(String paramComponent, String paramParameters)I have gone through different forums, and trie different options,but did not help. I am using 'unsafe'  option.I also tried to alter assembly which is mentioned in http://support.microsoft.com/kb/949080/pt But when i tried to alter the assembly using the above link or try to change the permission to external access on the assembly, i get the below error.Alter ASSEMBLY AccessibilityFROM 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Accessibility.dll'Cannot alter the assembly 'Accessibility', because it does not exist or you do not have permission.I am an admin on the server/sqlCan some one suggest how to alter assembly with permissions or solve this issue or am i missing anything important.Do i

Security Update for Microsoft .NET Framework, Version 1.1 Service Pack 1 (KB928366)

I have been trying to install   Security Update for Microsoft .NET Framework, Version 1.1 Service Pack 1 (KB928366)   since it was released but downloads ok but it will not install. Everytime installation of this update fails!   Help...

Problem Installing .Net Framework Version 4.0

I am trying to install .net 4 on my Vista business machine SP2. It however continually fails with "class not registered" error. No matter what i try and do i cannot get it to install. Has anyone come across this error before, was there a resolution? I need this to be able to install VS2010 on my machine.   Thankyou

Unrecognized attribute RequirePermission, not because of incorrect framework version in IIS...

So I have been struggling with this error for a while and normally i get around it by removing the attribute and all is good, not quite simple this time. Based on my research on this error, this is usually caused by incorrect .net version selected in IIS but for me this is usually not the case.  For the app i am working on, it is a 4.0 app, the asp.net version in IIS is set to 4.0, and the error is caused by the RequirePermission attribute in the 4.0 machine.config.  Since it is calling the 4.0 machine.config, that only tells me the version is set correctly.  So what is wrong, why is it not recognized? I have tried removing all the requirePermission attributes in the machine.config, then something else is not recognized, I believe it was the configProtectedData section.  Endless error messages.  It seems to be happening only on one machine.  I did try uninstalling and reinstalling 4.0 and it didnt help, very frustrated!!! Suggestion any one? Thanks in advance!

Windows 7 message at start up:microsoft.net framework version 2.0 is required to continue

It always displays this at start up, which is weird since it has these versions installed. Any suggestions?

Installing .NET Framework Version 1.1 Redistributable and .NET framework 2.0



I am trying to install .NET Framework Version 1.1 Redistributable or .NET framework 2.0 packages, but both of them are sending an error. My OS is Windows 7 with 64-bit. Version 1.1 says it can't be installed due to incompatibility and version 2.0 rejects 64-bit OS.

I am keen on installing especially these packages in order to run EditVoicePack for Flight Simluator 2004. Is there any options I can install it or it simply doesn't work with Windows7 64-bit system?



Add Service reference not updaing the client apps web.config file in .Net Framework 4.0


Hi Team

I am doing some experiments with WCF on .Net 4.0. I have created a service in 4.0 and add a new empty web application to consume my Service. When i added a service reference from the IDE, i can see the web.config file is not updated with the Servcie end points. How do i solve this issue?

My web.config in the client looks like this after adding the service reference.

Download Microsoft .NET Framework version 1.1.4322




Where can I download Microsoft .NET Framework version 1.1.4322?  I've had a search on the download site but I cannont see a link for it.  I already have more recent version of the .NET Framework installed but the application I am trying to instal insists I get version 1.1.4322.


Any help would be greatly apprciated.


Thank you very much.



Error with .net Framework 1.1 installation (This is not supported for 64-bit version of xp (although

My laptop is currently using vista business 64bit. I've tried everything, the windows redistributable, the sp1 patches, even the slipstream, nothing works, I still get the "This is not supported for 64-bit version of xp" error. there is no previous version of framework 1.1 installed in my laptop. Currently my laptop has .net 3.5 installed only.

http://forums.techarena.in/windows-software/1183887.htm <-- slipstream

Hardware: Lenovo t500 laptop with
4gig ram
duo core 2.55ghz
fully updated windows vista business 64-bit

Vista Framework Cleanup tool Log: (tried removing framework 1.1 and reinstall, still the same error not compatible with xp)

[06/18/09,18:48:35] Beginning of new cleanup utility session
[06/18/09,18:48:35] Build created on December 22, 2008
[06/18/09,18:48:35] Detected operating system: Windows Vista (x64)
[06/18/09,18:48:35] Install state for .NET Framework 1.0: not installed.
[06/18/09,18:48:35] Install state for .NET Framework 1.1: not installed.
[06/18/09,18:48:35] Install state for .NET Framework 2.0: installed with service

Microsoft .NET Framework Version 2.0 is required to continue

I have a new computer, and this window pops up at startup and when I try to run some software. I've downloaded Frameworks Ver. 2 and installed it.
I still get that window when I try to run some of my software and the software won't run. I've reinstalled Ver. 2.0 several times with the same results.
I using windows 7 home. Is there a fix or additional software that I need to fix this problem. We have to new Laptops and they have the same problem.

Version of security class in rssrvpolicy.config


When I add a custom assembly to SSRS, I got the following error,

Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I checked rssrvpolicy.config and Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\security.config,

The one from security.config is,



SecurityClass Name="SqlClientPermission"

Version of Entity Framework



I have a VS2008 web project with a EF1 datamodel. Now I have converted this to a VS2010 project with .Net 4. My question is about the Entity Framework. How can I see what version of EF it is. Or how can I make sure it is EF 4?



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

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