473,396 Members | 2,121 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,396 software developers and data experts.

Data access pages: " this page contains both secure/non secure items"

374 256MB
Hi all,


I have recently uploaded my DAP on to our companies intranet to test how it is working. Prior to the page loading I keep getting the windows security alert about "this page contains both secure and none secure items" and it asks me to select whether I wish to load the none secure items.

When I click No, so the none secure items do not load the page works just as good as it would if I clicked yes.

So how do I go about supressing this message or finding the root cause? I dont see why it should happen if the form runs as normal regardless to the answer.
Jun 22 '10 #1

✓ answered by beacon

Do you have any VBScript or Javascript behind your DAP? It's possible that the code you've written has presented a potential security issue.

Every time I open my DAP, I get the message, "This website uses a data provider that may be unsafe. If you trust the website, click Ok, otherwise click Cancel" and I've had to deal with this the entire time that I've used the DAP because I couldn't find any documentation that would resolve the error.

3 2176
beacon
579 512MB
Do you have any VBScript or Javascript behind your DAP? It's possible that the code you've written has presented a potential security issue.

Every time I open my DAP, I get the message, "This website uses a data provider that may be unsafe. If you trust the website, click Ok, otherwise click Cancel" and I've had to deal with this the entire time that I've used the DAP because I couldn't find any documentation that would resolve the error.
Jun 22 '10 #2
munkee
374 256MB
Hi again beacon,

I use vbscript to bring up a msgbox which asks whether the user wants to make another entry or close the window so I'm guessing this is the root cause.

I expect this can go down as being one of the disadvantages to using the page although like I said the effect of saying yes/no seems to be none existant.
Jun 22 '10 #3
beacon
579 512MB
It's also possible that your internet/intranet security options are set higher than is allowable for VBScript in a client-side application.

If you check out your other post, I gave some more tips about setting up your DAP using the LogNavNew button. This will help you save the data and prevent data from saving if the user navigates away from the page, plus it will throw fairly easy to read error messages without having to add too many user-defined message boxes.

I got a little bit of help from this site back when I was creating my DAP, so you might want to go back and browse through my old posts. You may find some good info that I've long since forgotten.
Jun 22 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Jack MacRank | last post by:
Hello, I'm coding a webform application in C# (ASP.NET 1.1 SP1 with VS.NET 2003 Pro on WinXP SP2 using IIS 5.1). I created a seperate "data" class to house all the MySQL connection and sql...
2
by: Fabian | last post by:
Hi, I work with asp.net 2.0 and I have a intermittent error, only happens a few times a day. In the page I evaluate a Query String and then I get data form a database. The code snipped: ...
9
by: ugurceng | last post by:
Hi , I wrote a project with .NET 2003 When I run the project on my local machine (http://localhost/Proje1/default.aspx) there is no problem ,but when I try to run it from any machine on my LAN ...
2
by: Steve | last post by:
I get a "Could Not Find Installable ISAM" error on my objConn.open() statement. I suspect my connection string is bad. What I am trying to do is write to an Excel file on my local computer from a...
1
by: R.A.M. | last post by:
Hello, I have written an .aspx page which calls Calendar.aspx page to select birth date which should be assign to some text box control on first page. Here's the code of first page: Birthdate:...
4
by: soren625 | last post by:
What I am trying to do is grab a little snippet of data from a remote page based on user input in a form. Take a look at this page: http://www.qrz.com/kb2gsd What I want to do is: when a user...
1
by: booniraj | last post by:
Hello, i wanted to disply preload on dtml page.. can you help me in this...? cheers Rajeev
3
by: Aaron | last post by:
I'm trying to parse a table on a webpage to pull down some data I need. The page is based off of information entered into a form. when you submit the data from the form it displays a...
1
by: Fresno Bob | last post by:
Hi I'm creating a data access layer in which each object maps onto a database table. I will also be creating basic methods that return the object by primaryid and perform insert and update...
1
mikek12004
by: mikek12004 | last post by:
I have recently put https on a page with certificate and everything but when I type https://.. in IE I get the message "this page contains both secure and nonsecure items" why? What is the nonsecure...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.