473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Security warning when running SQL Server query within an HTA

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/micro...6?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

Dec 19 '06 #1
3 7615
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
"Highlander" <tr******@msn.comwrote in message
news:11**********************@f1g2000cwa.googlegro ups.com...
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/micro...6?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

Dec 20 '06 #2
"Highlander" <tr******@msn.comwrote in message
news:11**********************@f1g2000cwa.googlegro ups.com...
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/micro...6?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
Tsakalidis G. Evangelos wrote:
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!

Dec 20 '06 #3

"Highlander" <tr******@msn.comwrote in message
news:11**********************@t46g2000cwa.googlegr oups.com...
>
>"Highlander" <tr******@msn.comwrote in message
news:11**********************@f1g2000cwa.googlegr oups.com...
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/micro...6?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

Tsakalidis G. Evangelos wrote:
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!"
Dec 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company...
3
by: gregory.sharrow | last post by:
I need to secure a datawarehouse table at the row level based on 1 to many keys on that table. A user should only see the rows they have access to. I need to be able to figure out which rows they...
2
by: Freeserve | last post by:
Not sure whether this is the right group, but I can't find anything in the ..NET groups and my apologies if this has already been covered or is considered "off subject". I am looking at using an...
5
by: David W. Fenton | last post by:
I am posting this to the newsgroup because I wasted some time on Friday troubleshooting a problem of my own making. Other people might benefit from hearing about it. I'm working on the final...
9
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using...
29
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
3
by: Velvet | last post by:
I ran FxCop on one of the components for my web site and the security rules what me to add " tags like the ones listed below: This breaks my ASP.NET application. So my question is,...
2
by: Kathy | last post by:
One of my customers is running an Access 2003 application. They have the Macro Security Level set to Low. When the .mde app is executed directly from the C: drive on their server, they get into...
7
by: mrmoosehead | last post by:
OK. I am trying to embed a control in a webpage that will allow local access to the TAPI system to make and query phone calls. In a nutshell. Anyway, I am aware that there are many security...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.