Community Forum

Javascript error

Profile Image 5 Posts 5 Karma
pgscannell posted this 01 January 2015

I've recently updated to version 5.5.0.20 so I had to change my <object> code.  Now I get this error message:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; McAfee; .NET4.0E; InfoPath.2; BRI/2)
Timestamp: Thu, 1 Jan 2015 18:20:39 UTC

Message: Invalid access to memory location.
 
Line: 86
Char: 3
Code: 0
URI: http://www.kofcri.org/HTMLShow_Labels.asp?Portrait=1&erase=E:/web/kofcriorg00/htdocs/reports/rad860E9.htm&RptTrans_Rec=586&Heading=Council 10557 Labels (2 pages)&Report_Name=reports/rad860E9.htm

 

Line 86 looks like this: factory.printing.portrait = 1;

 

Here is my object instanstiation code:

<bodyscroll

="auto">

<!-- MeadCo ScriptX Control was: ScriptX.cab#Version=6,1,431,2-->

<object

id="factory"

style="display:none"viewastextclassid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"codebase="http://www.kofcri.org/smsx.cab#Version=7,5,0,20">

</

object>

 

Thanks in advance,

Scannell

 

Profile Image 189 Posts 189 Karma
Jerry posted this 02 January 2015

Please go here:

 

http://scriptxsamples.meadroid.com/Basic/InstalledVersion/release/DOCTYPE

 

to check that you have all three fields returning as 7,5,0,2.

 

Then try this basic sample of ours:

 

http://scriptxsamples.meadroid.com/Basic/basic/release/DOCTYPE

 

Is that all OK?

 

If so, it's somethig else in your code that's throwing an error.

 

Also make VERY sure that the syntax you're using for the ScriptX object is 100% correct:

 

<!-- MeadCo ScriptX -->
<object viewastext id="factory" style="display:none"
  classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
  codebase="http://www.kofcri.org/smsx.cab#Version=7,5,0,20">
</object>

 

 

 

Post Edited 02 January 2015

Profile Image 5 Posts 5 Karma
pgscannell posted this 02 January 2015

Jerry,

This is what the site says:

MeadCo's ScriptX :: Discover installed version

The installed version of ScriptX is: 6.2.433.70

The installed version of Security Manager is: 7.5.0.20

The installed version of Print component is: 6.2.433.70

 
How do I go about updating tyhe ScriptX and Print component?  I thought I had already done it.
 
Jerry
 
Profile Image 5 Posts 5 Karma
pgscannell posted this 02 January 2015

Update.  I had to gho into control panel and remove the scriptx that way.  Then I was able tyo reinstall it so that all 3 lines now save 7.5.0.20.

Now when I run my web app, I get this error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; McAfee; .NET4.0E; InfoPath.2; BRI/2)
Timestamp: Fri, 2 Jan 2015 15:35:50 UTC


Message: Invalid or missing publishing license. Please report to Mead & Company at licensing@meadroid.com
Line: 93
Char: 3
Code: 0
URI: http://www.kofcri.org/HTMLShow_Labels.asp?Portrait=1&erase=E:/web/kofcriorg00/htdocs/reports/rad1EEAD.htm&RptTrans_Rec=590&Heading=Council 10557 Labels (2 pages)&Report_Name=reports/rad1EEAD.htm

 

Is tyhere some3thing else that I need to do?

Jerry Scannell

 

 

Profile Image 189 Posts 189 Karma
Jerry posted this 02 January 2015

 

Log on to your 'problem' PC(s) with full local computer administrator privileges:

 

 

 

+++++++++++++++++++++++++++

 

 

 

**VITAL**: this will NOT work if you don't do this, or have someone else do it for you.

 

 

 

Please do NOT proceed past this point without access to local admin privileges (i.e. someone must be logged on as a member of your PC's computer administrator user group. NOT 'domain' or 'virtual' or 'remote' or any other sort of admin, this must be *local*).

 

 

 

If you are not the administrator for your machine you will need to contact your systems administrator for their help.

 

 

 

+++++++++++++++++++++++++++

 

 

 

ONLY THEN:

 

 

 

Run this file:

 

 

 

  http://my.meadroid.com/scriptx/bits/hotfix/scriptx.msi

 

 

 

(Remember that you should right-click on the .msi file, choose 'Properties' and then on the 'General' tab click the 'UNBLOCK' button and then click 'OK' to allow the binaries to install correctly.)

 

 

 

This will install the current release of ScriptX.

 

 

 

Then clear your IE cache, navigate back to the ScriptX-enabled content you have been trying to work with and then try again.

 

 

 

****************

 

****************

 

 

 

You may still see an error, but it will be a *different* error.

 

 

 

In that case please feel free to contact me again.