[英]How to connect to Azure VM SQL Server Analysis Service Instance using a Developer Computer
I need a way to connect to an SQL Server Analysis Service default instance on Microsoft Azure Virtual Machine from my developer computer at home. 我需要一种从家里的开发人员计算机连接到Microsoft Azure虚拟机上的SQL Server Analysis Service默认实例的方法。 I understand that i can only connect to Analysis Service using Windows Authentication and i haven't been able to figure that out.
我了解我只能使用Windows身份验证连接到Analysis Service,但我无法弄清楚这一点。 However, i managed to connect to the SQL Server Database Engine using SQL Server Authentication.
但是,我设法使用SQL Server身份验证连接到SQL Server数据库引擎。
This is how i have Azure environment is setup: 这是我设置Azure环境的方式:
To setup my connection to SQL Server Database Engine using SQL Server Authentication, i created an Endpoint in Microsoft Azure Management Portal with port 1433 for private, and a random port for public. 为了使用SQL Server身份验证设置与SQL Server数据库引擎的连接,我在Microsoft Azure管理门户中创建了一个端点,其中端口1433为专用,端口为随机。 I have done the same process for Analysis Service on port 2383 but still no luck.
我已经对端口2383上的Analysis Service执行了相同的过程,但是仍然没有运气。 Without this connection, i don't think i will be able to deploy BI Cubes.
没有这种连接,我认为我将无法部署BI Cubes。
Here is the Link to the blog that help with this. 这是与此相关的博客链接。
How can i setup my Virtual Machine so that i will be able to connect to Analysis Service using SQL Management Studio and or Visual Studio 2013? 如何设置虚拟机,以便能够使用SQL Management Studio和/或Visual Studio 2013连接到Analysis Service? Any help or suggestions will be appreciated.
任何帮助或建议,将不胜感激。
Because Analysis Services works with AD accounts, as your developer machine is not on the same domain as the VM running Analysis Services, you will need to use the runas tool with the /netonly parameter to run the applications such as Visual Studio or SQL Mgmt Studio so that you can be authenticated correctly. 由于Analysis Services使用AD帐户,因此,因为您的开发人员计算机与运行Analysis Services的VM不在同一域中,因此您需要使用具有/ netonly参数的runas工具来运行诸如Visual Studio或SQL Mgmt Studio的应用程序这样您就可以正确进行身份验证了。
When I need to do this, I create a shortcut on my desktop with the command as follows: 当我需要执行此操作时,请使用以下命令在桌面上创建快捷方式:
runas /netonly /user:mydomain\myusername "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
or 要么
runas /netonly /user:mydomain\myusername "C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Ssms.exe"
When you run the short cut you will get a command prompt that will ask you for the password for the account you are running as and then the program will open. 当您运行快捷方式时,将出现命令提示符,询问您所运行帐户的密码,然后程序将打开。
From there you can use it normally 从那里你可以正常使用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.