473,503 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Avoiding IE warning messages

I asp.net pages that run on an intranet IIS server. Some op the pages use
XLM DOM doc.Load(sPath) to open and parse a XML file. Every time the
doc.Load(sPath) executes in IE6 a warning message comes up
"This page is accessing information that is not under it's control. . . "

How can I avoid this message. It is a great anoyance to the users. Do I
need to create some time of certificate to pass...

Help! Need direction.

Thank you in advance.
Sep 26 '05 #1
6 3071
Where is the XML file being loaded from?

Tim

"kermit" <ke****@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
I asp.net pages that run on an intranet IIS server. Some op the
pages use
XLM DOM doc.Load(sPath) to open and parse a XML file. Every time
the
doc.Load(sPath) executes in IE6 a warning message comes up
"This page is accessing information that is not under it's control.
. . "

How can I avoid this message. It is a great anoyance to the users.
Do I
need to create some time of certificate to pass...

Help! Need direction.

Thank you in advance.

Sep 27 '05 #2
I in the asp pages server side code, on page load, I create and save the xml
file to a directory on the server.
"Tim Williams" wrote:
Where is the XML file being loaded from?

Tim

"kermit" <ke****@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
I asp.net pages that run on an intranet IIS server. Some op the
pages use
XLM DOM doc.Load(sPath) to open and parse a XML file. Every time
the
doc.Load(sPath) executes in IE6 a warning message comes up
"This page is accessing information that is not under it's control.
. . "

How can I avoid this message. It is a great anoyance to the users.
Do I
need to create some time of certificate to pass...

Help! Need direction.

Thank you in advance.


Sep 27 '05 #3
Have you tried just including the xml in the page source instead?

Tim
"kermit" <ke****@discussions.microsoft.com> wrote in message
news:31**********************************@microsof t.com...
I in the asp pages server side code, on page load, I create and save
the xml
file to a directory on the server.
"Tim Williams" wrote:
Where is the XML file being loaded from?

Tim

"kermit" <ke****@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
>I asp.net pages that run on an intranet IIS server. Some op the
>pages use
> XLM DOM doc.Load(sPath) to open and parse a XML file. Every
> time
> the
> doc.Load(sPath) executes in IE6 a warning message comes up
> "This page is accessing information that is not under it's
> control.
> . . "
>
> How can I avoid this message. It is a great anoyance to the
> users.
> Do I
> need to create some time of certificate to pass...
>
> Help! Need direction.
>
> Thank you in advance.


Sep 29 '05 #4
I am trying that now (data island?). I want to use the xml data to populate
a client side control. So all of my code must be client side script (style
sheet will not work) and I am having some trouble getting hold of the
elements in the xml from client script. Using VB script
What I have, and where my current problem is:
===========================
<%@ Import Namespace="System.Xml.Xsl" %>
<%@ Import Namespace="System.Xml" %>
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="ListBarNav.aspx.vb" Inherits="ELFsearchClient.ListBarNav" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>ELF Navigation</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<meta http-equiv="Content-Language" content="en-us">
<meta content="JavaScript" name="vs_defaultClientScript">

<!-- ================================================== ========== //-->

<SCRIPT language="vbscript" id="clientEventHandlersVBS">
<!--

'- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sub window_onload
LoadBarItems
End Sub
'- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Sub LoadBarItems
Dim nIndex
. . .

nIndex = me.document.frmMain.lbNav.AddList("My Data")
Load_Groups nIndex

. . .

End Sub

'
-------------------------------------------------------------------------------

Sub Load_Groups(ByVal nIndex)
Dim sQuery
Dim iCount
Dim sPath
Dim doc
Dim root
Dim nodes
Dim rootnode
Dim nodeGroup
Dim nodeGroupNo
Dim nodeC
Dim iDay
Dim sErrMsg
Dim oErr
Dim oNode
Dim oRoot
Dim iCnt

iCnt =1
me.document.frmMain.hdnGroup.value = "GROUP"

set doc = CreateObject("Microsoft.XMLDOM")

doc.async ="false"

