Solved

SQL Server 2008 User authentication error on Maintenance Task

Posted on 2009-04-07
2
1,604 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

757 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

23 Experts available now in Live!

Get 1:1 Help Now