Not able to execute custom javscript function

Add-in Express™ Support Service
That's what is more important than anything else

Not able to execute custom javscript function
 
ravinukala




Posts: 103
Joined: 2012-10-05
Hi Support,

While identifying the html element we inject the javascript & call NodeCount function but it is throwing below error
Javascript Call to NodeCount threw exception :Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))

Environment:
Windows server : 2008
IE version: 9
Posted 20 Nov, 2014 03:18:00 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ravi,

Obviously the function doesn't exists. What is the NodeCount function? Is it your own function?
Posted 20 Nov, 2014 03:38:48 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Issue is resolved with below setting in IE
Internet Options > Security > Custom Level > Scripting > Active Scripting
Posted 20 Nov, 2014 05:05:00 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ravi,

Thank you for the update. Probably that this setting is disabled by default in Windows Server 2008.
Posted 20 Nov, 2014 10:19:46 Top