JavaScript Error: No Such Interface Supported Solved

For everyone who has had problems with this JavaScript issue, I've found a solution!

January 19th, 2007 at 9:00am — Comments: (20) — By: Jonathan Danylko — Tags: JavaScript

If you've used JavaScript with Internet Explorer extensively, you know that there is a nasty little dialog box that shows its ugly head once in a while called "No Such Interface Supported" (NSIS).

Really informative error message, isn't it?

I was attempting to open a window using the window.open() method in JavaScript. Every time it tried to use the window.open() method, it displayed the NSIS error message. Grrrr.

Well, after ripping more hair out of my head, I came across a simple solution to the problem. The site isn't anything elaborate, but it solved my "No Such Interface Supported" problem completely.

Register two DLL's using RegSvr32: actxprxy.dll and shdocvw.dll. After you register those two DLL's, reboot your computer and try it again. The message should disappear.

Those of you who are getting this same error message, I hope the search engines pick this up and announce it wildly. It's an easy fix to a not-so-common problem.

 

Picture of Jonathan Danylko
  • Jonathan Danylko Twitter Account LinkedIn Account Facebook Account

Jonathan Danylko is a freelance web architect and avid programmer who has been programming for over 20 years. He has developed various systems in numerous industries including e-commerce, biotechnology, real estate, health, insurance, and utility companies.

When asked what he likes doing in his spare time, he answers..."programming."

Related Posts

20 Comments

  1. whalehead
    January 29th, 2007 at 5:48am
    I guess I don't see how this is a real fix for a developer creating sites for the general public.  Sure, I can fix the issue on my local machine, but if I am developing sites for the public I cannot be sure they have these DLLs registered, nor can I realistically recommend they do it.
  2. January 29th, 2007 at 7:24am
    Very true, Jim.

    I wouldn't recommend this option for public web sites, either.

    I ran across this problem when I was developing an intranet application and I kept receiving this error locally, but not on the remote machine. The other developers were able to debug and run on their local machines without receiving this error. Everyone except me.

    Thanks for the comment and sorry for the misunderstanding. :-)
  3. January 29th, 2007 at 7:44am
    Jonathan,

    Thanks very much for the explanation of your scenario.  I can see the validity of the solution in the situation you describe.

    Jim
  4. January 29th, 2007 at 12:45pm
    An easier fix for the local machine is to install and use Firefox.  It solves more problems too.

    I've gone one step further, and installed Linux.  Then, Firefox is already installed, and even more problems are solved.  For one thing, I don't need a firewall.  For another, I don't need to constantly download virus definitions.
  5. Paul
    February 21st, 2008 at 8:28pm
    Thanks - saved my butt after our company rolled out Microsoft Communicator to our machines and broke the javascript in our apps.
  6. Dennis
    February 26th, 2008 at 9:37am
    I tried your fix and still have the same problem. I will try Firefox next as I am loosing my hair in clumps. For some reason I cannot explain I am getting no communication between Java and Windows.
  7. Philip Buendia
    May 23rd, 2008 at 1:25pm
    Thanks for the fix.
  8. Dr
    November 12th, 2008 at 6:18pm
    Worked for me, Thanks a bunch. Wasted 2 hrs on this stupid problem.
  9. Claude
    January 18th, 2009 at 5:16am
    I get the error when trying to download a pdf file from Logitech site by right clicking on file and selecting Save Target as... which is what the sites says to do. Could this be a similar issues as mentioned in your article? I have tried to register the 2 dlls and I get an error for each dll. Both about DllRegisterServer but they say different things. I have kept the screenprint of the messages. Any ideas?
  10. June 16th, 2009 at 4:59am
    Thanx a lot for solving my problem.
    You rock!
  11. satej
    July 8th, 2009 at 9:26pm
    Awesome fix dude.
  12. March 28th, 2010 at 9:12pm
    OK it appears this is an old IE problem however i was having the same problem with IE8

    Here is the solution
    http://support.microsoft.com/kb/q180176/
  13. March 29th, 2010 at 7:12am
    Awesome news, Brian.

    Thanks for the link.
  14. Johnathan Bodily
    May 7th, 2010 at 5:31pm
    IEfaq has a solution that works. Solved my issue and the MS tech I spoke with wasted an hour on my box trying to resolve the issue and couldn't. So mad props to these guys for finding a solution that works!

    http://iefaq.info/index.php?action=artikel&cat=42&id=133&artlang=en
  15. durgesh
    October 8th, 2010 at 7:46am
    I have just uninstalled IE8 from control panel- windows components and reinstalled and the issue got resolved.

    I have windows 7 as OS
  16. October 20th, 2010 at 2:14pm
    actxprxy.dll and shdocvw.dll please this dll files send me on my mail id .

    becouse this erroe is come to internet explorer 7
    (ni sutch interface suported)
  17. Raghu
    November 12th, 2010 at 11:06pm
    It works :) Thx a million......
  18. November 23rd, 2010 at 1:35pm
    it is not good for windows 7 64 bits
  19. Ed
    January 13th, 2011 at 11:43pm
    The problem is that this error occurs on client machines at various points when using Javascript.

    Why, oh why, cannot IE start to conform and work properly?!
  20. Artis Pauzers
    January 21st, 2012 at 4:39pm
    omg ! U saved me ! Thx thx thx!!1!!!!1

Post a comment