无法在Visual Studio中启用DirectQuery模式 [英] Unable to enable DirectQuery Mode in Visual Studio

查看:193
本文介绍了无法在Visual Studio中启用DirectQuery模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2017中运行了Tabular项目,DirectQuery已关闭。我正在尝试启用DirectQuery并将模型部署到AAS。不幸的是VS给我一个错误:

I've a running Tabular Project in Visual Studio 2017, DirectQuery is Off. I'm trying to enable the DirectQuery and deploy the model to AAS. Unfortunatelly VS throws me an error:

我们正在运行AAS标准S0层。因此,DirectQuery模式应该适用于我们。

We are running AAS Standard S0 Tier. So the DirectQuery Mode should work for us.

奇怪的是:我可以使用DirectQuery Off部署项目(只需部署元数据,无需处理)。然后我打开SSMS并连接到我的AAS数据库。从那里我可以将默认模式从导入更改为DirectQuery,它似乎有效,因为
数据库未处理,我可以浏览数据。

The strange part is: I can deploy the project with DirectQuery Off (just deploy metadata, without processing). Then I open SSMS and connect to my AAS Database. From there I can change the Default Mode from Import to DirectQuery, and it seems to work, because Database was not processed and I can browse the data.

任何想法为什么我不能直接在Visual Studio中更改模式?

Any idea why I cannot change the mode directly in Visual Studio?

推荐答案

直接查询仅受企业版支持(请参阅  https://docs.microsoft.com/en-us/sql/analysis -services / analysis-services-by-the-editions-of-sql-server-2016?view = sql-server-2017
这个错误表明你很有可能运行标准版。

如果你想使用Direct Query,你需要升级到企业。

希望这会有所帮助。


这篇关于无法在Visual Studio中启用DirectQuery模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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