Microsoft KB Archive/842779

= &quot;This page shows secure and nonsecure items&quot; error message when you use Microsoft Project Web Access to locate documents on a server that is running Project Server 2003 =

Article ID: 842779

Article Last Modified on 5/16/2005

-

APPLIES TO


 * Microsoft Office Project Server 2003
 * Microsoft Windows SharePoint Services

-





Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect your system.



SYMPTOMS
When you use Microsoft Project Web Access to locate documents on a server that is running Microsoft Office Project Server 2003 and Microsoft Windows SharePoint Services, both using SSL, you may receive the following error message:

This page contains both secure and nonsecure items.

Do you want to display the nonsecure items?



CAUSE
This problem occurs because Microsoft Internet Explorer treats pages that use the IFrame tag as nonsecure pages and raises the error message that is mentioned in the &quot;Symptoms&quot; section.



RESOLUTION
This problem is fixed in Microsoft Office Project 2003 Service Pack 1 (SP1). For more information, click the following article number to view the article in the Microsoft Knowledge Base:

837241 Description of Project Server 2003 Service Pack 1



WORKAROUND
Warning This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.

Note Only follow these steps if you are running Project Server 2003 and have not applied Project Server 2003 SP1. If you have applied Project Server 2003 SP1, no additional action is required.  On your Project Server 2003-based computer, locate the following files:  C:\Program Files\Microsoft Office Project Server 2003\IIS Virtual Root\DOCLIB\doclibdrilldown.asp C:\Program Files\Microsoft Office Project Server 2003\IIS Virtual Root\ISSUES\issueshell.asp C:\Program Files\Microsoft Office Project Server 2003\IIS Virtual Root\HOME\homepage.asp C:\Program Files\Microsoft Office Project Server 2003\IIS Virtual Root\SHELL\custpage.asp</li></ul> </li> In the C:\Program Files\Microsoft Office Project Server 2003\IIS Virtual Root\RISKS folder, locate the following files: <ul> New4task.asp</li> Risknew4.asp</li> Riskshel.asp</li></ul> </li> Open the Doclibdrilldown.asp file that is listed in Notepad.</li> On the Edit menu, click Find, type <IFRAME in the Find what box, and then click Find Next.</li>  For each <IFRAME> tag in the file that does not have the following parameter, add the following text:

SRC=&quot;../library/IEFrameWarningBypass.htm&quot;

For example, for the doclibdrilldown.asp file, an <IFRAME> tag is modified in the following manner:

Original <IFRAME> tag: <IFRAME ID=&quot;idOWSFrame&quot; FRAMEBORDER=&quot;0&quot; NAME=&quot;idOWSFrame&quot; SCROLLING=&quot;AUTO&quot; STYLE=&quot;display: block;

width: 100%; height: 100%;&quot;></IFRAME> New <IFRAME> tag: <IFRAME ID=&quot;idOWSFrame&quot; FRAMEBORDER=&quot;0&quot; NAME=&quot;idOWSFrame&quot; SCROLLING=&quot;AUTO&quot; STYLE=&quot;display: block;

width: 100%; height: 100%;&quot; SRC=&quot;../library/IEFrameWarningBypass.htm&quot;></IFRAME> </li> After you modify each <IFRAME> tag in the file, click Save, and then close the file.</li> Repeat steps 3 through 6 for each file that is listed in steps 1 and 2.</li> On your Project Server 2003-based computer, locate the following files in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033\PWAINC\ folder: <ul> Custom.js</li> Pwadoc.js</li> Pwaissue.js</li></ul> </li> Open the Custom.js file in Notepad.</li> On the Edit menu, click Find, type <IFRAME in the Find what box, and then click Find Next.</li>  For each <IFRAME> tag in the file that does not have the following parameter, add the following text:

SRC=\&quot;/_layouts/pwainc/IEFrameWarningBypass.htm\&quot;

For example, for the Pwaissue.js file, an <IFRAME> tag is modified in the following manner:

Original <IFRAME> tag: <IFRAME ID=\&quot;idForPWAIFrame\&quot; NAME=\&quot;idForPWAIFrame\&quot; SCROLLING=\&quot;YES\&quot; STYLE=\&quot;display: none; width: 90%;

height: 20%;\&quot;></IFRAME>&quot;; NEW <IFRAME> tag: <IFRAME ID=\&quot;idForPWAIFrame\&quot; NAME=\&quot;idForPWAIFrame\&quot; SCROLLING=\&quot;YES\&quot; STYLE=\&quot;display: none; width: 90%;

height: 20%;\&quot; SRC=\&quot;/_layouts/pwainc/IEFrameWarningBypass.htm\&quot;></IFRAME>&quot; SRC=\&quot;/_layouts/pwainc/IEFrameWarningBypass.htm\&quot;; </li> <li>After you modify each <IFRAME> tag in the file, click Save, and then close the file.</li> <li>Repeat steps 9 through 12 for each file that is listed in step 8.</li> <li>Create the IEFrameWarningBypass.htm file. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li> In Notepad, create a blank document, and then type the following HTML code:

<HTML> </HTML> </li> <li>On the File menu, click Save, and then type IEFrameWarningBypass.htm for the file name, and then save the file in the following folder:

c:\Program Files\Common Files\Microsoft Shared\web server extensions\60\template\layouts\1033\pwainc

</li></ol> </li> <li>Verify that the IEFrameWarningBypass.htm file exists in the following folder:

c:\Program Files\Common Files\Microsoft Shared\web server extensions\60\template\layouts\1033\pwainc

</li> <li>Click Start, click Run, type IISReset, and then click OK.</li> <li>On client computers that are connecting to Project Server 2003, delete the Internet Explorer temporary file cache. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Start Internet Explorer.</li> <li>On the Tools menu, click Internet Options.</li> <li>On the General tab, click Delete Files.</li> <li>Click to select the Delete all offline content check box.</li> <li>Click OK, and then click OK.</li></ol> </li></ol>

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

261188 Security warning message occurs when you browse to a page that contains an IFRAME through SSL

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbug kbfix kbqfe kbprojectserver2003presp1fix KB842779

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.