Community Forum

Getting "Invalid or missing publishing license" on localhost

Profile Image 4 Posts 4 Karma
tomasforde posted this 24 October 2013

I am trying to evaluate the printer control functionality, but I am getting the following error when calling the MeadCo.ScriptX.Printing.DefaultPrinter() method, even though the url is local (i.e. http://localhost:17912/) .

I was under the impression that this functionality is allowed unlicensed on localhost (see http://scriptx.meadroid.com/download.aspx). is this correct?

I am currently using version 6.5.439.50 .

Profile Image 189 Posts 189 Karma
Jerry posted this 24 October 2013

Hi

 

If you want to work with the 'free' (i.e. unlicensed) subset as here:

 

http://scriptx.meadroid.com/license-pricing/free-deployment.aspx

 

then you have a 'basic' subset of functions available to you.

 

If you try to use a licensed function in 'free' use we'll throw the error you have seen.

 

Our 'eval' license

 

  http://scriptx.meadroid.com/download.aspx

 

validates licensed content served from /localhost/ and file://,  but that's not available for *free*use ... it's evaulation only, and that license can't be deployed in 'real life'.

Profile Image 189 Posts 189 Karma
Jerry posted this 24 October 2013

One more

 

>> I am currently using version 6.5.439.50  <<

 

Why?

Profile Image 4 Posts 4 Karma
tomasforde posted this 25 October 2013

Thanks for your reply, but I'm still alittle confused.

We currently use the free functionality for printing. This is live and we are very happy with how this works.

For our next version, we would like to monitor the printer status, and sent to our centralised server, and this what we wanted to evaulate the printer control functionality for. I was under the impression that I could evaluate the printer control functionality on localhost without a license to see if it met with our requirements.

My Questions are:

1 - Can I evaluate the printer control functionality without a license on localhost?

2 -  Can I evaluate the printer control functionality, and use the free print functionality, without a license on localhost?

3 - When do I need a license to use the printer control functionality?

Profile Image 189 Posts 189 Karma
Jerry posted this 25 October 2013

Hi

 

Answers are NO, NO and ALWAYS

 

Please go here

 

  http://scriptx.meadroid.com/download.aspx

 

and read the pane titled "Evaluate ScriptX"

 

Profile Image 4 Posts 4 Karma
tomasforde posted this 25 October 2013

Hi, Thanks again for your reply,

 

I think my problem is that my read on the following paragraph on http://scriptx.meadroid.com/download.aspx is incorrect:

 

ScriptX Client can be fully tested with a free evaluation license, on content served from the local file system (file://, My Computer Security Zone only) or local website (http://localhost/). This allows you to fully evaluate and test ScriptX, including all the licensed features, before purchasing a publishing license

 

Going by this sentence, and your reply, I am getting the "invalid or missing publishing license" error because i am not using the free evaluation license. Is this correct? If it is correct, how do I get a free evaluation license to evaluate the printer control functionality?

 

 

 

 

Post Edited 25 October 2013

Profile Image 189 Posts 189 Karma
Jerry posted this 25 October 2013

>> If it is correct, how do I get a free evaluation license to evaluate the printer control functionality? <<

 

Already answered above.

Profile Image 4 Posts 4 Karma
tomasforde posted this 25 October 2013

So the license is hosted on your servers and can be used by adding the following object in the HTML

 

<object id="secmgr" viewastext style="display:none"
classid="clsid:5445be81-b796-11d2-b931-002018654e2e"
codebase="http://[your_path]/smsx.cab#Version=7,3,0,22">
<param name="GUID" value="{F4B523B9-4CB0-4D08-ACA3-85135CA02678}">
<param name="Path" value="http://www.meadroid.com/scriptx/sxlic.mlf">
<param name="Revision" value="0">
</object>
Profile Image 189 Posts 189 Karma
Jerry posted this 25 October 2013

>> So the license is hosted on your servers and can be used by adding the following object in the HTML <<

 

You're getting there.

 

Remember to download smsx.cab and change this line to your own  server:

 

codebase="http://[your_path]/smsx.cab#Version=7,3,0,22">

 

Right now [your_path] is a placeholder which needs tro be changed to your own location.

 

Please work through this now before asking another question. Thanks.