Groups | Blog | Home
all groups > sql server notification services > october 2005 >

sql server notification services : Error with Custom Event Provider


Yaton
10/20/2005 3:03:14 PM
I have written a custom event provider for SQLNS 2000 SP 1 Standard. It
is written in .NET 1.1, but I have made the configuration adjustments
listed in the readme. Below is the output in the error log along with
the node from the ADF. Any suggestions?

<HostedProvider>

<ProviderName>DateRemindersScheduledEventProvider</ProviderName>

<ClassName>ScheduledHostedEventProvider.ScheduledHostedEventProvider</ClassName>
<AssemblyName>C:\SQL-NS
Projects\VPRemindersScheduledEventProvider\bin\Debug\VPRemindersScheduledEventProvider.dll</AssemblyName>
<SystemName>%_NSServer_%</SystemName>
<Schedule>
<Interval>P0DT00H00M10S</Interval>
</Schedule>
<Arguments>
<Argument>
<Name>ConfigFilePath</Name>

<Value>C:\VP_SQL_NS\VPReminders\DateReminders\EventProviderConfig.xml</Value>
</Argument>
</Arguments>
</HostedProvider>


<?xml version="1.0" encoding="UTF-8"?>
<NotificationServicesEvent>
<Description>
Notification Services was unable to locate the event provider
assembly. Ensure that the event provider path is correct in the
application definition file (ADF).
</Description>
<Context>
<EventParameters>
<ProviderName>DateRemindersScheduledEventProvider</ProviderName>
<ProviderAssembly>C:\SQL-NS
Projects\VPRemindersScheduledEventProvider\bin\Debug\VPRemindersScheduledEventProvider\bin\Debug\VPRemindersScheduledEventProvider.dll</ProviderAssembly>
<FusionLog>=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\SQL-NS
Projects\VPRemindersScheduledEventProvider\bin\Debug\VPRemindersScheduledEventProvider\bin\Debug\VPRemindersScheduledEventProvider.dll
LOG: Appbase = C:\Program Files\Microsoft SQL Server Notification
Services\v2.0.3008.0\Bin\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/SQL-NS
Projects/VPRemindersScheduledEventProvider/bin/Debug/VPRemindersScheduledEventProvider/bin/Debug/VPRemindersScheduledEventProvider.dll.
</FusionLog>
</EventParameters>
</Context>
<Description>
File or assembly name VPRemindersScheduledEventProvider.dll, or one
of its dependencies, was not found.
</Description>
<Instance>VPReminders</Instance>
<ApplicationName>DateReminders</ApplicationName>
<Component>Event provider host</Component>
<Thread>191</Thread>
</NotificationServicesEvent>
Joe Webb
10/25/2005 11:07:10 AM
Hi Yaton -

Try placing your dll in a folder without a space in its path.


--
Joe Webb
SQL Server MVP
http://www.sqlns.com


~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811

I support PASS, the Professional Association for SQL Server.
(www.sqlpass.org)



[quoted text, click to view]
AddThis Social Bookmark Button