Solved

SQL Server 2008 User authentication error on Maintenance Task

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

617 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