ActiveXObject creation error “ Automation server can't create object”

前端 未结 6 1503
予麋鹿
予麋鹿 2020-12-09 10:18

I have a very simple javascript code,



        
6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-09 10:43

    Well you can not run code from notepad so that means you are opening up the page from the file system. aka c:/foo/bar/hello.html

    When you run the code from the asp.net page, you are running it from localhost. aka http://loalhost:1234/assdf.html

    Each of these run in different security zones on IE.

提交回复
热议问题