简体   繁体   English

Tableau-在批处理文件中运行时出现内部服务器错误

[英]Tableau - Internal server error when running in batch file

I am trying to automate tableau downloading and publishing using windows batch file(.bat). 我正在尝试使用Windows批处理文件(.bat)自动进行Tableau下载和发布。

The login command which runs perfectly when executed on command line and it creates exception when included as a .bat file. 当在命令行上执行时,login命令可以完美运行,当包含为.bat文件时,它将创建异常。

tabcmd login -s https://mytableauserver -u "myuser" -p mypassword

which returns with exception as follows 异常返回如下

===== Creating new session
=====     Server:   https://mytableauserver
=====     Username: myuser
===== Connecting to the server...
  *** Internal server error
PersistenceException

When executed on command line returns 在命令行返回时执行

===== Creating new session
=====     Server:   https://mytableauserver
=====     Username: myuser
===== Connecting to the server...
===== Signing in...
===== Succeeded

Can you embed credentials in the workbooks you are publishing to tableau server? 您可以在要发布到Tableau Server的工作簿中嵌入凭据吗? You would do this in "Scheduling and Authentication" when publishing the first copy to the server. 将第一个副本发布到服务器时,可以在“计划和身份验证”中执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM