coffeemanuk
Programmer
I'm getting this error:
This page is accessing a data source on another domain. Do you want to allow this?
(See the code attached) The issue is that the database, and the webserver are both on the same server hence I shouldn't be, 'theoretically', getting the 'another domain' error?
If I add the server name to my trusted sites list in IE the error vanishes, but I don't want to have to tell everyone who visits the page to set this... What can I do??
<START CODE>
...
<!-- OWC Data Source Component for getting at the data -->
<object id=ChartSpace1 classid=CLSID:0002E500-0000-0000-C000-000000000046 style="width:100%;height:350"></object>
<object id=ADOConnection1 classid=CLSID:00000514-0000-0010-8000-00AA006D2EA4></object>
<script language=vbs>
Sub Window_OnLoad()
Dim rs, categories, values, categories2, values2
categories = ""
values = ""
' Open the connection and execute the query.
ADOConnection1.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=S:\\Data\\SMATS_V1.3.mdb;"
Set rs = ADOConnection1.Execute("SELECT * FROM View_Test_Chart"
...
<END CODE>
This page is accessing a data source on another domain. Do you want to allow this?
(See the code attached) The issue is that the database, and the webserver are both on the same server hence I shouldn't be, 'theoretically', getting the 'another domain' error?
If I add the server name to my trusted sites list in IE the error vanishes, but I don't want to have to tell everyone who visits the page to set this... What can I do??
<START CODE>
...
<!-- OWC Data Source Component for getting at the data -->
<object id=ChartSpace1 classid=CLSID:0002E500-0000-0000-C000-000000000046 style="width:100%;height:350"></object>
<object id=ADOConnection1 classid=CLSID:00000514-0000-0010-8000-00AA006D2EA4></object>
<script language=vbs>
Sub Window_OnLoad()
Dim rs, categories, values, categories2, values2
categories = ""
values = ""
' Open the connection and execute the query.
ADOConnection1.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=S:\\Data\\SMATS_V1.3.mdb;"
Set rs = ADOConnection1.Execute("SELECT * FROM View_Test_Chart"
...
<END CODE>