执行批处理时发生错误.错误消息是:找不到方法:'System.String Microsoft.SqlServer.Management.Smo.Util.BytesToHexString(Byte [],Int32)'. [英] An error occurred while executing batch. Error message is: Method not found: 'System.String Microsoft.SqlServer.Management.Smo.Util.BytesToHexString(Byte[], Int32)'.

查看:241
本文介绍了执行批处理时发生错误.错误消息是:找不到方法:'System.String Microsoft.SqlServer.Management.Smo.Util.BytesToHexString(Byte [],Int32)'.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

不确定该在哪里发布此问题,但是我将从这里开始!

Not sure where I should post this question, but I will start here!

我正在使用集成了Visual Studio 2012 Shell的客户进行工作.我正在使用服务器对象资源管理器连接到我们的APS.

I am working at a customer using Visual Studio 2012 Shell integrated. I am using the server object explorer to connect to our APS.

我对服务器具有完全访问权限,并且您可以看到我已经安装了IS,SSDT等.当我尝试在ANY数据库上执行SELECT语句时,也尝试例如执行以下操作时,出现此错误SELECT 1或GETDATE().

I have full access to the server and as you can see I have IS, SSDT etc all installed. I am getting this error when I try to do a SELECT statement on ANY database, but also when I try e.g. SELECT 1 or GETDATE().

但是我可以连接并查看PowerBi中的数据...我还可以拖放,创建表或视图之类的对象.

I can however connect and view the data from PowerBi... I can also DROP, CREATE objects like tables or views.

我已经用Google搜索了一下,但是除了重新启动服务器外没有任何成功或任何想法.不幸的是,这不是一个容易的选择,而我的同事们没有相同的问题.下面是我的VS设置图片.

I have googled a bit but without success or any idea except for rebooting the server. Unfortunately that is not an easy option and my colleagues do not have the same issue. Below a picture of my VS settings.

任何想法或暗示都会很棒!

Any idea or hint would be great! 

是否与VS 2012 UPDATE x安装有关?

Could it be related to a VS 2012 UPDATE x installation? Could it be due to me having also community 2017 installed which night have some more recent components blocking something in VS2012?

推荐答案

Hello,

Visual Studio 2012 is old. Azure has evolved the last 6 years in such a way that VS 2012 may not be able to properly use Azure features thus crash. Please update VS 2012.


The component shown on the error message is part of SQL Server Management Studio which you can download from the following URL:

<跨样式="border:currentColor"> https://docs.microsoft.com/zh-CN/sql/ssms/download-sql-server-management-studio-ssms?view=sql -server-2017

https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017


Hope this helps.


Regards,

SQLCoffee.com


Alberto Morillo
SQLCoffee.com


这篇关于执行批处理时发生错误.错误消息是:找不到方法:'System.String Microsoft.SqlServer.Management.Smo.Util.BytesToHexString(Byte [],Int32)'.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