Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, October 25, 2015 5:11 PM
I am running Microsoft Edge on Windows 10.
I want to learn using the SQL 2014 DevTraining Kit.
When I run the program (STARTHERE.CMD), which launches a local web page in a folder on my machine
(file:///C:/SQL%202014%20Dev%20Training%20Kit/microsoft-sql-server.htm)
I receive a Network error: "To run this page in ??, close ?? then create a shortcut of ?? with "--allow-file-access-from-files" switch and then browse to the page."
Question: How / Where do I set the "allow-file-access-from-files" configuration option in Microsoft Edge?
SOTATS, Inc.
All replies (3)
Wednesday, October 28, 2015 6:05 AM âś…Answered
Hi UIysses,
Please take a try with the command below under CMD with admin rights:
C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe --allow-file-access-from-files file:///C:/SQL%202014%20Dev%20Training%20Kit/microsoft-sql-server.htm
Then check if any error would pop out.
Regards
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
Sunday, October 25, 2015 7:25 PM
You'd open an command prompt and type:
C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe --allow-file-access-from-files
Sunday, October 25, 2015 9:55 PM
Thanks but your suggestion DID NOT WORK.
First I followed your instructions exactly ... open command prompt and type: ... did that ... then I launched the SQL Training Kit shortcut/link that is supposed to open the local web page ... I received the same error
Next I changed the Shortcut Target from ("C:\SQL 2014 Dev Training Kit\microsoft-sql-server.html") to (C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe --allow-file-access-from-files) ... still the same error.
I think I am supposed to update the Shortcut Target but I cannot find a syntax that works. I even tried
(C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe --allow-file-access-from-files "C:\SQL 2014 Dev Training Kit\microsoft-sql-server.html") ... Same error
SOTATS, Inc.