.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

Multiple .net framework versions

Posted By:      Posted Date: October 20, 2010    Points: 0   Category :Sql Server


In my server i am observing multiple versions of .net framework.

Our server is sql server 2005.with .net framework 2.0.

But i am observing more versions like 3.0,3.5 also

Can anyone help me why these many versions are there.

 And recently i got one error

Event id: 5000

Error .net runtime 2.0 error




event type clr20r3,P1 sacsclient.exe,P2,P34c0f1a1a,P4mscorlib,P5,P6471ebc5b,P716f8,P822,P9 system.invalidoperation exception,P10NIL.

Is this error due to above multiple versions .


View Complete Post

More Related Resource Links

Question regarding having multiple versions of the .net framework


Hi guys,

Sorry if this sounds silly, but it's been getting to me for quite a while now.  I've been having some issues installing both .net framework 3.5 and 4.0 on my computer since I have certain software that either requires one or the other to run.  I've tried over and over again to install framework version 3.5 from your web site, but each time, the result is the same.  I always get the error that I mustconfigure the framework from the control panel.  Yet I see nothing about that in the control panel.  Maybe it would help you to know that I had first found .net framework through IIS when I went to put that in there, and so I've been trying to install it from there.  Every other framework version works fine except for version 3.5.  I unfortunately cannot provide any logs since my computer is currently with the Gordon college techs due to another issue, but any help on this would be appreciated.  Thanks. 



Do I need to keep multiple versions of the .NET Framework installed in my system?


I realize that this may sound like a bit of a dumb question, but here goes anyway...

 Several months ago, I downloaded and installed the Visual Basic trial thinking that that was the program that I needed.  As it turns out I have decided farm this part of my project out to a professional, rather than spending countless hours frustrated with attempting to do it myself.  At the time that I installed Visual Basic I was asked to .NET Framework 2.0  I have since installed two updates, version 3.0 & 3.5.  These programs are quite memory intensive and take up a great deal of hard drive space!  I am currently running WinXP on my Intel-based MacBookPro under Bootcamp.  Unfortunately, the way that the original Bootcamp beta version partitioned my hard drive, it only allows for 32 GB of my hard disk to be allocated to running WinXP This includes any & all applications, documents, etc... that you would by definition have on your computer!  As it stands currently, the .NET Framework applications are occupying 0.5 gigabytes of my hard drive.

Do I need to keep version 2.0 as well as versions 3.0 and 3.5?  Also, since I had no longer using Visual Basic, do I even need to keep the .NET framework on my system at all?

Thank you so much for your help!!!


Multiple database support with Entity Framework

One of the features introduced in Entity Framework is being database independent. Which mean each database provider can support Entity Framework by implementing its provider.

This feature allows you build applications independent from the underplaying database provider. In this post I'm going to show how to build an application that support multiple databases using same conceptual model made by Entity Framework.

Error: Encountered multiple versions of the same assembly with GUID...try pre-importing...TlbImp


Hi!  Can someone tell me how I can troubleshoot the following error: "Encountered multiple versions of the same assembly with GUID...try pre-importing one of these assemblies".

The website developed in VS 2010 (.Net 3.5). This error is only received on my workstation.  Another person developing the site does not experience this issue at all.  Also, not sure if this matters, but on my workstation the 'Assembly Information...' dialog contains no values even though the 'AssemblyInfo.vb' file does specify values for the title, desc, etc.  The GUID being referenced in the error is the main project of the three projects within the solution.

I tried looking through the GAC, but do not see any references to the projects or DLLs in the VS solution and am not sure what else/where to look.

If I delete the copy of the solution on my local machine and pull down a copy from source control (AnkhSVN) the solution will build with no error.  Once I make any changes, such as adding a new aspx file, then the error is received.

I can provide any additional information needed.

Advanced Serialization: Format Your Way to Success with the .NET Framework Versions 1.1 and 2.0


