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

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

EventType clr20r3, P1 devenv.exe, P2 9.0.30729.1, P3 488f2b50, P4 system.drawing, P5, P6 488

Posted By:      Posted Date: August 27, 2010    Points: 0   Category :WPF
Hi,I am facing a strange issue in Visual Studio 2008 Standard SP1, when using WPF Designer (even without using the Designer tab, only XAML tab). Visual Studio crashes very often, without any apparent reason, and in various ways, for example: exits instantly, the IDE displays corrupted UI, when begining compiling it stops responding.There are two new Event Log entries after this: EventType clr20r3, P1 devenv.exe, P2 9.0.30729.1, P3 488f2b50, P4 system.drawing, P5, P6 4889dec2, P7 33d, P8 18, P9 system.outofmemoryexception, P10 NIL. .NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A2E0F92) (0)Worth mentioning:- computer has Windows XP SP3 with the latest updates installed- it crashes on other computer types too- the project has quite a large number of UserControls - it appears that if opening a XAML file with the XML editor instead, it works ok- on other WPF projects it also works okDoes anyone have an ideea why is this happening and solutions? Thanks

View Complete Post

More Related Resource Links



Hi there,


 I am doing one task on asp.net graphics. i would like to a form that let the user choose the color code from the color picker.

inside my backend code, i can get the color code and convert to the system.drawing.color.



Dim col As System.Drawing.Color = System.Drawing.ColorTranslator.FromHtml("#9932CC")

 Dim Brush As New SolidBrush(col)


but i have some problem in make this col object to alpha color. as i know the .net code that make the system color to become alpha is wrote as like tat :

gr.DrawString(strWatermarkText, wmFont, New SolidBrush(Color.FromArgb(8, 0, 0, 0)), x, y)


May someone share me how to make the color input from form to become alpha color? thanx in advanced. hope to hear from you all soon 


System.Drawing.Image.Fromfile is not working


I am trying to get the height and width of the image dynamically.  The reason is I am loading multiple images using code, where the image name is from the database. 

Here is my code:

in the ascx page, I have an asp image

<asp:image id="imgInfo" runat="server" /> 


In the code behind

string ImagePath = "~/products/img/" + dataviewImgInfo[0]["imgName"].ToString();

System.Drawing Image imgProd = System.Drawing.Image.FromFile(ImagePath);

if(imgProd.Height > 200)

imgInfo.Height = 100;




imgInfo.Height = 200



WHen I run this page I am getting the folloiwng error

Displaying a System.Drawing.Bitmap in a WPF Image control

How would I convert a System.Drawing.Btimap into a comparable WPF image control so I can display in on my WPF window? Thanks

Converting System.Windows.Media to System.Drawing objects

Hello, I want to know if it's possible to convert the System.Windows.Media objects Color and Imaging.BitmapSource to the System.Drawing objects Color and Bitmap and the other way around. If yes, how can I do this?

XmlSerializer: Serialize an array of System.Drawing.Color

Ok,  here is my problem... I am building a UI configuration tool that utiliizes a PropertyGrid.  One of the properties is a indexed list of Colors contained in an array: CategoryAttribute("Style"), DisplayName("Data Set Colors"), DescriptionAttribute(""), XmlArray("SetColors"), XmlArrayItem(ElementName="Color",Type=typeof(SColor))] public Color[] SetColors { get; set; } The beauty of the PropertyGrid is it knows how to handle this Poperty and properly handles array and list of Colors. BUT...   As we already know in order to serialize a Color,  we have to use a surrigate property,  which is very unfortunate, and I fear is one of those little thing MS just overlooked.  (I understand it is actually a structure and not a class and has not default properties from which to get type info from.) I am really amazed that when I do serialize the class,  the XML is soooo  close to what I need,  its just missing the actual color value data: <AppGridColumnConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Name>Label</Name> <SetColors> <Color /> <Color /> <Color /> </SetColors> <IsDefaultEditable>false</IsDefaultEditable> <IsDirtyCheck&

First Steps with VS2010 RC - System.Drawing; missing?

