Hey P -
Have you run "NSControl register ..." on the web server? Here's an
excerpt from BOL that may be helpful.
From BOL on NSControl register...
-server database_server_name
Is the name of the server that hosts the instance database. If you use a
named instance of SQL Server to host the instance database, you must
specify both the server name and instance name, using the format
servername\instancename.
-service
Creates the NS$instance_name service for the instance, registers the
service, and creates performance counters for the instance.
When running NSControl Register on a server that does not run the event
provider, generator, or distributor, do not specify the -service
argument. For example, on a Web server that requires access to the
subscriber API you need to register the instance, but you do not need to
install the service.
Also, in your instance configuration node, what do you have for the
<SqlServerSystem> element?
I usually put something like this:
<SqlServerSystem>%_SqlServer_%</SqlServerSystem>
And have a parameter default like so:
<ParameterDefaults>
<Parameter>
<Name>_BaseDirectoryPath_</Name>
<Value>C:\Data\SQLNS\PASSDemo\ABCMotorworks\PressRelease\PressRelease</Value>
</Parameter>
<Parameter>
<Name>_SqlServer_</Name>
<Value>MyCPU</Value>
</Parameter>
<Parameter>
<Name>_NSHost_</Name>
<Value>MyCPU</Value>
</Parameter>
</ParameterDefaults>
HTH...
Joe Webb
SQL Server MVP
~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811 [quoted text, click to view] P wrote:
> Hi Joe.
> I have created NS Instance in machine1 and i want to add subscriber and
> subscription in that instance of machine1 through the webapplication. This
> webapplication runs on machine2.
> But when i try to use webapplication on machine2, it looks for the NS
> instance of machine2. In short, i want to add subscriber in the NS instance
> of machine1 through the webapplication of machine2. but it returns the
> registry key not found error.
> I hope this time my question is clear.
>
> Thanks
>
> "Joe Webb" wrote:
>
>
>>Hi P -
>>
>>I'm assuming that webapplication is a subscription management
>>application that allows subscribers to sign up to receive notifications,
>>manage their subscriptions, etc. If so, then machine1 should already
>>have IIS, etc, on it. Now you'll need to install the NS Client
>>Components on machine1 so that it'll have the NS API. Next register the
>>NS instance using NSControl so that the webapplication will know about
>>the particular instance, including the server name and instance name.
>>And finally, develop your .net webapplication to allow subscribers to
>>sign up.
>>
>>For more information, look up "subscription management applications,
>>deploying" in BOL.
>>
>>If I've misunderstood your question, let me know.
>>
>>HTH...
>>Joe Webb
>>SQL Server MVP
>>
>>~~~
>>Get up to speed quickly with SQLNS
>>
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811 >>
>>
>>
>>P wrote:
>>
>>>Hi
>>>I want to run my webapplication at machine1, which should access the
>>>notification instance created at machine2. I dont see any server
>>>configuration in notificationservices properties. How this can be done?
>>>
>>>Thanks