By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,276 Members | 1,330 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,276 IT Pros & Developers. It's quick & easy.

Secure page with Insecure Elements

P: n/a
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
Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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" <Vince Me**@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
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

Nov 18 '05 #2

P: n/a
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" <Vince Me**@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
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

Nov 18 '05 #3

P: n/a

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 Mele wrote:
*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
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------

Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.