I'm a little confused! I was curious about the new VS2010 RC and as I wanted to start with a new Software Project I  wanted to give it a try. 1. Installation troubble with Silverlight but VS2010 loads without errors. 2. Now I wanted to try out this things with a full aero window and found a nice and simple code snipplet on the MSDN .NET FW4 Extend Glass Frame Into a WPF Application So I made this short changes in my first source code and I'm getting the strange message: Error    1    The type or namespace name 'Drawing' does not exist in the namespace 'System' (are you missing an assembly reference?)    D:\Projekte\Selfmade\Software\CAS_Information\CAS_Information\MainWindow.xaml.cs    19    14    CAS_Information I found a lot of c# code with a using System.Drawing; but on my installation I dont have such a namespace. What the heck is wrong there?   Windows 7 x64 - VS2010 RC

EventType clr20r3, P1 outlooksync.exe, P2, P3 448d7d31, P4 outlooksync, P5, P6 448d7

I am getting an error on my server that looks like this:

Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 5000
Date:  2/1/2010
Time:  12:18:33 PM
User:  N/A
Computer: MR-G
EventType clr20r3, P1 outlooksync.exe, P2, P3 448d7d31, P4 outlooksync, P5, P6 448d7d31, P7 28, P8 13d, P9 pszqoadhx1u5zahbhohghldgiy4qixhx, P10 NIL.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
0000: 63 00 6c 00 72 00 32 00   c.l.r.2.
0008: 30 00 72 00 33 00 2c 00   0.r.3.,.
0010: 20 00 6f 00 75 00 74 00    .o.u.t.
0018: 6c 00 6f 00 6f 00 6b 00   l.o.o.k.
0020: 73 00 79 00 6e 00 63 00   s.y.n.c.
0028: 2e 00 65 00 78 00 65 00   ..e.x.e.
0030: 2c 00 20 00 31 00 2e 00   ,. .1...
0038: 30 00 2e 00 30 00 2e 00   0...0...
0040: 30 00 2c 00 20 00 34 00   0.,. .4.
0048: 34 00 38 00 64 00 37 00   4.8.d.7.
0050: 64 00 33 00 31 00 2c 00   d.3.1.,.
0058: 20 00 6f 00 75 00 74 00    .o.u.t.
0060: 6c 00 6f 00 6f 00 6b 0

EventType clr20r3



Hi everyone,

I am running my application 24*7. It works fine in day time but at night it get crashed. I am running it through scheduler.

It is giving following error in application event...


EventType clr20r3, P1 deduplix.exe, P2 1.0.3014.28632, P3 47f35fed, P4 system.windows.forms, P5, P6 471ebf68, P7 16c6, P8 159, P9 system.componentmodel.win32, P10 NIL.


please help me and tell what can i do?


Server OS is Windows server 2003 standard edition.

I am using one COM dll and one OCX.

NET Runtime 2.0 Error Reporting, Event ID: 5000, EventType clr20r3, P1 msadapter.exe, P2, P3


We are getting the following error what would be the root cause.


Our application is divided into 2 projects.


1- C# assembly.

2 - Managed c++ library (assembly)..


What could be the reason for this.

Is it null pointer exception or some other related to Interoperability assembly mscorlib.dll


This is the event viewer log:


Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 5000
Date:  5/15/2007
Time:  5:55:20 AM
User:  N/A
EventType clr20r3, P1 msadapter.exe, P2, P3 4648d13f, P4 mscorlib, P5, P6 4333ab80, P7 32fc, P8 10, P9 system.objectdisposedexception, P10 NIL.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

.Net 2.0 errors in Windows XP .NET Runtime Optimization Service & EventType clr20r3


I have a program that runs on windows XP using .net 3.5 framework family. After many reinstalls using the redistributable package, the bootstrapper, and windows updates, when launching the program i get "".exe has encountered a problem and needs to close. Event viewer shows this:

.Net Runtime 2.0 Error

