window.open("\\\\localhost\\");
is not working on ie8 on 64bit win7. ie says "make sure the path or internet address is correct". it's working on same verson of ie8 on 32 bit. any idea? or any different way to access a path like \\localhost\
using internet explorer?
i'm trying to open \\localhost
like a file path. when you write \\localhost
on ie, it opens "Network > localhost"
In error details, ie says "Me开发者_JS百科ssage: Access is denied.".
It may related to security settings of windows. Any idea which settings of windows might cause that?
If you are running httpd in your host http://localhost/... must work. Otherwise, better use file:///... to access local file. I don't know how come \\localhost\... did work for your 32bit machine. Maybe, IE 8 script engine did interpret that as a simple file path, and then tried to access the path from local SMB server. Did you enabled windows file sharing as you did in 32bit machine? Anyway I do not believe that URL scheme is compatible with other browsers than IE.
It's worked when I add the site to "Trusted Sites" on ie.
Localhost requires a port number. Open the target site in the browser and get the map path. It should follow the syntax below;
port #/View Name /.cshtml file
window.open('http://localhost:****/SomeViewName/Some.cshtmlfile', '_blank' + ***.start);
精彩评论