Solved

SQL Server 2008 User authentication error on Maintenance Task

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

820 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