Secure page with Insecure Elements

G

Guest

We are having a small problem with a couple of reports we developed for a
client website.

On two of the reports, sometimes (most of the time) we receive a warning
message before the output of the report is presented in the browser. The
warning message says "This page contains both secure and non-secure items.
Do you want to display the non-secure items Yes, No, Cancel)".

The site was developed using ASP.NET, VB.NET, and Crystal Reports which
displays the report output using a PDF plug-in in the browser. In general,
the VB.NET code creates a data-set containing the report data. Once the
data-set is created, Crystal reports is called and the data-set is passed
into Crystal. The report output is then displayed as a PDF in the browser.

A similar approach is used for all seven reports on the site. However, only
two of these reports are giving us this problem. We looked through
everything and it seems that all content being displayed is secure. Also, it
seems that a consistent approach is used for all seven reports. One
observation that could be contributing to the problem is: Crystal has the
ability to display a page to the user with text on it while the report is
being created. We are using this page to let user's know that the report may
take a few minutes to run before the output is displayed. It seems that
Crystal will continue to display this page over and over as it checks to see
if the report is complete. The reports that are giving us a problem run very
fast. It seems that we get this browser security warning possibly when the
report is already complete before the informational page is displayed. So,
in this case, we get the browser security warning message, we say it is o.k.
to display, then we immediately see the output of the report never seeing
the informational page.

Any ideas of what to look at or a way to trace the problem would be greatly appreciated, as we are currently dumbfounded with this problem.

Thanks!
-Vince Mele
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

If the report is slapped out in HTTP, instead of HTTS, you will get the
warning. Make sure the link created is HTTPS. Not sure how to do this in
Crystal.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
Vince Mele said:
We are having a small problem with a couple of reports we developed for a
client website.

On two of the reports, sometimes (most of the time) we receive a warning
message before the output of the report is presented in the browser. The
warning message says "This page contains both secure and non-secure items.
Do you want to display the non-secure items Yes, No, Cancel)".

The site was developed using ASP.NET, VB.NET, and Crystal Reports which
displays the report output using a PDF plug-in in the browser. In general,
the VB.NET code creates a data-set containing the report data. Once the
data-set is created, Crystal reports is called and the data-set is passed
into Crystal. The report output is then displayed as a PDF in the browser.

A similar approach is used for all seven reports on the site. However, only
two of these reports are giving us this problem. We looked through
everything and it seems that all content being displayed is secure. Also, it
seems that a consistent approach is used for all seven reports. One
observation that could be contributing to the problem is: Crystal has the
ability to display a page to the user with text on it while the report is
being created. We are using this page to let user's know that the report may
take a few minutes to run before the output is displayed. It seems that
Crystal will continue to display this page over and over as it checks to see
if the report is complete. The reports that are giving us a problem run very
fast. It seems that we get this browser security warning possibly when the
report is already complete before the informational page is displayed. So,
in this case, we get the browser security warning message, we say it is o.k.
to display, then we immediately see the output of the report never seeing
the informational page.

Any ideas of what to look at or a way to trace the problem would be
greatly appreciated, as we are currently dumbfounded with this problem.
 
J

Joe Fallon

I just had this problem with the message when I tested SSL.
Learned a few things:
1. You can't disable this message.
2. If you click No your page looks like crap. But the Lock is present.
3. If you click Yes the page looks fine but the Lock is missing (yet the
page is still supposed to be secure.)
4. I found that my Bade page class that I inherit from had a hard coded
http://... variable for all the images.
I wrapped it in an If statement that checked for the HTTPS Server variable
and noted that if it was "off" I should use http but if it was "on" then
https. This solved my problem and now my site acts fine under SSL.
--
Joe Fallon



Vince Mele said:
We are having a small problem with a couple of reports we developed for a
client website.

On two of the reports, sometimes (most of the time) we receive a warning
message before the output of the report is presented in the browser. The
warning message says "This page contains both secure and non-secure items.
Do you want to display the non-secure items Yes, No, Cancel)".

The site was developed using ASP.NET, VB.NET, and Crystal Reports which
displays the report output using a PDF plug-in in the browser. In general,
the VB.NET code creates a data-set containing the report data. Once the
data-set is created, Crystal reports is called and the data-set is passed
into Crystal. The report output is then displayed as a PDF in the browser.

A similar approach is used for all seven reports on the site. However, only
two of these reports are giving us this problem. We looked through
everything and it seems that all content being displayed is secure. Also, it
seems that a consistent approach is used for all seven reports. One
observation that could be contributing to the problem is: Crystal has the
ability to display a page to the user with text on it while the report is
being created. We are using this page to let user's know that the report may
take a few minutes to run before the output is displayed. It seems that
Crystal will continue to display this page over and over as it checks to see
if the report is complete. The reports that are giving us a problem run very
fast. It seems that we get this browser security warning possibly when the
report is already complete before the informational page is displayed. So,
in this case, we get the browser security warning message, we say it is o.k.
to display, then we immediately see the output of the report never seeing
the informational page.

Any ideas of what to look at or a way to trace the problem would be
greatly appreciated, as we are currently dumbfounded with this problem.
 
C

Codepuller

Have you found a resolution to your issue? I have the same identica
issue. In my enviroment, it is only the pdf version of the report tha
is causing the error?? Please let me know if you have found
resolution!

Vince said:
*We are having a small problem with a couple of reports we develope
for a
client website.

On two of the reports, sometimes (most of the time) we receive
warning
message before the output of the report is presented in the browser
The
warning message says "This page contains both secure and non-secur
items.
Do you want to display the non-secure items Yes, No, Cancel)".

The site was developed using ASP.NET, VB.NET, and Crystal Report
which
displays the report output using a PDF plug-in in the browser. I
general,
the VB.NET code creates a data-set containing the report data. Onc
the
data-set is created, Crystal reports is called and the data-set i
passed
into Crystal. The report output is then displayed as a PDF in th
browser.

A similar approach is used for all seven reports on the site
However, only
two of these reports are giving us this problem. We looked through
everything and it seems that all content being displayed is secure
Also, it
seems that a consistent approach is used for all seven reports. One
observation that could be contributing to the problem is: Crystal ha
the
ability to display a page to the user with text on it while th
report is
being created. We are using this page to let user's know that th
report may
take a few minutes to run before the output is displayed. It seem
that
Crystal will continue to display this page over and over as it check
to see
if the report is complete. The reports that are giving us a proble
run very
fast. It seems that we get this browser security warning possibl
when the
report is already complete before the informational page i
displayed. So,
in this case, we get the browser security warning message, we say i
is o.k.
to display, then we immediately see the output of the report neve
seeing
the informational page.

Any ideas of what to look at or a way to trace the problem would b
greatly appreciated, as we are currently dumbfounded with thi
problem.

Thanks!
-Vince Mele


-
Codepulle
 

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

Staff online

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top