简体   繁体   English

如何使用开发人员计算机连接到Azure VM SQL Server Analysis Service实例

[英]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.

相关问题 SSMS-无法使用本地计算机上的SSMS连接到Azure VM上的SQL Server 2017 Express - SSMS - Unable to connect to SQL Server 2017 Express on Azure VM using SSMS on local computer 如何迁移SQL服务器实例从本地实例到Z3A580F142203677F0BC30898989898F563F535377778840CB38840ABBER? - How to migrate SQL Server Instance from Local Instance to Azure VM SQL Server Instance using dbatools powershell? 如何创建可用于使用SSMS连接到Azure SQL托管实例的Azure VM? - How to create Azure VM that could be used to connect to Azure SQL Managed Instance using SSMS? 如何创建链接服务器以连接到 azure 上的分析服务 - How to create a linked server to connect to an analysis service on azure Azure VM上的SQL Server:我的应用程序如何连接? - SQL Server on Azure VM: How can my application connect? 将Azure Web服务连接到虚拟网络中的Azure VM SQL Server数据库 - Connect Azure Web Service to Azure VM SQL Server DB in Virtual Network 无法连接到Azure VM上的SQL Server - Unable to Connect to SQL Server on a Azure VM 连接到Sql Server 2014数据库到Azure VM - Connect to Sql Server 2014 database into Azure VM 通过QlikView连接到SQL Server Analysis Service - Connect to SQL Server Analysis service through QlikView 连接到SQL Server Azure VM Power查询 - connect to sql server azure vm power query
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM