SQL 2008 R2


I have a virtual machine running Windows 2008 R2, that also has SQL 2008R2 installed.

I rebooted the server.

I was able to RDP into the Windows server like normal, once the reboot was finished.

However, it took SQL nearly ten minutes to allow connections. When I opened the SQL Management Console, I used Windows Authentication, like normal, but it wouldn't allow me in.  I even tried other accounts that had the passwords saved in cache, and they were not allowed in. I waited for a while, tried again, and then I was allowed in. I was not typing in the wrong password, as that information is stored in cache.

Please advise.
Who is Participating?
View the log in a text editor, it should the start up and review how long SQL thinks it takes to be running.

Log location: Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG
Kyle AbrahamsSenior .Net DeveloperCommented:
It could be that it took that long for SQL to start up.  Check out the Sql Service (service.msc) and make sure it's set to start and not a delayed start.
isamesAuthor Commented:
@LVL 41 Thanks for your response.

The SQL services are set automatic, and they were started.

I failed to mention that in my post.
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

Radhakrishnan RSenior Technical LeadCommented:

is this server configured any static IP, DNS etc? if so, look at the DNS side. Try ping DNS and see if you get constant reply? if you configured any public DNS manually, try removing that and add local DNS address for fast resolution.
Kyle AbrahamsSenior .Net DeveloperCommented:
Were you trying to connect to the server from outside the VM or inside the VM?

If you're outside the VM does the same thing happen inside the VM?  (EG: RDP then try to use ssms to login).
isamesAuthor Commented:

The server has statically assigned IP addresses and DNS.

I did a continuous ping against both DNS addresses, and they replied in 1ms
isamesAuthor Commented:
@Kyle Abrahams

Once the server is backup from reboot, I RDP into the VM, and then access SSMS.
Has SQL log been reviewed?

see link for information on the SQL ERROR log:
Kyle AbrahamsSenior .Net DeveloperCommented:
Does the box have an internet connection?

Try the following:
Go into IE, select Tools|Internet Options|Advanced
If “Check publisher’s certificate revocation” under the security node is checked, then uncheck it.

Explanation and credit:

Also do you have any registered servers that you store in SSMS?  Are they all online?  If not remove the online ones and try again.
isamesAuthor Commented:
This is what I found when I checked the SQL logs:

Kyle AbrahamsSenior .Net DeveloperCommented:
Based on that error It's normal to see that if you're shutting down / starting up.  But it might also be a permissions error. Does the service account a custom one or are you using network service?
PberSolutions ArchitectCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

-- 65td (https:#a42391354)
-- Kyle Abrahams (https:#a42391437)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer
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.

All Courses

From novice to tech pro — start learning today.