It suppose to be real simple, but I can not find out how to do it. I have a
SQL server and Web server on 2 separate PCs. When I create NSInstance object
NS_Instance = New
Microsoft.SqlServer.NotificationServices.NSInstance(NS_InstanceName)
.Net tries to access NS right on the Web server.
How to point it to the another PC?
Thanks
Oleksiy
nscontrol register -name instanceName -server databaseServer
where instanceName is the name of the instance and databaseServer is
the name of the server that hosts the instance database.
If you omit the -server parameter, NSControl defaults to the local
server name.
How did you register your instance on the IIS box?
HTH...
--
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)
"Notification Services Command Prompt" shows
CMD.EXE was started with '\\jadm\c\Program Files\Microsoft SQL
Server\90\Notific
ationServices' as the current directory path. UNC paths
are not supported. Defaulting to Windows directory.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
I did not.
Do I have to?
How I can register it if nscontrol.exe does not exist on the IIS box?
Do I have to install the SQL 2005 just to run nscontrol.exe once? %-)
I have found that nscontrol does not work from remote location. :-(
"The nscontrol register command must be run locally. You cannot
register Notification Services on a remote server."
You need to install the NS client components on the IIS box and then
use NSControl to register the instance.
HTH...
Joe
--
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)
>How I can register it if nscontrol.exe does not exist on the IIS box?
Install the NS Client components on the IIS box.
>Do I have to install the SQL 2005 just to run nscontrol.exe once? %-)
No, just the client components.
>I have found that nscontrol does not work from remote location. :-(
Right. It must be run locally.
Check out "Deploying a Subscription Management Interface" in 2005 BOL.
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/sqlntsv9/html/7854de6a-ade3-490d-bc85-5ef0e1c6c18c.htm
HTH...
--
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)