While .NET offers adequate support for the simple serialization cases, issues arise when you're attempting to support delegates and subscribers, versioning, and class hierarchies. . In addition, the introduction of generics in The .NET Framework breaks new ground in the complexity of the serialization task and the power of serialization tools. This article discusses these issues and related pitfalls, suggests techniques and workarounds that address them, and recommends when and how to best use the new serialization abilities.

Juval Lowy

MSDN Magazine October 2004

Framework Wrapper of Multiple SDK'S

Hi Guys,   I have multiple biometric SDK of different vendors made in .NET, i must wrap all SDK in one framework wrapper with the common functions of every SDK, and no common functions too. that must implement in an application we will develop , and an app will implement depending de fingerprint scanner detect wich SDK in FRAMEWORK WRAPPER must use.   Is any pattern or idea for this job? and any architectural software pattern to accomplish this?   Thank you for any idea   José Abad.

Installer to verify and install multiple versions of .NET (3.5 SP1 and 4.0)

I'm running VS2010 and have built an installer that checks for the .NET 4.0 dependency. If the installer can't find .NET 4.0, then it is installed from disk (my client machines are not connected to the internet). However, I also require .NET 3.5 SP1 to be installed. Although both .NET 4.0 and 3.5SP1 are both checked in the "Prerequisites" box within my installer. Only .NET 4.0 shows up in the Launch Conditions panel. Right clicking on the "Requirements on Target Machine" box shows a fly out with several options but the "add .NET Framework Launch Condition" is grayed out, because one already exists. Any ideas?

Using Multiple Entity Framework Entities in MVC2


I need help getting data from multiple Entities models into an MVC controller.  Most of the examples I have seen for using EF in an MVC2 app only use a single entitiy.

I have just started using MVC2 in C# using the Entity Framework models (CIOps.model) created from an SQL database.   I can create the controller and views using single tables of the model in MVC2, but I just cannot get my head around how to get data from multiple entity tables into the controller (similar to joins in T-SQL).  I have included an example below of the controller code that works with a single entity table, tbl_tours (tbl_tour in DB).

Could someone please illustrate how this code would be changed to include additional columns from FK tables in addition to tbl_tours columns.  E.g. the clients name from the tbl_clients, the coordinators name from the tbl_employees, and costs from tbl_costs entities?  Is it possible to do this directly using the EF model entities/classes that are already created and not use LINQ, POCO, Repositories, etc.? The FK relationships are already in the EF models. 

I have included the whole controller code, but I just need a few examples of how to join the multiple entities, not rewrite every CRUD function function in the controller.  I think this will get me over the hump in using EF in an MVC2 App.  Also i

Running multiple versions of the same workflow

I wanted to know how I can have have multiple versions of the same workflow running at the same time.  Currently the issue I have is if there is a workflow (version 1.1) which in an IDLE state and then I change the workflow (version 1.2).  Then the IDLE workflow is not able to run. 

.Net Framework-I have different versions installed but none appear in the Registry.

I am currently having problems installing postgresql and Microsoft Visual Basic 2008 Express Edition on Windows Vista.
I get the following error messages while installing postgresql:
1.    "Error 1935: An error occurred during the installation of assembly. 'Microsoft .VC80.ATL.type="win32".version="8.0.50727.4053".publicKey Token="1fc8b3b9a1e18c3b".processorArchitecture="x86". Please refer to Help and Support for more information."

2. "An erro occured executing the Microsoft VC++ runtime installer."

And when installing VB i hav the following error message:
"Error occured during setup." "Visual C++ Runtime pre-requisites" could not be installed.

I have on my computer .Net Framework versions 2.0,3.0,3.5 and 4.0 installed but none appear in the Registry. Could it be that the above-mentioned problems stem from that?

multiple insert rows using Entity Framework


Dear All,


i'm trying to use Entity Framework to insert into SQL SERVER 2005, using Visual studio 2008.

the following codes are a Button onclick event,

I want to insert into DB multiple rows at a time

protected void Button1_Click(object sender, EventArgs e) 
	MyTable NewRow = new MyTable(); 
	NewRow.columnName = "5"; //columnName is a primary key
	NewRow.columnName = "6"; 


