Mathematica Enterprise CDF generation: how to make it work

I’m doing my first CDF with Mathematica Enterprise, for it to be used with plain Player (not the Pro version).

I wanted to save and load data files.

Here’s an example:

Tooltip[Button["save",
  fileChosen = SystemDialogInput["FileSave", ".m"];
  If[fileChosen =!= $Canceled,
   TimeConstrained[Put["abc", fileChosen], 10]],
  Method -> "Queued"], "saves simulation to a file"]

But it doesn’t work in plain Player. Shouldn’t it work?

What are the restrictions?

I assume by “plaing player” you mean the CDFPlayer rather than Mathematica Player Pro.
Take a look at this table to see if it answers your question. I don’t currently have an enterprise version installed so I can’t test your code.
You may want to reprogram your code to use Export rather than Put to see if it works…
--David

According to http://www.wolfram.com/player-pro/how-player-pro-compares.html,
if you are creating the special Enterprise CDF files, the code should be able to Import or Export data.
Ordinary CDF files in CDF Player cannot.

When I use:

CDFDeploy[ "test.cdf", nb, "Method" -> "Standalone", "Target" -> "PlayerPro"]

It returns $Failed

But the file is correctly created when I remove the Target, but it doesn’t have the entrepriseCDF capacities.

Since I’m sure that I’m using an Enterprise license, what is the problem? Is there a test that I could do, to check if Enterprise functionalities are activated?

Concerning the Export method, I think I have tested all import and export functions that exist.

Does “Target” → “PlayerPro” work for other examples? If not, it is possible that your Enterprise licensewas generated incorrectly. In previous work where I had to make use of an Enterprise license, the licence was generated incorrectly and yielded $Failed when attempting to do an Enterprise CDFDeploy. So, if this is the case, then I’d suggest getting in touch with WRI support.

“Target” → “PlayerPro” is supposed to work.

Definitely a job for Technical Support (enterprise-support@wolfram.com).
When you write, include the “mathpass” file. (Location is given by evaluating
$PasswordFile in Mathematica.)

@David

No…

Probably it is a problem with the license activation…

It was indeed a problem of incorrect activation of the license.

So you are in the CDF Enterprise team now! Welcome, let’s exchange some ideas.