473,659 Members | 2,656 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 3084
Where is the XML file being loaded from?

Tim

"kermit" <ke****@discuss ions.microsoft. com> wrote in message
news:83******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. com> wrote in message
news:83******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. com> wrote in message
news:31******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. com> wrote in message
news:83******** *************** ***********@mic rosoft.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="Syst em.Xml.Xsl" %>
<%@ Import Namespace="Syst em.Xml" %>
<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Lis tBarNav.aspx.vb " Inherits="ELFse archClient.List BarNav" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>ELF Navigation</title>
<meta content="Micros oft Visual Studio .NET 7.1" name="GENERATOR ">
<meta content="Visual Basic .NET 7.1" name="CODE_LANG UAGE">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
<meta http-equiv="Content-Language" content="en-us">
<meta content="JavaSc ript" name="vs_defaul tClientScript">

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

<SCRIPT language="vbscr ipt" id="clientEvent HandlersVBS">
<!--

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

Sub LoadBarItems
Dim nIndex
. . .

nIndex = me.document.frm Main.lbNav.AddL ist("My Data")
Load_Groups nIndex

. . .

End Sub

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

Sub Load_Groups(ByV al 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.frm Main.hdnGroup.v alue = "GROUP"

set doc = CreateObject("M icrosoft.XMLDOM ")

doc.async ="false"

''''''''''''''' ''''''' REMED OUT, GIVES WARNING MSG ''''''''
'sPath = document.frmMai n.hdnPathXML.Va lue
'doc.Load(sPath )
''''''''''''''' ''''''''''''''' ''''''''''''''' ''''''''''''''' '

doc.Load(getDat aIsland()) 'DOSEN'T WORK, BUT NEITHER HAS ANYTHING
'ELSE I'VE TRIED
set oRoot = doc.DocumentEle ment

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

<!-- START JAVASCRIPT //-->
<script language="javaS cript" type="text/javascript">
function getDataIsland() {
if (xmdoc.parseErr or.errorCode == 0)
{
var data = xmdoc.XMLDocume nt.xml;
return data;
}
}

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

<BODY >

<OBJECT id="MSXML4" style="DISPLAY: none"
codeBase="msxml 4.cab#version=4 ,20,9818,0" type="applicati on/x-oleobject"
height="1"
data="data:appl ication/x-oleobject;base6 4,EQ/Z9nOc0xGzLgDAT5 kLtA=="
align="top"
classid="clsid: 88d969c0-f192-11d4-a65f-0040963251e5" VIEWASTEXT
DESIGNTIMEDRAGD ROP="370">
</OBJECT>
<!-- START: Client Side Data Island //-->
<xml id="xmdoc" src=document.fr mMain.hdnPathXM L.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****@discuss ions.microsoft. com> wrote in message
news:31******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. com> wrote in message
news:83******** *************** ***********@mic rosoft.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.fr mMain.hdnPathXM L.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.gener al"
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.fr mMain.hdnPathXM L.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
2594
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 tedious to find the cause of the message by inserting print statements. Is there an easier way, e.g. a traceback in Python when lower level messages occur?
1
3076
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, Culture=neutral' in project 'EduWaveApplication' cannot be copied to the run directory because it would overwrite the reference 'EW_Calender, Version=2.5.2060.18779, Culture=neutral'. Warning: The dependency 'EW_StudentThesis, Version=2.5.2055.22884,
3
3062
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 down. Some of these also seem to be "phantoms" where I think I've corrected the problem but the warning message persists. For example, I made some changes in my code and started getting a warning message that I had a "duplicate component name"...
0
2406
by: Manish | last post by:
PHP INI File Setting ------------------------------------------------------------------------------------------------------------------ error_reporting = E_ALL & ~E_NOTICE No warning message are displayed when script executed from the browser. Only Error, Fatal errors are displayed. But when the same script is executed from the command line 192.168.0.2# php lpmonitor.php Warning messages are displayed.
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 the URL-link associated to "Go") you will obtain this string: "Version: RM43_V1.10.030" Is it possible to have a string.php page that just display this string? how can I do it?
92
6187
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
12265
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 following prototype whenever f2 is called:
9
7946
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. "/usr/include/sys/_mbstate_t.h", line 11: warning #2230-D: nonstandard type for a bit field unsigned char __parse_size:3; ^ "/usr/include/sys/_mbstate_t.h", line 12: warning #2230-D: nonstandard type for a bit...
0
8427
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8332
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8746
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7356
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6179
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2750
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.