Solved

SQL Server 2008 User authentication error on Maintenance Task

Posted on 2009-04-07
2
1,609 Views
Last Modified: 2012-05-06
Hi there

I have created a Maintenance task in SQL Server 2008 Management Studio.

I followed a walkthrough that seems to me to be entirely correct even if it was for 2005.
(http://www.sql-server-performance.com/articles/dba/creating_backup_jobs_p1.aspx)

But when I try to test the task with Execute command, i receive the following error:

[298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user 'ServerName\Admin', error code 0x534. [SQLSTATE 42000] (ConnIsLoginSysAdmin)

On the server I logged in as ServerName\LocalAdminName and connected to the Management Studio with "localhost"

My thoughts:
Do I have to login with a Domain User instead and if so, how do I allow that user to access Management Studio/All the databases? I tried to login with my User Account which is a Domain Admin account, but I was then unable to connect to localhost in Management Studio...

Also: The server has been renamed when it was found necessary to join it to the domain (was not initially planned) and I notice that the server name has not changed under
Security->Logins->ServerName\Administrator
ServerName is still the old servername, and not the new name... I would have thought this would change by itself?

Best Regards
Panthom
0
Comment
Question by:Panthom
2 Comments
 
LVL 51

Accepted Solution

by:
Mark Wills earned 500 total points
ID: 24095846
Well, normally it is the SQL Agent Service owner - ie the identity used to start the services that you have to watch out for. Best if that is a domain user, and add that user to SQL Server as a login and also to the databases. Might consider mixed mode authentication as well...

But I think you now have an added problem with the renamed server and SQL using the servername\instance where that servername no longer exists.

Hate to say it, but unless you get other advice, might in fact be easier to uninstall and reinstall. Let's see what other experts have to say.
0
 

Author Closing Comment

by:Panthom
ID: 31567459
Had to reinstall as suggested :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now