all groups > sql server notification services > january 2007 >
You're in the

sql server notification services

group:

Error 1359 when trying to start NS$Instance service


Error 1359 when trying to start NS$Instance service Todd C
1/26/2007 10:29:05 AM
sql server notification services:
I am new to NS 2005 and going through some samples from Shyam Pather's book.

I can create a NS instance, and register and enable it. But I am having
trouble getting the service to start.

I am working on an XP machine, connected to a domain. I had the domain admin
guys create an account that will be used as the startup account for the new
NS service. I have added that account to my local group
"SLQServer2005NotificationServicesUser$<machine name>.

But the service does not start. It errors out with Error 1359.

If I add the service account as a member of my local Administrators group,
it starts OK (I know, not the best practice but just learning on a local
machine for now). So I deduce that the service account does not have
sufficient permissions.

What other permissions does it need? What other groups should it be a member
of?

Thanks in advance.
--
Re: Error 1359 when trying to start NS$Instance service Todd C
1/29/2007 5:45:01 AM
Joe:

Thanks for the tip, but my service account is already a member of the
NSRunService role in the NS Instance database.

I saw a post similar to this and the suggestion was to uninstall and
reinstall NS. Not sure that would help seeing how I have proved that it is
based on the service account not having sufficient permissions unless it is a
member of the local Administrators group.

How about this: the samples in the book sometimes use a File system delivery
channel. Is it possible that if the Service Account does NOT have permissions
on the directory referenced in the <Delivery Channels> section of the ICF
that it won't be able to start? Therefore, should I grant the Service Account
appropriate file permissions?

Thanks
--
Todd Chittenden


[quoted text, click to view]


[quoted text, click to view]
Re: Error 1359 when trying to start NS$Instance service Joe Webb
1/29/2007 7:00:29 AM
[quoted text, click to view]

SSNS uses role-based security. The database login (either SQL Server
or Windows authentication) used by the service account needs to be a
member of the NSRunService database role.

See if that helps.

Joe



--
Joe Webb
SQL Server MVP
http://www.sqlns.com



Re: Error 1359 when trying to start NS$Instance service Todd C
2/1/2007 8:15:01 AM
Joe:

Wow! That was a very freshman DBA mistake on my part: Failed to create the
LOGIN, and only created the DB user.

One would think ...

That if a database USER is not valid without a login, that before SQL Server
would allow you to create a USER for a database, it would first check to make
sure that the LOGIN existed. (Funny how a product like SQL Server, that can
get heavy into REFERENTIAL INTEGRTITY between data rows, does NOT ENFORCE
that same concept when it applies to logins and users!)

Thanks.

Re: Error 1359 when trying to start NS$Instance service Joe Webb
2/1/2007 9:54:49 AM
[quoted text, click to view]

If that was the case, I would expect that the service would start, but the
delivery would fail.

I would double check to make sure the SQL Server login and the database
user are correct. If you're using Windows Authentication, make sure that
the windows user has a Login into SQL Server and that it has access to the
instance and application databases.

HTH...

--
Joe Webb
SQL Server MVP
http://www.sqlns.com



Re: Error 1359 when trying to start NS$Instance service Joe Webb
2/2/2007 6:25:37 AM
[quoted text, click to view]

You bet! Glad it's working now.

Cheers!

--
Joe Webb
SQL Server MVP
http://www.sqlns.com



Re: Error 1359 when trying to start NS$Instance service TonyS
2/17/2007 12:00:00 AM
SQL Server 2005 positively permits you to create users without logins.
CREATE USER user1 WITHOUT LOGIN

Tony S.

[quoted text, click to view]

AddThis Social Bookmark Button