我有一台安装了 VS2010 和 sql server 2005、2008 的机器.在安装 VS2012 之前,我能够从我的应用程序连接每个远程数据库服务器.安装 VS2012 后,我收到尝试读取或写入受保护内存.这通常表明其他内存已损坏."在我有数据库调用的代码上.如果我尝试连接本地数据库,它连接正常.我还尝试通过 Visual Studio 2010 中的服务器资源管理器连接.它成功连接到本地源.但是当我尝试连接到远程源时,它会导致 VS2010 崩溃并在事件查看器中出现以下错误
I have a machine which has VS2010 and sql server 2005, 2008 installed. I were able to connect every remote database server from my application prior to installing VS2012. After installing VS2012 I am getting "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." on code where i have database call. If i try to connect local database it connects fine. Also what i tried is connect via server explorer in Visual studio 2010. It connects to local source successfully. But when i try to connect to remote source it crashes VS2010 and Get following error in Event viewer
Faulting application name: devenv.exe, version: 10.0.40219.1, time stamp: 0x4d5f2a73
Faulting module name: netconfig.dll, version: 1.0.0.5, time stamp: 0x50a60f11
Exception code: 0xc0000005
Fault offset: 0x0000fdac
Faulting process id: 0xb40
Faulting application start time: 0x01ceae0dd4041a18
Faulting application path: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
Faulting module path: C:\WINDOWS\system32\drivers\imonagent\netconfig.dll
Report Id: 5fec2d1f-1a01-11e3-bf8e-4c001050978f
我已阅读以下帖子并下载了实用程序,但它也没有表示我的机器有任何错误http://social.msdn.microsoft.com/Forums/vstudio/en-US/81e1b380-afe1-46ad-9c91-a588e0a5aa4b/how-to-reenable-remote-sql-server-connections-after-installing-visual-studio-2012
I have read following post and downloaded utility but it also not indicates any error in my machine http://social.msdn.microsoft.com/Forums/vstudio/en-US/81e1b380-afe1-46ad-9c91-a588e0a5aa4b/how-to-reenable-remote-sql-server-connections-after-installing-visual-studio-2012
请帮我解决这个问题问题不仅发生在我调试时,而且如果有人试图在我的机器上查看托管站点,它有一些远程数据库服务器连接
Please help me what to do with this problem Problem not only occurs while i am debugging but also if somebody trying to view hosted site in my machine which has some remote database server connection
通过从 中提到的命令提示符运行以下命令 (netsh Winsock reset) 祝你好运social.msdn.microsoft.com/Forums/vstudio/en-US/2d11b6f9-3ada-4682-b643-c721a97af4ba/cant-connect-to-database-after-installing-vs-11-pro-beta
Have a luck via running following command (netsh Winsock reset) from command prompt mentioned in social.msdn.microsoft.com/Forums/vstudio/en-US/2d11b6f9-3ada-4682-b643-c721a97af4ba/cant-connect-to-database-after-installing-vs-11-pro-beta
这篇关于安装 Visual Studio 2012 后无法连接任何远程数据库服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!