You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

buffalo

Beginner

  • "buffalo" started this thread

Posts: 1

Location: St. Louis, MO

Occupation: web designer

  • Send private message

1

Friday, April 23rd 2010, 5:27pm

license on IIS

I am looking for help with a license issue.
I keep getting a "license error" even though I have unlimited license.
Regarding information on page, http://krpano.com/docu/iisservers/

...and then set the path to this license file with the "license" parameter:
as direct HTTP get parameter: krpano.swf?pano=krpano.xml&license=license.xml

i have a swf file name assembly.swf
and a license file renamed to license.xml.
The swf file is embedd in an htm file named index.htm.
Also using krpano_as3_interface.as

Where and how do I implement this line of code: krpano.swf?pano=krpano.xml&license=license.xml
Thanks for your help.

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Friday, April 23rd 2010, 6:36pm

Hi buffalo,

Can you give a link to see?
Perhaps you are making some kind of mistake in your files path or file names...
Try to put all your 3 files inside the same folder. For example:
your_domain.com
-- Your_Folder:
---- krpano.swf
---- krpano.xml
---- licence.xml
And try to open the URL:
your_domain.com/Your_Folder/krpano.swf?pano=krpano.xml&license=license.xml

It should work...

SAlut

VN2009

Professional

Posts: 1,334

Location: Duluth MN

  • Send private message

3

Friday, April 23rd 2010, 6:38pm

you need to add the .license MIME type to the iis server. follow the link to microsoft on the same page you linked to. dont worry about that license string until you posted it i have never seen it. I never do anything with the license file except make sure a copy of it is in the same folder as krpano.swf.

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

4

Friday, April 23rd 2010, 6:53pm

Hi VN2009 ;-) ,

Quoted

dont worry about that license string until you posted it i have never seen it.
1. add a MIME type for ".license"
.....
2. change license filename and extension
change the name of the "krpano.license" file to a other filename with an extension that the IIS servers knows.
for example, rename:
krpano.license -> license.xml
or any other name:
krpano.license -> anyname.gif

and then set the path to this license file with the "license" parameter:

as direct HTTP get parameter: krpano.swf?pano=krpano.xml&license=license.xml

or as Flash variable (SWFObject 1.5 example) so.addVariable("license","license.xml");

SAlut.

VN2009

Professional

Posts: 1,334

Location: Duluth MN

  • Send private message

5

Friday, April 23rd 2010, 9:25pm

i see disreguard my comments :)

6

Wednesday, May 19th 2010, 5:43am

RE: license on IIS

I am looking for help with a license issue.
I keep getting a "license error" even though I have unlimited license.
Regarding information on page, http://krpano.com/docu/iisservers/

...and then set the path to this license file with the "license" parameter:
as direct HTTP get parameter: krpano.swf?pano=krpano.xml&license=license.xml

i have a swf file name assembly.swf
and a license file renamed to license.xml.
The swf file is embedd in an htm file named index.htm.
Also using krpano_as3_interface.as

Where and how do I implement this line of code: krpano.swf?pano=krpano.xml&license=license.xml
Thanks for your help.




edit swfkrpano.js
"
{var c=new SWFObject(h,b,a,f,"9.0.28",
e);c.addVariable("license","krpano.gif"); c.addParam("allowFullScreen","true");c.addParam("allowScriptAccess","always");c.embed=function(d){if(c.write(d))d=new SWFkrpanoMouseWheel(c)};c.passQueryParameters=function(){var d=document.location.search||document.location.hash;if(d){d=d.substring(1).split("&");for(var j=0;j<d.length;j++){var i=d[j],k=i.indexOf("=");if(k==-1)k=i.length;var l=i.substring(0,k);i=i.substring(k+1);c.addVariable(l,i)}}};return c}else g='Adobe Flash Player 9/10 or higher needed<br/><br/><br/><a href="http://www.adobe.com/go/getflashplayer/" target="_blank">
"

first " krpano.license " -- > "krpano.gif"

second edit swfkrpano.js


add "c.addVariable("license","krpano.gif");" *sad* 对不起我的英语表达水平有限 *sad*

7

Thursday, May 20th 2010, 1:59pm

Hi,

editing the swfkrpano.js would be possible of course,
but I would recommend to put the addVariable call better in the html file,
e.g. when there is an update of the swfkrpano.js you can just overwrite the old one,

here an example (html):

Quoted

var swf = createswf("krpano.swf");
swf.addVariable("xml", "pano.xml");
swf.addVariable("license", "license.xml");
swf.embed("krpanocontent");
see also here:
http://krpano.com/docu/swfkrpanojs/

best regards,
Klaus