Showing posts with label startup. Show all posts
Showing posts with label startup. Show all posts

Monday, February 20, 2012

Management Studio very slow to startup

I'm trying to troubleshoot a strange issue. Here are some specifics...

+ just set up a brand new 64bit server (Windows 2003 R2 64 bit O/S and SQL 2005 64 bit, Std Edition); SQL is the only thing running on this server.

+ installed this new server in our AD domain; set up custom domain-level accounts for the SQL Service, Agent, and Integrations Services service accounts, following the BOL help topics "Setting up Windows Service Accounts."

+ I use RDP (remote desktop) to connect to the SQL Server server machine just fine. Once I'm RDP'd into the SQL2005 box, I fire up SQL Mgmt Studio there... it takes well over a couple of minutes before it even finishes rendering the first screen to connect to any instances. Once it finally does come up, I can connect to the (local) db using Windows Auth or the sa account w/out any delay or issue.

+ on my own workstation (an XP Pro laptop), I can open up SQL Mgmt Studio, and it opens up quickly (well, as quickly as Mgmt Studio or Visual Studio probably can these days ... <g>) and also connect to that new SQL2005 box w/out issue.

I am completely baffled as to why it SQL Mgmt studio would take so long to open up on the very server SQL is running, much less a brand new 64 bit server! Any information on what it's trying to do might be helpful... It's almost like it's trying to authenticate or connect to something and timing out, although no errors are displayed and there's nothing in the event logs. It's odd to me though, as at that point (just opening up the application), it doesn't seem like it should be attempting anything like that.

-- Margo Noreen

One issue that can cause this problem is that if the server does not have access to the internet, then the .NET framework can't access the crl.microsoft.com website to verify that the digital signatures used to sign the binaries for managed applications are valid. Each certificate check has a 15 second timeout in the .NET runtime implementation. Depending on what features are installed, this can add up to a minute of start up time for Management Studio.

There are a couple workarounds:

1) Configure a proxy server to allow access to http://crl.microsoft.com from your server
2) Configure your firewall to return a failure status quickly when it blocks access to the http://crl.microsoft.com website
3) Disable checks for certificate revocation. You can do this using Internet Explorer by opening the Interet Options dialog, going to the Advanced Page, and then unchecking the "Check for publisher's certificate revocation" checkbox. There are fraudulently signed binaries in the wild that can make virus-infected applications look like they were published by Microsoft. Disabling this check should probably not be done on machines with internet access.

Hope this helps,
Steve

Management Studio startup error: splash screen then nothing

I have got sql 2005 installed and the management studio has stopped working.
Now when I try and open it up, I see the splash screen for a split second and
then nothing.
I tried uninstalling BOL (july 2006) which some posts suggested but it still
doesn't work.
Any ideas?
After the splash screen goes away, do you see sqlWb.exe in Task Manager's
process list?
"adolf garlic" <adolfgarlic@.discussions.microsoft.com> wrote in message
news:0AAA71A7-C4C2-447F-81D1-727DC5C475B0@.microsoft.com...
>I have got sql 2005 installed and the management studio has stopped
>working.
> Now when I try and open it up, I see the splash screen for a split second
> and
> then nothing.
> I tried uninstalling BOL (july 2006) which some posts suggested but it
> still
> doesn't work.
> Any ideas?
|||No.
"Aaron Bertrand [SQL Server MVP]" wrote:

> After the splash screen goes away, do you see sqlWb.exe in Task Manager's
> process list?
>
>
> "adolf garlic" <adolfgarlic@.discussions.microsoft.com> wrote in message
> news:0AAA71A7-C4C2-447F-81D1-727DC5C475B0@.microsoft.com...
>
>
|||Okay, anything in the event log? Do you have error reporting enabled? Are
you running as a local administrator, or a less privileged account?

> No.
|||There is nothing in the event log (warnings or errors) that looks sql related.
I'll see if I can switch on error reporting (if it isn't already on)
I am running as local admin.
"Aaron Bertrand [SQL Server MVP]" wrote:

> Okay, anything in the event log? Do you have error reporting enabled? Are
> you running as a local administrator, or a less privileged account?
>
>
>
|||adolf garlic (adolfgarlic@.discussions.microsoft.com) writes:
> There is nothing in the event log (warnings or errors) that looks sql
> related. I'll see if I can switch on error reporting (if it isn't
> already on) I am running as local admin.
Did you ever have the Express version of Mgmt Studio on your machine?
The Express version and the full version don't go well together.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
|||I did have the express version of SQL Server with advanced services but
uninstalled it before embarking on the normal version.
"Erland Sommarskog" wrote:

> adolf garlic (adolfgarlic@.discussions.microsoft.com) writes:
> Did you ever have the Express version of Mgmt Studio on your machine?
> The Express version and the full version don't go well together.
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
>
|||adolf garlic (adolfgarlic@.discussions.microsoft.com) writes:
> I did have the express version of SQL Server with advanced services but
> uninstalled it before embarking on the normal version.
And "embarking" means that you installed the normal version?
Clutching at straws, you could try uninstall the tools and then reinstall.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
|||Yup. The whole nutbag (analysis services, reporting services, ssis, sql)
except notification services.
I'll try uninstalling the tools and reinstalling (I think I already tried
this).
Thanks for everyone's suggestions so far
"Erland Sommarskog" wrote:

> adolf garlic (adolfgarlic@.discussions.microsoft.com) writes:
> And "embarking" means that you installed the normal version?
> Clutching at straws, you could try uninstall the tools and then reinstall.
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
>
|||Add remove programs
Remove client tools
reboot
add remove programs
sql server 2005
add new component
navigate to setup.exe
add all client tool components, sample dbs etc
it works
what a pain, this doesn't make sense (working, stops working, working...)
just hope it doesn't happen again
"adolf garlic" wrote:
[vbcol=seagreen]
> Yup. The whole nutbag (analysis services, reporting services, ssis, sql)
> except notification services.
> I'll try uninstalling the tools and reinstalling (I think I already tried
> this).
> Thanks for everyone's suggestions so far
> "Erland Sommarskog" wrote: