?
Solved

exception : system.gcnotificationstatus

Posted on 2011-04-28
5
Medium Priority
?
452 Views
Last Modified: 2013-12-16
Hi get the following exception when trying to load my application created using VS2010 C#

Could not load type 'System.GCNotificationStatus' from assembly 'mscorlib, version=2.0.0.0

this is happening only at one of my customers. the same package is up and running for other customers.

I was not able to recreate this error on server 2003/2008 both x86 and x64 with any SP's.
0
Comment
Question by:OrenRozen
  • 3
  • 2
5 Comments
 
LVL 7

Expert Comment

by:OklahomaDave
ID: 35482632
I'm suspecting that there is a configuration problem on that server dealing with concurrent garbage collection in conjunction with the .NET Framework. Concurrent garbage collection is, unless I'm mistaken, new to the 3.5/4.0 series frameworks, and must be configured a certain way in order to function as designed.

You might take a look at the following MSDN article to get more detail, and it might help point you to a solution:
MSDN Concurrent GC
0
 
LVL 3

Author Comment

by:OrenRozen
ID: 35501232
hi,

Just found that the problem happens only on systems without visual studio installation.
Any idea what module or files are missing? so I can add them to the installation package?
0
 
LVL 7

Accepted Solution

by:
OklahomaDave earned 2000 total points
ID: 35501656
OrenRozen,

I'm wondering if perhaps the presence of Visual Studio is incidental to the version of the .NET Framework that is installed on the machine; that is, as part of the prerequisite check, the VS installer will check for the presence of the proper Framework version. What versions of .NET are installed on the problem computers?

-David
0
 
LVL 3

Author Comment

by:OrenRozen
ID: 35502706
Installing .NET Framework 4.0 didn't solve the problem
0
 
LVL 3

Author Comment

by:OrenRozen
ID: 35503169
Installing SP2 of .NET Framework 2.0 solved the problem.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Integration Management Part 2
Screencast - Getting to Know the Pipeline
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question