|Product:||SQL Server Notification Services|
|Message:||Notification Services failed to instantiate the event provider.|
|Notification Services could not create an instance of the event provider. This error can occur if a custom event provider was not built using version 1.0.3705 of the .NET Framework. When Notification Services and a custom component use different versions of the .NET Framework, differences in the class libraries can cause application errors.|
|When possible, build custom components with version 1.0.3705 of the .NET Framework. If you must build custom components with version 1.1.4322 of the .NET Framework, you can force Notification Services to use the same version. To do this, add a <startup> node to the NSService.exe.config file, which is in the vN.N.N.N\Bin folder of Notification Services. The following example shows the <startup> node:
<?xml version=”1.0″ encoding=”UTF-8″?>
The <supportedRuntime> elements restrict the versions of the .NET Framework that Notification Services can use. The order of the listed versions determines the order in which Notification Services attempts to load the .NET Framework versions. In the example above, Notification Services will first attempt to load version 1.1.4322 of the .NET Framework. If it is not available, Notification Services will attempt to load version 1.0.3705 of the .NET Framework.
You must restart the instance of Notification Services to apply changes made to NSService.exe.config.