IE8 - window.open() - "No such interface supported" - javascript

When I call window.open() from JavaScript, I get the error dialog with the message "Line: xxx Error: No such interface supported"
Google leads me to websites referring as far back as IE4 saying that I need to run regsrvr32 on several DLLs.
Is there a better solution?
EDIT: exact code requested
<html><head>
<script type="text/javascript">
function windowOpen() {
window.open("http://localhost/mysite/mypage.asp", "myWindowName", "");
}
</script></head>
<body>
<button onclick="windowOpen();return false;">Hi There</button>
</body></html>
EDIT2:
The provided answers all go back to IE4/Win95 days. I mean, seriously?? Regardless, I disabled Smooth scrolling in IE8 (!!!) and also attempted to register the controls listed in the kb article mentioned by Shoban, but got an error attempting to register shdocvw.dll (The module "shdocvw.dll" was loaded but the entry-point DllRegisterServer was not found. Make sure that "shdocvw.dll" is a valid DLL or OCX file and then try again.)

First of all, try just the following and see if the problem goes away:
OPTION 1
Step 1: Fix IE
Copy and paste the following in the command prompt running as an admin, then press :
"%systemroot%\system32\regsvr32.exe" "C:\Program Files\Internet Explorer\ieproxy.dll"
If you are running 64 bit windows, try this:
"%systemroot%\system32\regsvr32.exe" "C:\Program Files> (x86)\Internet Explorer\ieproxy.dll"
OPTION 2
If the above doesn't work, try the following two steps.
Step 1: Re-register all DLLs
Open a command prompt as an admin. Type the following command:
FOR /R C:\ %G IN (*.dll) DO "%systemroot%\system32\regsvr32.exe" /s "%G"
You will probably get some error windows popping up at this point, just ignore them all and close them when the command prompt stops churning.
Step 2: Fix IE
Copy and paste the following in the command prompt running as an admin, then press :
"%systemroot%\system32\regsvr32.exe" "C:\Program Files\Internet Explorer\ieproxy.dll"
If you are running 64 bit windows, try this:
"%systemroot%\system32\regsvr32.exe" "C:\Program Files> (x86)\Internet Explorer\ieproxy.dll"
Sources:
http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/99e4ab4f-165d-4691-90dd-ab41a05d26a2
http://forums.techguy.org/all-other-software/568737-solved-internet-explorer-wont-start.html

Check if there are any toolbar installed. I had the same problem and this caused because I run fiddler http debugging proxy

On Win10 x64 with IE11 this solved my problem:
regsvr32 "C:\Windows\SysWOW64\ieproxy.dll"

Related

VS Code Terminal not running

when I go for console.log("hello world") my vs code terminal is not working unless I switch to java script debug terminal?
any one who know the solution please help
Try this ===>
1 Type node in terminal
2 console.log("Hello World")
Its pretty simple, just 2 clicks away
=> 1. Click on File
=> 2. Click on Auto Save
Option 1: Make sure that you installed Node.js After that, you need to type in Terminal window: node [whateverYourFilenameIs], click entre. //you type the word node, followed by your filename without the square brackets.
Option 2: Make sure you installed Node.js and install the VSCode extension Code Runner, restart VSCode, click on ctrl+Alt+N to run your file in terminal.
It is simple
write some code example: console.log("javascript");
ctrl +s
on terminal node and your js file name ...click enter ....and there will be no error

FreeSwitch mod installation fails

I have installed FreeSwitch on mac (OS X Yosemite 10.10.5) and I have to use javascript (mod_v8) for IVR calls. I have followed the steps for mod_v8 activation here: https://freeswitch.org/confluence/display/FREESWITCH/mod_v8
1.Uncomment languages/mod_v8 in modules.conf in your src directory (make it always build and install mod_v8)
2.Run 'make mod_v8-install' to make and install just the v8 module
3.Edit conf/autoload_configs/modules.conf.xml in your FreeSWITCHâ„¢ install directory to load mod_v8
4.In fs_cli, run "load mod_v8"*
However, I get the following error while running make mod_v8-install (Step 2) :
error on terminal
Also should I disable LUA when activating mod_v8?
This seems to be a 'info' type error being generated by the compiler.. Report the issue as a bug to FreeSWITCH?
Or try using the -i flag when compiling - https://www.gnu.org/software/make/manual/html_node/Errors.html
"Also should I disable LUA when activating mod_v8?"
No :)
Uncomment the from modules.conf.xml after recompiling. Try "reload mod_v8" command in fs_cli. I had the same issue its missing in the freeswitch document.

Deploying JS apps to Windows 8 gets resources.pri access denied error

I'm trying to run my apps, but it is suddenly getting this error. I don't know why. I haven't changed anything.
Error 3 Error : DEP0500 : The folder "C:\Users\Shane\Documents\Visual Studio 2012\Projects\App2\App2\bin\Debug\AppX" could not be deleted.
Access to the path 'resources.pri' is denied,
I'm running VS2012 as Administrator and I've removed everything from the debug directory. I can't find anything on how to get rid of this error.
Looks like this is a bug with Parallels. If you kill prl_cc.exe the files should be unlocked.
Are you sure all instances of your app, including those in the simulator are terminated?
If you are using Windows on Mac with Parallels, it seems to be a known issue and there is a workaround here:
http://forum.parallels.com/showthread.php?267785-Parallels-Control-Center-is-incorrectly-locking-my-pri-files

Failing to debug with node-inspector - what is wrong?

I have a javascript code that checks whether a point is inside a polygon. I am trying to debug it with node-inspector, following these steps:
In the first window:
PS Z:\dev> node-inspector.cmd
info - socket.io started
visit http://0.0.0.0:8080/debug?port=5858 to start debugging
In the second window:
PS Z:\dev\poc\SDR> node --debug-brk .\IsPointInside.js
debugger listening on port 5858
Now I navigate to http://localhost:8080/debug?port=5858 in my Chrome browser.
What happens is that Chrome gets stuck waiting for localhost presenting me the empty screen.
I must add that I have successfully debugged the r.js javascript optimizer using the same steps before, but now I cannot debug it as well.
according to this there seems to be an order in which the components should be started.
Its application -> debugger -> web browser.
Could be your issue.
You can also send a "debug on demand" command. Use this command:
kill -USR1 $PROCESSID

Permission Denied When Trying to use --browser in JSTestDriver on OSX 10.6

I started playing around with JSTestDriver tonight and got it to work without too many issues. I attempt use the --browser switch to have it autocapture chrome or firefox on my local system here; however, it always threw an error saying "permission denied". I attempted to run the command using sudo and still the same thing.
java -jar $JSTESTDRIVER_HOME/JsTestDriver-1.3.2.jar --port 4224 --browser /Applications/Firefox.app
I can open Firefox using the above path from Terminal so know that the path is valid.
I feel like I'm missing something simple and small. Has anyone seen this issue and know what I'm missing?
UPDATE 1:
Tried to move Firefox out of the /Applications/ directory and still same issue even running under the super user account (using sudo).
Found my issue.
While /Applications/Firefox.app is what's shown the GUI, the actual executable script for the program is in the /Applications/Firefox.app/Contents/MacOS/firefox file.
Changing the path to the deeper folder resolved the issue.

Categories