简体   繁体   English

SQL Server 2008 Management Studio打开文件对话框没有响应

[英]SQL Server 2008 Management Studio open file dialog not responding

I am having problems opening files in SQL Server Management Studio. 我在SQL Server Management Studio中打开文件时遇到问题。

I can connect fine to the local database (SQL Server std. 2008 R2), but when I do File > Open > Open File, the dialog just hangs until it says 'Not Responding'. 我可以很好地连接到本地数据库(SQL Server std。2008 R2),但是当我执行“文件”>“打开”>“打开文件”时,对话框将挂起,直到显示“无响应”。

It does eventually connect, but hangs for a period of 20-30 seconds to navigate between each folder on the local network. 它最终确实会连接,但会挂起20-30秒,以在本地网络上的每个文件夹之间导航。

I do not have the same problem navigating the same folders with windows explorer or Visual Studio 2012. It seems that this only occurs with SQL Server Management Studio. 使用Windows资源管理器或Visual Studio 2012浏览相同的文件夹时,我没有相同的问题。似乎这仅发生在SQL Server Management Studio中。

I have tried to find a thread to find a resolution, but the only thread I did find had the link removed to the solution! 我试图找到一个线程来找到解决方案,但是我唯一找到的线程删除了该解决方案的链接!

If you have any network share, remove it and try. 如果您有任何网络共享,请将其删除并尝试。

Probably, Open file dialog is stuck at one of the mapped drive? 可能是“打开文件”对话框卡在了映射驱动器之一上?

Also, check https://dba.stackexchange.com/questions/20725/sql-server-management-studio-slow-opening-new-windows 另外,请检查https://dba.stackexchange.com/questions/20725/sql-server-management-studio-slow-opening-new-windows

Hope that helps. 希望能有所帮助。 PS: Have you installed latest SP? PS:您是否安装了最新的SP?

I'm running Windows 7 and SSMS 2008 and was also having this very frustrating problem, but only with SSMS. 我正在运行Windows 7和SSMS 2008,并且也遇到了这个非常令人沮丧的问题,但仅限于SSMS。 I tried opening each of my mapped drives, and I disconnected any that had invalid paths. 我尝试打开每个映射的驱动器,然后断开所有具有无效路径的驱动器。 No more problem! 没问题了!

I was having this problem, and I do have network shares. 我遇到了这个问题,并且确实有网络共享。 I upgraded SQL Server 2008 R2 to service pack 2. Now the problem is gone. 我已将SQL Server 2008 R2升级到Service Pack2。现在问题不再存在。 I didn't have to touch my network shares. 我不必碰我的网络共享。

I had the same issue, every time i click open file dialog for sql file, ssms just hangs and takes 30-40 seconds to respond. 我遇到了同样的问题,每次我单击sql文件的“打开文件”对话框时,ssms都会挂起,并需要30-40秒来响应。 I uninstalled SQL Server 2005 32 bit on 64 bit windows 7 and installed 64 bit of SQL Server but the problem did not resolve.. I found there was a network drive unmapped, I deleted unmapped drive and problem resolved with no delays. 我在64位Windows 7上卸载了SQL Server 2005 32位,并安装了64位SQL Server,但问题没有解决。。我发现有未映射的网络驱动器,我删除了未映射的驱动器,并且没有延迟地解决了问题。 I am surprised how weird it is that unmapped drive can cause problem in sql server tools performance. 我很惊讶,未映射的驱动器会导致sql server工具性能出现问题,这是多么奇怪。

I have an solution very easy: 我有一个很简单的解决方案:

  1. Close the SSMS with the Task Manager. 使用任务管理器关闭SSMS。
  2. Open again SSMS. 再次打开SSMS。
  3. Solution: 解:
    • Tray generate an script from any Database (only tray, until appear the Open File Dialog). 托盘从任何数据库生成脚本(仅托盘,直到出现“打开文件”对话框)。
    • Close the Open File Dialog. 关闭打开文件对话框。
    • The problem is solved. 问题已经解决了。
    • Now you can use the "Open File Dialog" 现在您可以使用“打开文件对话框”

I had the same issue with SQL Server 2014sp1 not showing the File Browser dialog. 我在SQL Server 2014sp1中有同样的问题,没有显示“文件浏览器”对话框。 Unmounting the SQL Server installation media in the Hyper-V manager for the VM solved the issue. 在VM的Hyper-V管理器中卸载SQL Server安装介质解决了该问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM