How to fix missing DX9 software rasterizer RGB9RAST

From Yggenyk
Jump to navigation Jump to search

Symptoms

Crash trying to call:
System.Windows.Media.Imaging.Render(...)

What is Rgb9rast.dll

Rgb9rast.dll is .NET's software renderer.
Rgb9rast.dll is distributed with .NET 3.0 and 3.5.
In newer versions of windows it is a part of Windows.
On some configurations it is named Rgb9rast_2.dll.

Fix

In Windows SDK 6.0.A (Included in Visual Studio 2008) there is two files:
C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFX35\dotNetFX30\RGB9RAST_x86.msi
and
C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFX35\dotNetFX30\RGB9RAST_x64.msi

Copy these files (only RGB9RAST_x86.msi if it is an 32 bit windows) to the PC missing RGB9RAST_2.dll and install them, that will fix the problem.

They can also be found here:

I don't know if they are distributed with other versions of the Windows SDK, but links to other SDK's can be found here:

Here Corrections to some errors in the .NET Framework 3.0 deployment documentation is an explanation why you could end up missing rgb9rast_2.dll. <google>ENGELSK</google>

id=siteTree