Notification Services samples

Notification Services samples

Post by david » Mon, 09 Sep 2002 22:25:18



First time round I tried to build one of the Notification
Services examples with Window authentication logon setup
to my SQL Server. As I am using a machine for the
Notification services which doesn't belong to the same
domain as my SQL server I switched my server to use SQL
server authentication because it didn't work.

Now that I am using SQL server authentication I enter the
command:
'setupsamples administrator password mysqlserver sqluser
sqluserpassword sa' which was successful. However when I
go to build one of the Notifications Services examples I
still get the same errors even though I get prompted for
my SQL user password:
e.g.

H:\Program Files\Microsoft SQL Server Notification
Services\v2.0.2114.0
\Samples\Flight\AppDefinition\BuildScripts\GrantPermissions
.cmd(1,1): error 1: GrantPermissions.cmd failed. See
output window for error text.
Password:
1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17>
18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31>
32> 33> 34> 35> 36> 37> 38> 39> 40> 41> 42> 43> 44> 45>
46> 47> 48> 49> 50> 51> 52> 53> 54> 55> Msg 15401, Level
11, State 1, Server MYSQLSERVER, Procedure sp_grantlogin,
Line 41
Windows NT user or group 'MYLOCALMACHINE\ASPNET' not
found. Check the name again.
Msg 15401, Level 11, State 1, Server MYSQLSERVER,
Procedure sp_grantdbaccess, Line 100
Windows NT user or group 'MYLOCALMACHINE\ASPNET' not
found. Check the name again.
Msg 15410, Level 11, State 1, Server MYSQLSERVER,
Procedure sp_addrolemember, Line 66
User or role 'MYLOCALMACHINE\ASPNET' does not exist in
this database.

Why isn't the example using the SQL authentication here?

 
 
 

Notification Services samples

Post by Bill Hollinshead [M » Wed, 11 Sep 2002 07:20:37


Perhaps this is
http://support.microsoft.com/support/kb/articles/q279/5/26.asp

Thanks,

Bill Hollinshead
Microsoft, SQL Server

This posting is provided "AS IS" with no warranties, and confers no
rights. Subscribe to MSDN & use http://msdn.microsoft.com/newsgroups.

 
 
 

1. looking for trivial Notification Services sample

Hi,

I'm currently investigating the Notification Services but I'm having
difficulty understanding its developer/application interfaces. Does
anybody have access to a very trivial sample that would help
me understand the technology. e.g. when the row count for
a sql table reaches 100 then invoke a method in my windows
forms application.

Regards,
Chet

2. How can I work with my SQL scripts more effectively?

3. Notification Services sample pages not working

4. sysreferences & sysforeignkeys

5. Failover notification Microsoft Cluster Service

6. TUpdate object ... "Operation not applicable" on delete and modify

7. Notification Services

8. Renaming Server

9. Where are the Notification Services?

10. SQL SVR Notification Services

11. Using SQL Notification Services (SQLNS) to transfer data

12. Notification Services nscontrol unregister Problem