Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL Server 2008 User authentication error on Maintenance Task

Posted on 2009-04-07
2
Medium Priority
?
1,660 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Accepted Solution

by:
Mark Wills earned 1500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

670 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