locked
Registry entries not found RRS feed

  • Question

  •  

    I have a Notification Services instance/application running on the same machine that runs the website that manages the Subscribers. The instance is registered and it is running perfectly fine as a Windows service.

     

    However, when running the subscription-management website i get the following error:

     

    "The registry entries for the specified instance of Notification Services could not be found."

     

    Please note, that the website is running on the same machine as the instance (and the SQL Server as well).

     

    Any suggestions on how to solve this problem will be greatly appreciated.

     

    Thanks.

    Tuesday, April 10, 2007 12:15 PM

Answers

  • The problem is solved.

    I had not updated the Microsoft.SQLServer.NotificationServices.dll used by the webproject from version 2.x to 9.x.

     

    /Henrik

    Thursday, April 12, 2007 9:24 AM

All replies

  • Double check the string you are using to specify the instance name. It should be what you've defined in the following node of the ICF.

        <!--Instance name-->
        <InstanceName>MyInstance</InstanceName>

    It's not the name of the service.

    HTH...

    Joe


    Wednesday, April 11, 2007 12:30 PM
  • Thanks for your reply.

     

    Yes I know that the service name and the instance name is not the same. My instance name is PWNotifications and the name of the service (which is running fine by the way - chronicle tables are updated as scheduled) is NS$PWNotifications.

     

    The error I get is in the ASP.NET code when this statement gets executed:

    new Instance("PWNotifications");

     

    It is very likely that there are some security-restrictions of the process running ASP.NET, I haven't looked into that yet, but the research I done so far tells my that this error is not security related - it is simply a matter of the service not being found.

     

    I have also checked the registry - there is plenty of NS$PWNotifications-related nodes in there.

     

    Another thing that might be relevant: The subscription-management part (the website) was originally written for an application running in .NET 1.x and Notification Services running on MS SQL 2000. It has now been converted to .NET 2.0, but otherwise it has not been changed. Is the [new Instance("PWNotifications")] syntax obsolete in the NS 2005 API?

     

    /Henrik

    Thursday, April 12, 2007 5:16 AM
  • The problem is solved.

    I had not updated the Microsoft.SQLServer.NotificationServices.dll used by the webproject from version 2.x to 9.x.

     

    /Henrik

    Thursday, April 12, 2007 9:24 AM
  • Hi,
    I am also facing the same problem. I want to develop NS application within SQL Server 2000.

    I am doing like this

    NSInstance instance = new NSInstance("MyinstanceName") ; //pls note that here MyInsatnceName Instance is not created yet..i want to create it by my code...i am not sure it's possible or not...OR if i am trying with already exist instance then also same problem comes...

    it would be good if you point me to some good resource...and pls correct me if i am wrong somewhere.
    Friday, October 3, 2008 9:43 AM