EventType clr20r3, P1 "".exe, P2 2010.1.1012.1, P3 4c6168a1, P4 system.configuration, P5, P6 4889de74, P7 277, P8 14, P9 ioibmurhynrxkw0zxkyrvfn0boyyufow, P10 NIL.

There are also these errors in event viewer, that only showed up after installing using Windows Updates.

.NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Service reached limit of transient errors. Will shut down. Last error returned from Service Manager: 0x80029c4a.

I followed the advice in another msdn support request, http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/f56cc6e4-c2bf-490c-b87b-3e22b1e6b935 that suggested running:

%windir%\microsoft.net\framework\v2.0.50727\ngen.exe update

%windir%\microsoft.net\framework\v2.0.50727\ngen.exe executequeuedstatus


%windir%\microsoft.net\framework\v2.0.50727\ngen.exe queue status

and the requested output of the update command returns:

Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))

System.Drawing.Image.FromFile crashes for tiff files on 64bit system


The following pice of code runs fine on my development machine (win7, 32bit) but ends with Exception on the server (Win2008R2, 64bit).


        static void Main(string[] args)


            Image image = Image.FromFile(args[0]);





The exception will be thrown for TIFF files (from other sources) but ie not for PNG files.

I was wondering why the test program above works fine on my Win 32bit machine with .NET 4 but not on my 64bit machine with .NET 4.

Any help appreciated.



Use System.Drawing class



How can I to use System.Drawing.Bitmap class into athoer class?

using System.Data;
using System.Collections;
using System.Globalization;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Globalization;
using System.Text;

namespace University
    public class Class1

      System.Drawing.Bitmap BMP=new System.Drawing .Bitmap();



when I use System.Drawing.Bitmap gives error this class does not exists !!!!!!!!

How to Convert System.Drawing.Image Variable to Byte variable



I got a variable of type System.Drawing.Image and need to convert it to a variable of type byte so I can store the image in the database. Can someone show me how to do that in VB.NET code.

Thanks alot

Unable to cast COM oject of type 'System.__ComObject' to class type of 'System.Drawing.Bitmap' .

 private void DirectXViewer_DragDrop(object sender, DragEventArgs e)


   mousePressedFlag = false;



    Object obj = e.Data.GetData(typeof(Bitmap));





      Bitmap image = (Bitmap)((Bitmap)obj).Clone();

      RenderImage = image;



     catch(Exception ex)








private void DirectXViewer_MouseMove(object sender, MouseEventArgs e)


   if (mousePressedFlag)


    if(cacheBitmap != null)

     this.DoDragDrop(new Bitmap(cacheBitmap), DragDropEffects.Copy);




Hi All,

I try to d

Get Image from HTTP in a System.Drawing.Image


How can i get a Image that exitsts on the WWW, into my project.
Normally i get a image on this way:


        System.Drawing.Image ImgWatermerk = System.Drawing.Image.FromFile(PNGPath);


But right now the image is remote like http://www.google.nl/google.jpg


.NET Runtime 2.0 Error Reporting # 5000 EventType clr20r3


Hi everyone. I made an Visual Studio 2005 Win Application only for testing a connection to a Oracle 10g database (i only open a connection using the OracleConnection, check the status and then close it).

I´m using the Oracle .NET provider version

I tested the app in different PC´s with windows XP OS and everything worked fine, but when i tried to deploy the app in a Windows 2003 server didn´t run. I checked the Event viewer and found this message:

Event Type:    Error
Event Source:    .NET Runtime 2.0 Error Reporting
Event Category:    None
Event ID:    5000
Date:        29/06/2007
Time:        12:35:23 p.m.
User:        N/A
Computer:    ESTADISERV

'System.Drawing.ToolboxBitmapAttribute' threw an exception. .... since MS won't fix it, does anyo


I'm hosting a few .net sites, some collapse with this error on an almost daily basis. I've moved the sites between servers, but sites on all the servers seem to be affected, so it is not just a bad install.

This problem is acknowledged by MS and they have a fix here:


But they don't provide the fix they talk about.

Does anyone have any way to resolve this that does not need Microsoft (since Microsoft clearly aren't bothered to fix it)?

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