张小刀

人生苦短……

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

win7 64位安装vs2013后连接远程数据库出现下面的问题:

A first chance exception of type 'System.AccessViolationException' occurred in System.Data.dll

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

解决方案:

用管理员身份运行CMD,输入netsh winsock reset并回车(注意,必须是已管理员身份运行,这个重置LSP连接)

posted on 2014-02-28 10:18  张小刀  阅读(2487)  评论(0编辑  收藏  举报