Skip to content

An unhandled exception occurred. System.Exception: Process has terminated #78

@janmechtel

Description

@janmechtel

First of, we are ecstatic to see this released! Unfortunately I can't get it to run. I hope it's fine to post here.

I'm trying to start out by extracting from a .pbix fiel

.\pbi-tools.exe extract ".\test.pbix"

An unhandled exception occurred. System.Exception: Process has terminated

An unhandled exception occurred.
System.Exception: Process has terminated
   at PbiTools.PowerBI.AnalysisServicesServer.Start() in X:\pbi-tools\pbi-tools-cli\src\PBI-Tools\PowerBI\AnalysisServicesServer.cs:line 145
   at PbiTools.PowerBI.DataModelConverter.LaunchTabularServerAndExecuteCallback[T](Func`2 callback) in X:\pbi-tools\pbi-tools-cli\src\PBI-Tools\PowerBI\DataModelConverter.cs:line 82
   at PbiTools.Model.PbixModel.FromReader(PbixReader reader, String targetFolder, Nullable`1 portNumber) in X:\pbi-tools\pbi-tools-cli\src\PBI-Tools\Model\PbixModel.cs:line 168
   at PbiTools.Cli.CmdLineActions.Extract(String pbixPath, Int32 pbiPort, String extractFolder, ExtractActionCompatibilityMode mode, ModelSerializationMode modelSerialization, MashupSerializationMode mashupSerialization) in X:\pbi-tools\pbi-tools-cli\src\PBI-Tools\Cli\Extract.cs:line 63
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at PowerArgs.ArgAction.Invoke()
   at PbiTools.Program.Main(String[] args) in X:\pbi-tools\pbi-tools-cli\src\PBI-Tools\Program.cs:line 82
PS C:\Users\JanMechtel\Downloads\pbi-tools.1.0.0-beta.8> .\pbi-tools.exe extract ".\test.pbix"

I've set the loglevel to verbose, but didn't spot anything more useful.

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions