microsoft.public.sqlserver.notificationsvcs
[Top] [All Lists]

ArgumentOutOfRange Exception

Subject: ArgumentOutOfRange Exception
From: "Mana"
Date: 26 Dec 2005 06:06:50 -0800
Newsgroups: microsoft.public.sqlserver.notificationsvcs
I am adding a subscription using NMO. When following line is executed I
get ArgumentOutOfRange Exception

Subscription subscription = new Subscription(m_NSApplication,
subscriptionClassName);

The exception is as follows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Monday, December 26, 2005 7:26:07
PM      System.ArgumentOutOfRangeException: Specified argument was out of
the range of valid values.
Parameter name: subscriptionClassName
   at
Microsoft.SqlServer.NotificationServices.Subscription.Initialize(NSApplication
nsApplication, String subscriptionClassName)
   at
Microsoft.SqlServer.NotificationServices.Subscription..ctor(NSApplication
nsApplication, String subscriptionClassName)
   at Subscriptions.AddSubscription(String subscriberId, String
subscriptionClassName, Hashtable subscriptionFields, String
dateTimeStart, String recurrence) in
e:\SampleProj_Current\NSTEST\UI\Subscriptions.aspx.cs:line 1012
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

What does this mean?


<Prev in Thread] Current Thread [Next in Thread>
  • ArgumentOutOfRange Exception, Mana <=