Error connecting to a SQL server 2008R2 instance via SSMS

I get a "cannot generate sspi context" when trying to connect to a SQL 2008R2 instance.

There are not duplicate SPN records on the network, I've checked this.

We are getting this error on the SQLservice account:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{806835AE-FD04-4870-A1E8-D65535358293}
and APPID
{EE4171E6-C37E-4D04-AF4C-8617BC7D4914}
to the user Domainname\SQL_service SID (S-1-5-21-1728536662-146330824-3268609631-1851) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.


But this is pretty much all I can see from an Event Log POV

I can log-in locally used my UN adn PW as authentication but not remotely from my PC.
LVL 1
wannabecraigAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Maybe Remote Connections are not enabled for that database engine.  On that machine, run SMSS.  Right click on the server line and click on Properties and then Connections.  Near the bottom of the window, make sure the checkbox before "Allow remote connections to this server" is checked.

You may also have to make sure that both machines have the same protocols enabled for the server and the SQL Native Client.
0
wannabecraigAuthor Commented:
Hi, do you mean SSMS?

We used to be able to connect to this machine remotely, then it just stopped.  Not idea why.

Which same protocols?

I'm not sure what a SQL native client is either, sorry, can you explain?
0
Dave BaldwinFixer of ProblemsCommented:
#Hi, do you mean SSMS?
Yes.

#We used to be able to connect to this machine remotely, then it just stopped.  Not idea why.

Something changed and you need to find out what that is.

#Which same protocols?
SQL Connection protocols
#I'm not sure what a SQL native client is either, sorry, can you explain?
SQL Native Client is the driver that connects the client to the server.  It is installed with the server and must be installed on machines without the server if they are to connect to the server.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Mark GalvinManaging Director / Principal ConsultantCommented:
0
wannabecraigAuthor Commented:
Article says it ojnly applied to the following:

Microsoft SQL Server 2000 Standard Edition
Microsoft SQL Server 7.0 Standard Edition
Microsoft SQL Server 2005 Standard Edition
Microsoft SQL Server 2005 Developer Edition
Microsoft SQL Server 2005 Enterprise Edition
Microsoft SQL Server 2005 Express Edition
Microsoft SQL Server 2005 Workgroup Edition
Keywords: kbinfo KB269541

It's worth noting that we were able to connect  to this server at one point.
0
wannabecraigAuthor Commented:
I found out the issue here.  For some reason, the 'SQL server' service was set to use the
NT Service account MSSQLSERVER.  I'm not sure why or how this was switched.
Are there any installs/configs that would cause this>?

I changed this to use the Domain service account and the issue was resolved.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.