Security warning when running SQL Server query within an HTA

H

Highlander

Hello all.

I'm using ADO to connect to a SQL Server database and run a T-SQL
query.

The script template I'm using can be found here:
http://groups.google.com/group/microsoft.public.scripting.vbscript/msg/687a21f574644956?dmode=source

When I run a VBScript, I get no popups. When I run an HTA, I get the
following popup:

"This page is accessing a data source on another domain. Do you want to
allow this?" [Yes] [No]

How can I turn off this warning within the script - without having to
go into the Tools...Internet Options...Security...Trusted Sites menu?

Any help would be greatly appreciated. Thanks!

- Dave
 
T

Tsakalidis G. Evangelos

Check please following IE security details :
Internet Explorer Properties,
Security,
Local Intranet,
Custom Level,
Miscellaneus,
Access data sources across domains,
Enable.

Tsakalidis G. Evangelos
Serres / Greece
 
H

Highlander

Hello all.

I'm using ADO to connect to a SQL Server database and run a T-SQL
query.

The script template I'm using can be found here:
http://groups.google.com/group/microsoft.public.scripting.vbscript/msg/687a21f574644956?dmode=source

When I run a VBScript, I get no popups. When I run an HTA, I get the
following popup:

"This page is accessing a data source on another domain. Do you want to
allow this?" [Yes] [No]

How can I turn off this warning within the script - without having to
go into the Tools...Internet Options...Security...Trusted Sites menu?

Any help would be greatly appreciated. Thanks!

- Dave
Check please following IE security details :
Internet Explorer Properties,
Security,
Local Intranet,
Custom Level,
Miscellaneus,
Access data sources across domains,
Enable.

Tsakalidis G. Evangelos
Serres / Greece

Tsakalidis, that did the trick!

Efharisto poli!

Oompah!
 
T

Tsakalidis G. Evangelos

Highlander said:
Hello all.

I'm using ADO to connect to a SQL Server database and run a T-SQL
query.

The script template I'm using can be found here:
http://groups.google.com/group/microsoft.public.scripting.vbscript/msg/687a21f574644956?dmode=source

When I run a VBScript, I get no popups. When I run an HTA, I get the
following popup:

"This page is accessing a data source on another domain. Do you want to
allow this?" [Yes] [No]

How can I turn off this warning within the script - without having to
go into the Tools...Internet Options...Security...Trusted Sites menu?

Any help would be greatly appreciated. Thanks!

- Dave
Check please following IE security details :
Internet Explorer Properties,
Security,
Local Intranet,
Custom Level,
Miscellaneus,
Access data sources across domains,
Enable.

Tsakalidis G. Evangelos
Serres / Greece

Tsakalidis, that did the trick!

Efharisto poli!

Oompah!
Well Come "Highlander"

I Thank you for "Efharisto poli!"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top