Posted on 2009-07-01
code i have -
var adoStream = new ActiveXObject("ADODB.Stream");
//adoStream.Mode = 1; // read only , 3 read write
adoStream.Type = 1; // adTypeBinary
adoStream.LoadFromFile(filename); <--- THIS IS WHERE THE ERROR
Load from file does not work
The remote server is in the Intranet Zone (added through security
settings), and "Access data sources across domains" is set to Enable in
Miscellaneous Security Settings.
I have also added that intranet website to trusted sites...