开发者

JavaScript not working on Windows Server 2003

I have compiled my website and tested locally and everything works fine. However, wh开发者_如何学运维en I upload my script to the host, the js files are not working on the server (Windows 2003). The error message received when executing the script is:

'window' is undefined

'navigator' is undefined

microsoft jscript runtime error

Please let me know the any testing method to check the js function in windows server.

Regards, Riyas


Turn off Internet Explorer Enhanced Security for admin users and ensure you're logged in as an admin after that:

Step 1 - Go to: Start-->Control Panel-->Add or Remove Programs-->Add/Remove Windows Components

Step 2 - Highlight (don't uncheck) Internet Explorer Enhanced Security Configuration

Step 3 - Click "Details"

Step 4 - Uncheck "For administrative groups"

Step 5 - Click OK, then close windows setup and add/remove window

Step 6 - Never use that server's browser to access the real internet again :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