however this does not work,

it seems we can only insert into DB only one row at a time (??)

if i write :

MyTable NewRow1 = new MyTable();

NewRow1.columnName = "5";


MyTable NewRow2 = new MyTable();

NewRow2.columnName = "6";


MyTable NewRow3 = new MyTable();

NewRow3.columnName = "7";


MyTable NewRow10 = new MyTable();

it will success.

but what if i have more rows, like 20~30 rows? i have to seperately write 20~30

MyTable NewRow20 = new MyTable();  ........... MyTable NewRow30 = new MyTable();


?? sorry i'm a beginner now, please anybody can help? better idea?<

WCF - Entity Framework - POCO - Caching with multiple services



We have an architecture where we use Entity Framework with POCO, and the code-first approach (no edmx file). In order to explain the problem I have to explain a little bit about our architecture:

We have one layer which contains Routing Services (for load balancing and security), and a layer of Data Access Services. All services are hosted in IIS.

What we would like is to have caching of our (Entity Framework) Context, so we made the context static, and thought it would be shared between the different services. Well, it's not... 

The scenario (where we noticed the problem) was that we did some changes to an transaction through the Transaction services. We then did a search through the Search services, and found that the data wasn't updated. Well, actually the data are updated, and saved to the DB, it's just that the "Search Context" is out of sync. When retrieving the data from the Transaction service, we got the correct data, as expected.

So, after hours of googling I still haven't found a solution to the problem, and I'm hoping to get some response here.

How are targeted versions affected in new Framework Support Lifecycle Policy Change starting April 2


Hopefully this is the right forum, I searched and wasn't really sure where to put this.

In about a month the Support Lifecycle changes for the .NET Framework as referenced here http://support.microsoft.com/gp/lifeandotnet

We are trying to determine if we need to upgrade our applications or not and have gotten quite confused.

We have a number of web applications that target the 2.0 framework.  We also have Framework 3.5 SP1 installed on our web server.  3.5 SP1 uses the same CLR version 2.0 as Framework 2.0.  Because we have 3.5 SP1 installed, does that mean our applications that target 2.0 will still be covered under the new support lifecycle? 

Would the same apply to a web application that targets 3.5 that references a class library DLL that targets 2.0?

Thank You.

Recovering prior versions of .Net Framework


Like others, I've recently had repeated updates of .Net Framework 4 (KB2446708) which where successfully installed .  Before finding this site, I Googled the issue and it was suggested that I download & run the MS dotnet_cleaup_tool which I did.  It was also suggested to download & install the full version of .Net 4 (filename: dotNetFx49_Full_x86_x64 which I also did.  They both seemsed to work.

Unfortunately, when I ran the cleanup tool I mistakenly deleted ALL versions of .Net Framework.  I did do the instal of the "full" V4 application. 

Questions: How do I reinstall the prior versions?  Do I need them all back to V1?  Is there a specific order they should be installed? Should I perform update requests after each version has been installed?

TIA for your help.

Joe T

Binding the multiple drop down boxes in GridView using JQuery in ASP.NET

Here is the code for binding the multiple drop down boxes in GridView using JQuery in ASP.NET

Upload Multiple File using JQuery in asp.net

In this article I have explained how to upload multiple files using file upload control. I have used jQuery plugin for uploading multiple files.

I have also explained how to check for file type, file maximum size limit using jQuery & also using server side validation code.

Creating a Generic Entity Framework 4.0 Repository

With .NET 4.0 right around the corner, I thought it would be cool to download Visual Studio 2010 beta 2 and start playing around with the next release of Entity Framework.

The initial release of Entity Framework came with a great deal of criticism. To make matters worse, there was a large uproar when it was rumored that Microsoft would be abandoning LINQ to SQL, in favor of Entity Framework. This was because, at the time, many developers felt Entity Framework was an inferior technology to LINQ to SQL. To set things right, Microsoft proactively moved forward with improving Entity Framework, in time for the 4.0 release of the .NET Framework. This is good news because my initial impressions, so far, have been nothing but positive.
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