Article ID: 934364 - Last Review: November 22, 2007 - Revision: 1.2 You may receive an "Access is denied" error message when you try to access a Web page that contains a script in Internet Explorer 6
On This PageSYMPTOMSConsider the following scenario:
Line: Line_Number Char: Character Number Error: Access is denied Code: 0 URL: file:/// URLPath/Filename CAUSEThis problem occurs when you try to access a Web page from the local file system, and the local file system contains the event.KeyCode property in the script. This is a security change in Internet Explorer 6 on Windows XP with SP2 and on Windows Server 2003 with SP1. You can no longer access the event.keyCode property by using the SHIFT key or the CTRL key on Web pages that are loaded from the local disk. RESOLUTIONTo resolve this problem, change the code that assigns the event.keyCode property so that it does not change the value. The change in the code lets you use the SHIFT key or the CTRL key to load pages from the local disk Alternatively, you can host the Web pages on a Web server. This makes sure that the event.keyCode property in the script runs correctly. STATUS This behavior is by design. MORE INFORMATIONSteps to reproduce the problem
REFERENCESFor more information about the keyCode property, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/ms533927.aspx
(http://msdn2.microsoft.com/en-us/library/ms533927.aspx)
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top