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

Re: migration problems NS SQL 2000 to SQL 2005

Subject: Re: migration problems NS SQL 2000 to SQL 2005
From: Joe Webb
Date: Tue, 18 Apr 2006 10:03:57 -0500
Newsgroups: microsoft.public.sqlserver.notificationsvcs
Did you re-register the instance on the machine where you're
attempting to execute the .NET code? 



-- 
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)


On 10 Apr 2006 06:52:25 -0700, "semilogic"
<[email protected]> wrote:

>No I haven't so far, thanks. Here's the failing code with the stack
>trace.
>
>Description: An unhandled exception occurred during the execution of
>the current web request. Please review the stack trace for more
>information about the error and where it originated in the code.
>
>Exception Details:
>Microsoft.SqlServer.NotificationServices.NSException: The registry
>entries for the specified instance of Notification Services could not
>be found.
>
>Source Error:
>
>
>Line 128:                      StringBuilder sbSubscriptions   = new 
>StringBuilder();
>Line 129:
>Line 130:
>objSubscriptions.GetSubscriptionsBySubscriberID(_subscriber.Username );
>Line 131:
>Line 132:                      Categories objCategories = new Categories();
>
>
>Source File: ShowSubscriptions.aspx.cs
>
>
>
>Stack Trace:
>
>
>[NSException: The registry entries for the specified instance of
>Notification Services could not be found.]
>
>
>Microsoft.SqlServer.NotificationServices.Common.InstanceParameters.Get()
>+757
>
>
>Microsoft.SqlServer.NotificationServices.NSInstance.Initialize(String
>instanceName)+42
>
>   Microsoft.SqlServer.NotificationServices.NSInstance..ctor(String
>instanceName) +23
>
>
>PD.NewsService.Library.Subscriptions.GetSubscriptionsBySubscriberID(String
>    subscriberUsername) +65
>
>   PD.NewsService.Web.ShowSubscriptions.GetSubscription() in
>d:\Projects\NewsService\PD\1.0.20060309.1\NewsService\NewsService.Web\ShowSubscriptions.aspx.cs:130
>
>   PD.NewsService.Web.ShowSubscriptions.Page_Load(Object sender,
>EventArgs e) in
>d:\Projects\NewsService\PD\1.0.20060309.1\NewsService\NewsService.Web\ShowSubscriptions.aspx.cs:89
>
>   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object
>o, Object t, EventArgs e) +13
>
>   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object
>sender, EventArgs e) +45
>
>   System.Web.UI.Control.OnLoad(EventArgs e) +80
>
>   System.Web.UI.Control.LoadRecursive() +49
>
>   System.Web.UI.Page.ProcessRequestMain(Boolean
>includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>+3744

<Prev in Thread] Current Thread [Next in Thread>