'''''''''''''''''''''' REMED OUT, GIVES WARNING MSG ''''''''
'sPath = document.frmMain.hdnPathXML.Value
'doc.Load(sPath)
'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''

doc.Load(getDataIsland()) 'DOSEN'T WORK, BUT NEITHER HAS ANYTHING
'ELSE I'VE TRIED
set oRoot = doc.DocumentElement

For Each nodeGroup In oRoot.ChildNodes
... do things with xml data
NEXT
End Sub
'- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
</SCRIPT>

<!-- START JAVASCRIPT //-->
<script language="javaScript" type="text/javascript">
function getDataIsland() {
if (xmdoc.parseError.errorCode == 0)
{
var data = xmdoc.XMLDocument.xml;
return data;
}
}

</SCRIPT>
<!-- ================================================== ========== //-->

<BODY >

<OBJECT id="MSXML4" style="DISPLAY: none"
codeBase="msxml4.cab#version=4,20,9818,0" type="application/x-oleobject"
height="1"
data="data:application/x-oleobject;base64,EQ/Z9nOc0xGzLgDAT5kLtA=="
align="top"
classid="clsid:88d969c0-f192-11d4-a65f-0040963251e5" VIEWASTEXT
DESIGNTIMEDRAGDROP="370">
</OBJECT>
<!-- START: Client Side Data Island //-->
<xml id="xmdoc" src=document.frmMain.hdnPathXML.Value />
<!-- END: Client Side Data Island //-->
<form id="frmMain" method="post" runat="server" >
. . .
- - - -


"Tim Williams" wrote:
Have you tried just including the xml in the page source instead?

Tim
"kermit" <ke****@discussions.microsoft.com> wrote in message
news:31**********************************@microsof t.com...
I in the asp pages server side code, on page load, I create and save
the xml
file to a directory on the server.
"Tim Williams" wrote:
Where is the XML file being loaded from?

Tim

"kermit" <ke****@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
>I asp.net pages that run on an intranet IIS server. Some op the
>pages use
> XLM DOM doc.Load(sPath) to open and parse a XML file. Every
> time
> the
> doc.Load(sPath) executes in IE6 a warning message comes up
> "This page is accessing information that is not under it's
> control.
> . . "
>
> How can I avoid this message. It is a great anoyance to the
> users.
> Do I
> need to create some time of certificate to pass...
>
> Help! Need direction.
>
> Thank you in advance.


Sep 29 '05 #5
> <!-- START: Client Side Data Island //-->
<xml id="xmdoc" src=document.frmMain.hdnPathXML.Value />
<!-- END: Client Side Data Island //-->


This looks wrong: src should be a valid URL (URI?). Why not just write
the XML directly in the page?

In any case this is .NET, so you should heade over to one of the
ASP.NET groups.

Tim.

Sep 29 '05 #6
Sorry, I thought I was in an asp.net group, the header said "inet.asp.general"
I will try anouther group. The control I am using the xml for is a
navigation control so It is not just a case of presenting the data one time,
I need to re-reference it time after time.
Thank you for your thoughts.
"Tim Williams" wrote:
<!-- START: Client Side Data Island //-->
<xml id="xmdoc" src=document.frmMain.hdnPathXML.Value />
<!-- END: Client Side Data Island //-->


This looks wrong: src should be a valid URL (URI?). Why not just write
the XML directly in the page?

In any case this is .NET, so you should heade over to one of the
ASP.NET groups.

Tim.

Sep 30 '05 #7

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

Similar topics

2
2587
by: Jean Brouwers | last post by:
Sporadically, a message like this one shows up in our wxPython application: (main.py:3182): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem Is possible but...
1
3068
by: Raed Sawalha | last post by:
when i build asp.net application i have theses warnings messages ,what they mean? Preparing resources... Updating references... Warning: The dependency 'EW_Calender, Version=2.5.2055.20123,...
3
3042
by: Chuck Cobb | last post by:
I'm doing a CSharp project in VS2005 and I'm getting some strange warning messages. The problem is that the warning messages don't link to anything in my code so they are very difficult to track...
0
2395
by: Manish | last post by:
PHP INI File Setting ------------------------------------------------------------------------------------------------------------------ error_reporting = E_ALL & ~E_NOTICE No warning message are...
4
449
by: lucavilla | last post by:
If you go to http://europe.nokia.com/A4305060, fill the "Enter your product code:" field with the value "0523183" and press "Go" (the ending page URL varies because there's a variable session-ID in...
92
6116
by: Heinrich Pumpernickel | last post by:
what does this warning mean ? #include <stdio.h> int main() { long l = 100; printf("l is %li\n", l * 10L);
1
12227
by: markryde | last post by:
Hello, I am working on upgrading an existent project. I have a method with this the following prototype: void f2(struct myStruct **myStructArray) Now, I need to call a method with the...
9
7923
by: awagner | last post by:
I am compiling a C application on an HP Unix 11.23 platform using the C99 compiler. I am receiving the following three warning message from the /usr/include/sys/_mbstate_t.h include file. ...
0
7291
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
7357
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
7468
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
5598
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,...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.