473,383 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Smart Navigation Error

Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6 and I
have IIS configured to utilize the 1.0 framework.

Any Ideas why I would be getting the following jscript error within
Smartnav.js?

htmlfile: Invalid pointer.

it is occuring on line 79 hdm.appendChild(k);
Thanks in Advance
Rod
Nov 18 '05 #1
10 1683
Rod,

We are investigating a possible bug in the smartnav.js file right now. You
may be able to work around this by editing the line to read:

if (k != null) hdm.appendChild(k)

I'll post back as soon as we have more conclusive information on this.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
From: "RodBillett" <No***@NoWhere.Com>
Subject: Smart Navigation Error
Date: Wed, 19 Nov 2003 09:17:39 -0700
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path: cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
..phx.gbl!TK2MSFTNGP12.phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191260
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6 and I
have IIS configured to utilize the 1.0 framework.

Any Ideas why I would be getting the following jscript error within
Smartnav.js?

htmlfile: Invalid pointer.

it is occuring on line 79 hdm.appendChild(k);
Thanks in Advance
Rod


Nov 18 '05 #2
Jim,
I applied the modification as you provided and am receiving the following
error

"the instruction at :0x7473d83a" referenced memory at "0x00000004". The
memory could not be "read".

Just to make sure it wasn't a installation/configuration issue I ran with
both framework 3705 (_288 js files) and 4322. I made sure that I had
properly allowed or prohibited the other framework within Web Service
Extensions, and when the error message came up - I verified that the js file
was from the correct subdirectory.

Thanks
Rod Billett.

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:AJ**************@cpmsftngxa07.phx.gbl...
Rod,

We are investigating a possible bug in the smartnav.js file right now. You may be able to work around this by editing the line to read:

if (k != null) hdm.appendChild(k)

I'll post back as soon as we have more conclusive information on this.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
From: "RodBillett" <No***@NoWhere.Com>
Subject: Smart Navigation Error
Date: Wed, 19 Nov 2003 09:17:39 -0700
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 phx.gbl!TK2MSFTNGP12.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191260X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6 and Ihave IIS configured to utilize the 1.0 framework.

Any Ideas why I would be getting the following jscript error within
Smartnav.js?

htmlfile: Invalid pointer.

it is occuring on line 79 hdm.appendChild(k);
Thanks in Advance
Rod

Nov 18 '05 #3
Hi Rod,

Wow, that's unexpected. I didn't test that, but sure thought it should
work.

Go ahead and restore the smartnav.js to its original configuration and I'll
follow-up here once we know what's going on with the appendChild method.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "RodBillett" <No***@NoWhere.Com>
References: <ut**************@TK2MSFTNGP12.phx.gbl> <AJ**************@cpmsftngxa07.phx.gbl>Subject: Re: Smart Navigation Error
Date: Thu, 20 Nov 2003 08:04:27 -0700
Lines: 76
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <ul**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path: cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!tk2msftngp13.phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191555
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Jim,
I applied the modification as you provided and am receiving the following
error

"the instruction at :0x7473d83a" referenced memory at "0x00000004". The
memory could not be "read".

Just to make sure it wasn't a installation/configuration issue I ran with
both framework 3705 (_288 js files) and 4322. I made sure that I had
properly allowed or prohibited the other framework within Web Service
Extensions, and when the error message came up - I verified that the js filewas from the correct subdirectory.

Thanks
Rod Billett.

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:AJ**************@cpmsftngxa07.phx.gbl...
Rod,

We are investigating a possible bug in the smartnav.js file right now.

You
may be able to work around this by editing the line to read:

if (k != null) hdm.appendChild(k)

I'll post back as soon as we have more conclusive information on this.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
>From: "RodBillett" <No***@NoWhere.Com>
>Subject: Smart Navigation Error
>Date: Wed, 19 Nov 2003 09:17:39 -0700
>Lines: 15
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 216.150.210.194
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0

8
phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa07.phx.gblmicrosoft.public.dotnet.framework.aspnet:191260 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6 andI >have IIS configured to utilize the 1.0 framework.
>
>Any Ideas why I would be getting the following jscript error within
>Smartnav.js?
>
>htmlfile: Invalid pointer.
>
>it is occuring on line 79 hdm.appendChild(k);
>
>
>Thanks in Advance
>Rod
>
>
>



Nov 18 '05 #4
Jim,
It is not the AppendChild method that is failing. I have debugged it
through a bit more in my application...
It enters the For Loop (Containing the Append Child) with a Kids.length =9.
it falls through with a null k when i=2.

Interestingly,

kids[i].nodevalue = "CTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
Transitional//EN"
and
kids[i].text="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
Transitional//EN\" >"

This is the standard information contained within a webform as created by
the IDE. But notice that the "!DO" has been removed from the NodeValue but
not the text!

Also, if you skip over the AppendChild method call, none of the other 9
iterations fall through as null. And the windows Error message now occurs
on the first statement outside of the for loop.

document.body.clearAttributes();

Thanks
Rod

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:Gw**************@cpmsftngxa07.phx.gbl...
Hi Rod,

Wow, that's unexpected. I didn't test that, but sure thought it should
work.

Go ahead and restore the smartnav.js to its original configuration and I'll follow-up here once we know what's going on with the appendChild method.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "RodBillett" <No***@NoWhere.Com>
References: <ut**************@TK2MSFTNGP12.phx.gbl> <AJ**************@cpmsftngxa07.phx.gbl>
Subject: Re: Smart Navigation Error
Date: Thu, 20 Nov 2003 08:04:27 -0700
Lines: 76
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <ul**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 phx.gbl!tk2msftngp13.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191555
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Jim,
I applied the modification as you provided and am receiving the followingerror

"the instruction at :0x7473d83a" referenced memory at "0x00000004". The
memory could not be "read".

Just to make sure it wasn't a installation/configuration issue I ran with
both framework 3705 (_288 js files) and 4322. I made sure that I had
properly allowed or prohibited the other framework within Web Service
Extensions, and when the error message came up - I verified that the js

file
was from the correct subdirectory.

Thanks
Rod Billett.

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:AJ**************@cpmsftngxa07.phx.gbl...
Rod,

We are investigating a possible bug in the smartnav.js file right now.

You
may be able to work around this by editing the line to read:

if (k != null) hdm.appendChild(k)

I'll post back as soon as we have more conclusive information on this.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
>From: "RodBillett" <No***@NoWhere.Com>
>Subject: Smart Navigation Error
>Date: Wed, 19 Nov 2003 09:17:39 -0700
>Lines: 15
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 216.150.210.194
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8 phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa07.phx.gbl

microsoft.public.dotnet.framework.aspnet:191260
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6

andI
>have IIS configured to utilize the 1.0 framework.
>
>Any Ideas why I would be getting the following jscript error within
>Smartnav.js?
>
>htmlfile: Invalid pointer.
>
>it is occuring on line 79 hdm.appendChild(k);
>
>
>Thanks in Advance
>Rod
>
>
>


Nov 18 '05 #5
Rod,

So it looks like something is actually either modifying the HTML content,
or we are actually not grabbing the correct string from the DOM.

Is the page where this is happening simple enough that I can get it from
you and reproduce the issue (or attempt to) here?

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "RodBillett" <No***@NoWhere.Com>
References: <ut**************@TK2MSFTNGP12.phx.gbl> <AJ**************@cpmsftngxa07.phx.gbl>
<ul**************@tk2msftngp13.phx.gbl>
<Gw**************@cpmsftngxa07.phx.gbl>Subject: Re: Smart Navigation Error
Date: Thu, 20 Nov 2003 09:23:00 -0700
Lines: 154
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <Os**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path: cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP12.phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191579
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Jim,
It is not the AppendChild method that is failing. I have debugged it
through a bit more in my application...
It enters the For Loop (Containing the Append Child) with a Kids.length =9.
it falls through with a null k when i=2.

Interestingly,

kids[i].nodevalue = "CTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
Transitional//EN"
and
kids[i].text="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
Transitional//EN\" >"

This is the standard information contained within a webform as created by
the IDE. But notice that the "!DO" has been removed from the NodeValue but
not the text!

Also, if you skip over the AppendChild method call, none of the other 9
iterations fall through as null. And the windows Error message now occurs
on the first statement outside of the for loop.

document.body.clearAttributes();

Thanks
Rod

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:Gw**************@cpmsftngxa07.phx.gbl...
Hi Rod,

Wow, that's unexpected. I didn't test that, but sure thought it should
work.

Go ahead and restore the smartnav.js to its original configuration and

I'll
follow-up here once we know what's going on with the appendChild method.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "RodBillett" <No***@NoWhere.Com>
>References: <ut**************@TK2MSFTNGP12.phx.gbl>

<AJ**************@cpmsftngxa07.phx.gbl>
>Subject: Re: Smart Navigation Error
>Date: Thu, 20 Nov 2003 08:04:27 -0700
>Lines: 76
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Message-ID: <ul**************@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 216.150.210.194
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0

8
phx.gbl!tk2msftngp13.phx.gbl
>Xref: cpmsftngxa07.phx.gblmicrosoft.public.dotnet.framework.aspnet:191555 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Jim,
> I applied the modification as you provided and am receiving thefollowing >error
>
>"the instruction at :0x7473d83a" referenced memory at "0x00000004". The
>memory could not be "read".
>
>Just to make sure it wasn't a installation/configuration issue I ran with >both framework 3705 (_288 js files) and 4322. I made sure that I had
>properly allowed or prohibited the other framework within Web Service
>Extensions, and when the error message came up - I verified that the js

file
>was from the correct subdirectory.
>
>Thanks
>Rod Billett.
>
>"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
>news:AJ**************@cpmsftngxa07.phx.gbl...
>> Rod,
>>
>> We are investigating a possible bug in the smartnav.js file right now.
>You
>> may be able to work around this by editing the line to read:
>>
>> if (k != null) hdm.appendChild(k)
>>
>> I'll post back as soon as we have more conclusive information on this.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> Developer Support
>> ASP.NET
>> ja******@online.microsoft.com
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>>
>> --------------------
>> >From: "RodBillett" <No***@NoWhere.Com>
>> >Subject: Smart Navigation Error
>> >Date: Wed, 19 Nov 2003 09:17:39 -0700
>> >Lines: 15
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >NNTP-Posting-Host: 216.150.210.194
>> >Path:
>>


cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSF TNGXA05.phx.gbl!TK2MSFTNGP 0
8
>> phx.gbl!TK2MSFTNGP12.phx.gbl
>> >Xref: cpmsftngxa07.phx.gbl
>microsoft.public.dotnet.framework.aspnet:191260
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >
>> >Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6

and >I
>> >have IIS configured to utilize the 1.0 framework.
>> >
>> >Any Ideas why I would be getting the following jscript error within
>> >Smartnav.js?
>> >
>> >htmlfile: Invalid pointer.
>> >
>> >it is occuring on line 79 hdm.appendChild(k);
>> >
>> >
>> >Thanks in Advance
>> >Rod
>> >
>> >
>> >
>>
>
>
>



Nov 18 '05 #6
Its a quite complex web page that displays various controls depending on the
activity being performed. Ya know the kinda windows application in a web
page....

We do have some javascript that make items visible or not (
Display:None/Dislay:inline ) or swap the src or an image or two.

Thanks
Rod

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:tu**************@cpmsftngxa07.phx.gbl...
Rod,

So it looks like something is actually either modifying the HTML content,
or we are actually not grabbing the correct string from the DOM.

Is the page where this is happening simple enough that I can get it from
you and reproduce the issue (or attempt to) here?

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "RodBillett" <No***@NoWhere.Com>
References: <ut**************@TK2MSFTNGP12.phx.gbl> <AJ**************@cpmsftngxa07.phx.gbl>
<ul**************@tk2msftngp13.phx.gbl>
<Gw**************@cpmsftngxa07.phx.gbl>
Subject: Re: Smart Navigation Error
Date: Thu, 20 Nov 2003 09:23:00 -0700
Lines: 154
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <Os**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 phx.gbl!TK2MSFTNGP12.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191579
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Jim,
It is not the AppendChild method that is failing. I have debugged it
through a bit more in my application...
It enters the For Loop (Containing the Append Child) with a Kids.length =9.it falls through with a null k when i=2.

Interestingly,

kids[i].nodevalue = "CTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
Transitional//EN"
and
kids[i].text="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
Transitional//EN\" >"

This is the standard information contained within a webform as created by
the IDE. But notice that the "!DO" has been removed from the NodeValue butnot the text!

Also, if you skip over the AppendChild method call, none of the other 9
iterations fall through as null. And the windows Error message now occurson the first statement outside of the for loop.

document.body.clearAttributes();

Thanks
Rod

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:Gw**************@cpmsftngxa07.phx.gbl...
Hi Rod,

Wow, that's unexpected. I didn't test that, but sure thought it should
work.

Go ahead and restore the smartnav.js to its original configuration and

I'll
follow-up here once we know what's going on with the appendChild method.
Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "RodBillett" <No***@NoWhere.Com>
>References: <ut**************@TK2MSFTNGP12.phx.gbl>
<AJ**************@cpmsftngxa07.phx.gbl>
>Subject: Re: Smart Navigation Error
>Date: Thu, 20 Nov 2003 08:04:27 -0700
>Lines: 76
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Message-ID: <ul**************@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 216.150.210.194
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8 phx.gbl!tk2msftngp13.phx.gbl
>Xref: cpmsftngxa07.phx.gbl

microsoft.public.dotnet.framework.aspnet:191555
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Jim,
> I applied the modification as you provided and am receiving the

following
>error
>
>"the instruction at :0x7473d83a" referenced memory at "0x00000004". The >memory could not be "read".
>
>Just to make sure it wasn't a installation/configuration issue I ran with >both framework 3705 (_288 js files) and 4322. I made sure that I had
>properly allowed or prohibited the other framework within Web Service
>Extensions, and when the error message came up - I verified that the js file
>was from the correct subdirectory.
>
>Thanks
>Rod Billett.
>
>"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
>news:AJ**************@cpmsftngxa07.phx.gbl...
>> Rod,
>>
>> We are investigating a possible bug in the smartnav.js file right now. >You
>> may be able to work around this by editing the line to read:
>>
>> if (k != null) hdm.appendChild(k)
>>
>> I'll post back as soon as we have more conclusive information on this. >>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> Developer Support
>> ASP.NET
>> ja******@online.microsoft.com
>>
>> This post is provided as-is with no warranties and confers no rights. >>
>>
>> --------------------
>> >From: "RodBillett" <No***@NoWhere.Com>
>> >Subject: Smart Navigation Error
>> >Date: Wed, 19 Nov 2003 09:17:39 -0700
>> >Lines: 15
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >NNTP-Posting-Host: 216.150.210.194
>> >Path:
>>
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSF TNGXA05.phx.gbl!TK2MSFTNGP

0 8
>> phx.gbl!TK2MSFTNGP12.phx.gbl
>> >Xref: cpmsftngxa07.phx.gbl
>microsoft.public.dotnet.framework.aspnet:191260
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >
>> >Using SmartNavigation. Windows2003 Server Framework 1.0 (3705)

IIS6and
>I
>> >have IIS configured to utilize the 1.0 framework.
>> >
>> >Any Ideas why I would be getting the following jscript error within
>> >Smartnav.js?
>> >
>> >htmlfile: Invalid pointer.
>> >
>> >it is occuring on line 79 hdm.appendChild(k);
>> >
>> >
>> >Thanks in Advance
>> >Rod
>> >
>> >
>> >
>>
>
>
>


Nov 18 '05 #7
Rod,

Realize that the smartnav.js pulls the information from the page using the
IE DOM. If you are manipulating content using the DOM as well, you could
very well cause a problem. There are some cases such as these where
SmartNav just won't work. Perhaps this is one of them.

If you can build a reproducable project for me, I'll be glad to dig deeper.
Without being able to reproduce it, I'm afraid I can't be of much help as
much as I'd like to.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "RodBillett" <No***@NoWhere.Com>
References: <ut**************@TK2MSFTNGP12.phx.gbl> <AJ**************@cpmsftngxa07.phx.gbl>
<ul**************@tk2msftngp13.phx.gbl>
<Gw**************@cpmsftngxa07.phx.gbl>
<Os**************@TK2MSFTNGP12.phx.gbl>
<tu**************@cpmsftngxa07.phx.gbl>Subject: Re: Smart Navigation Error
Date: Thu, 20 Nov 2003 13:53:07 -0700
Lines: 224
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <O2**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path: cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP09.phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191669
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Its a quite complex web page that displays various controls depending on theactivity being performed. Ya know the kinda windows application in a web
page....

We do have some javascript that make items visible or not (
Display:None/Dislay:inline ) or swap the src or an image or two.

Thanks
Rod

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:tu**************@cpmsftngxa07.phx.gbl...
Rod,

So it looks like something is actually either modifying the HTML content,
or we are actually not grabbing the correct string from the DOM.

Is the page where this is happening simple enough that I can get it from
you and reproduce the issue (or attempt to) here?

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "RodBillett" <No***@NoWhere.Com>
>References: <ut**************@TK2MSFTNGP12.phx.gbl>

<AJ**************@cpmsftngxa07.phx.gbl>
<ul**************@tk2msftngp13.phx.gbl>
<Gw**************@cpmsftngxa07.phx.gbl>
>Subject: Re: Smart Navigation Error
>Date: Thu, 20 Nov 2003 09:23:00 -0700
>Lines: 154
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Message-ID: <Os**************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 216.150.210.194
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0

8
phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa07.phx.gblmicrosoft.public.dotnet.framework.aspnet:191579 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Jim,
> It is not the AppendChild method that is failing. I have debugged it
>through a bit more in my application...
>
>
>It enters the For Loop (Containing the Append Child) with a Kids.length=9. >it falls through with a null k when i=2.
>
>Interestingly,
>
>kids[i].nodevalue = "CTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
>Transitional//EN"
>and
>kids[i].text="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
>Transitional//EN\" >"
>
>This is the standard information contained within a webform as created by >the IDE. But notice that the "!DO" has been removed from the NodeValuebut >not the text!
>
>Also, if you skip over the AppendChild method call, none of the other 9
>iterations fall through as null. And the windows Error message nowoccurs >on the first statement outside of the for loop.
>
>document.body.clearAttributes();
>
>Thanks
>Rod
>
>"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
>news:Gw**************@cpmsftngxa07.phx.gbl...
>> Hi Rod,
>>
>> Wow, that's unexpected. I didn't test that, but sure thought it should >> work.
>>
>> Go ahead and restore the smartnav.js to its original configuration and
>I'll
>> follow-up here once we know what's going on with the appendChildmethod. >>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> Developer Support
>> ASP.NET
>> ja******@online.microsoft.com
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>> --------------------
>> >From: "RodBillett" <No***@NoWhere.Com>
>> >References: <ut**************@TK2MSFTNGP12.phx.gbl>
>> <AJ**************@cpmsftngxa07.phx.gbl>
>> >Subject: Re: Smart Navigation Error
>> >Date: Thu, 20 Nov 2003 08:04:27 -0700
>> >Lines: 76
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >Message-ID: <ul**************@tk2msftngp13.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >NNTP-Posting-Host: 216.150.210.194
>> >Path:
>>


cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSF TNGXA05.phx.gbl!TK2MSFTNGP 0
8
>> phx.gbl!tk2msftngp13.phx.gbl
>> >Xref: cpmsftngxa07.phx.gbl
>microsoft.public.dotnet.framework.aspnet:191555
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >
>> >Jim,
>> > I applied the modification as you provided and am receiving the
>following
>> >error
>> >
>> >"the instruction at :0x7473d83a" referenced memory at "0x00000004".The >> >memory could not be "read".
>> >
>> >Just to make sure it wasn't a installation/configuration issue I ran

with
>> >both framework 3705 (_288 js files) and 4322. I made sure that I had >> >properly allowed or prohibited the other framework within Web Service
>> >Extensions, and when the error message came up - I verified that thejs >> file
>> >was from the correct subdirectory.
>> >
>> >Thanks
>> >Rod Billett.
>> >
>> >"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message >> >news:AJ**************@cpmsftngxa07.phx.gbl...
>> >> Rod,
>> >>
>> >> We are investigating a possible bug in the smartnav.js file rightnow. >> >You
>> >> may be able to work around this by editing the line to read:
>> >>
>> >> if (k != null) hdm.appendChild(k)
>> >>
>> >> I'll post back as soon as we have more conclusive information onthis. >> >>
>> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> Developer Support
>> >> ASP.NET
>> >> ja******@online.microsoft.com
>> >>
>> >> This post is provided as-is with no warranties and confers norights. >> >>
>> >>
>> >> --------------------
>> >> >From: "RodBillett" <No***@NoWhere.Com>
>> >> >Subject: Smart Navigation Error
>> >> >Date: Wed, 19 Nov 2003 09:17:39 -0700
>> >> >Lines: 15
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >> >Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >> >NNTP-Posting-Host: 216.150.210.194
>> >> >Path:
>> >>
>>

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MS FTNGXA05.phx.gbl!TK2MSFTNG P 0
>> 8
>> >> phx.gbl!TK2MSFTNGP12.phx.gbl
>> >> >Xref: cpmsftngxa07.phx.gbl
>> >microsoft.public.dotnet.framework.aspnet:191260
>> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >> >
>> >> >Using SmartNavigation. Windows2003 Server Framework 1.0 (3705)IIS6 >and
>> >I
>> >> >have IIS configured to utilize the 1.0 framework.
>> >> >
>> >> >Any Ideas why I would be getting the following jscript error

within >> >> >Smartnav.js?
>> >> >
>> >> >htmlfile: Invalid pointer.
>> >> >
>> >> >it is occuring on line 79 hdm.appendChild(k);
>> >> >
>> >> >
>> >> >Thanks in Advance
>> >> >Rod
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>



Nov 18 '05 #8
Jim, I understand your need for the reproducible project. I also think that
the powers that be are going to want functional back button navigation
within the project as well (Which virtually rulesout smart nav).

I appreciate all that you have done in researching this issue - well beyond
what is necessary. So thanks for taking it that far. But with the level of
integration to our legacy back end (couple layers their) and a couple of
..NET .layers it would take a few days to get us to a workable point. If it
would help - I could send the html source for the page constructed with
smartnav turned on, and copies of our .js files. Let me know.

Thanks
Rod
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:rF**************@cpmsftngxa07.phx.gbl...
Rod,

Realize that the smartnav.js pulls the information from the page using the
IE DOM. If you are manipulating content using the DOM as well, you could
very well cause a problem. There are some cases such as these where
SmartNav just won't work. Perhaps this is one of them.

If you can build a reproducable project for me, I'll be glad to dig deeper. Without being able to reproduce it, I'm afraid I can't be of much help as
much as I'd like to.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "RodBillett" <No***@NoWhere.Com>
References: <ut**************@TK2MSFTNGP12.phx.gbl> <AJ**************@cpmsftngxa07.phx.gbl>
<ul**************@tk2msftngp13.phx.gbl>
<Gw**************@cpmsftngxa07.phx.gbl>
<Os**************@TK2MSFTNGP12.phx.gbl>
<tu**************@cpmsftngxa07.phx.gbl>
Subject: Re: Smart Navigation Error
Date: Thu, 20 Nov 2003 13:53:07 -0700
Lines: 224
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <O2**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 phx.gbl!TK2MSFTNGP09.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191669
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Its a quite complex web page that displays various controls depending on

the
activity being performed. Ya know the kinda windows application in a web
page....

We do have some javascript that make items visible or not (
Display:None/Dislay:inline ) or swap the src or an image or two.

Thanks
Rod

"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:tu**************@cpmsftngxa07.phx.gbl...
Rod,

So it looks like something is actually either modifying the HTML content, or we are actually not grabbing the correct string from the DOM.

Is the page where this is happening simple enough that I can get it from you and reproduce the issue (or attempt to) here?

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "RodBillett" <No***@NoWhere.Com>
>References: <ut**************@TK2MSFTNGP12.phx.gbl>
<AJ**************@cpmsftngxa07.phx.gbl>
<ul**************@tk2msftngp13.phx.gbl>
<Gw**************@cpmsftngxa07.phx.gbl>
>Subject: Re: Smart Navigation Error
>Date: Thu, 20 Nov 2003 09:23:00 -0700
>Lines: 154
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Message-ID: <Os**************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 216.150.210.194
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8 phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa07.phx.gbl

microsoft.public.dotnet.framework.aspnet:191579
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Jim,
> It is not the AppendChild method that is failing. I have debugged it >through a bit more in my application...
>
>
>It enters the For Loop (Containing the Append Child) with a Kids.length=9.
>it falls through with a null k when i=2.
>
>Interestingly,
>
>kids[i].nodevalue = "CTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
>Transitional//EN"
>and
>kids[i].text="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
>Transitional//EN\" >"
>
>This is the standard information contained within a webform as created by >the IDE. But notice that the "!DO" has been removed from the
NodeValue
but
>not the text!
>
>Also, if you skip over the AppendChild method call, none of the other
9 >iterations fall through as null. And the windows Error message now

occurs
>on the first statement outside of the for loop.
>
>document.body.clearAttributes();
>
>Thanks
>Rod
>
>"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
>news:Gw**************@cpmsftngxa07.phx.gbl...
>> Hi Rod,
>>
>> Wow, that's unexpected. I didn't test that, but sure thought it

should >> work.
>>
>> Go ahead and restore the smartnav.js to its original configuration and >I'll
>> follow-up here once we know what's going on with the appendChild

method.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> Developer Support
>> ASP.NET
>> ja******@online.microsoft.com
>>
>> This post is provided as-is with no warranties and confers no rights. >>
>> --------------------
>> >From: "RodBillett" <No***@NoWhere.Com>
>> >References: <ut**************@TK2MSFTNGP12.phx.gbl>
>> <AJ**************@cpmsftngxa07.phx.gbl>
>> >Subject: Re: Smart Navigation Error
>> >Date: Thu, 20 Nov 2003 08:04:27 -0700
>> >Lines: 76
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >Message-ID: <ul**************@tk2msftngp13.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >NNTP-Posting-Host: 216.150.210.194
>> >Path:
>>
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSF TNGXA05.phx.gbl!TK2MSFTNGP

0 8
>> phx.gbl!tk2msftngp13.phx.gbl
>> >Xref: cpmsftngxa07.phx.gbl
>microsoft.public.dotnet.framework.aspnet:191555
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >
>> >Jim,
>> > I applied the modification as you provided and am receiving the
>following
>> >error
>> >
>> >"the instruction at :0x7473d83a" referenced memory at "0x00000004".

The
>> >memory could not be "read".
>> >
>> >Just to make sure it wasn't a installation/configuration issue I ran with
>> >both framework 3705 (_288 js files) and 4322. I made sure that I had >> >properly allowed or prohibited the other framework within Web Service >> >Extensions, and when the error message came up - I verified that
thejs
>> file
>> >was from the correct subdirectory.
>> >
>> >Thanks
>> >Rod Billett.
>> >
>> >"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in

message >> >news:AJ**************@cpmsftngxa07.phx.gbl...
>> >> Rod,
>> >>
>> >> We are investigating a possible bug in the smartnav.js file right

now.
>> >You
>> >> may be able to work around this by editing the line to read:
>> >>
>> >> if (k != null) hdm.appendChild(k)
>> >>
>> >> I'll post back as soon as we have more conclusive information on

this.
>> >>
>> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> Developer Support
>> >> ASP.NET
>> >> ja******@online.microsoft.com
>> >>
>> >> This post is provided as-is with no warranties and confers no

rights.
>> >>
>> >>
>> >> --------------------
>> >> >From: "RodBillett" <No***@NoWhere.Com>
>> >> >Subject: Smart Navigation Error
>> >> >Date: Wed, 19 Nov 2003 09:17:39 -0700
>> >> >Lines: 15
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >> >Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >> >NNTP-Posting-Host: 216.150.210.194
>> >> >Path:
>> >>
>>
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MS FTNGXA05.phx.gbl!TK2MSFTNG P 0
>> 8
>> >> phx.gbl!TK2MSFTNGP12.phx.gbl
>> >> >Xref: cpmsftngxa07.phx.gbl
>> >microsoft.public.dotnet.framework.aspnet:191260
>> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >> >
>> >> >Using SmartNavigation. Windows2003 Server Framework 1.0 (3705)

IIS6
>and
>> >I
>> >> >have IIS configured to utilize the 1.0 framework.
>> >> >
>> >> >Any Ideas why I would be getting the following jscript error within >> >> >Smartnav.js?
>> >> >
>> >> >htmlfile: Invalid pointer.
>> >> >
>> >> >it is occuring on line 79 hdm.appendChild(k);
>> >> >
>> >> >
>> >> >Thanks in Advance
>> >> >Rod
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>


Nov 18 '05 #9
Rod,

If I can take that and actually run it to see something happening, I'll be
glad to look into it. You can send them to me at the e-mail address here.
Just leave off the "online" part.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "RodBillett" <No***@NoWhere.Com>
References: <ut**************@TK2MSFTNGP12.phx.gbl> <AJ**************@cpmsftngxa07.phx.gbl>
<ul**************@tk2msftngp13.phx.gbl>
<Gw**************@cpmsftngxa07.phx.gbl>
<Os**************@TK2MSFTNGP12.phx.gbl>
<tu**************@cpmsftngxa07.phx.gbl>
<O2**************@TK2MSFTNGP09.phx.gbl>
<rF**************@cpmsftngxa07.phx.gbl>Subject: Re: Smart Navigation Error
Date: Fri, 21 Nov 2003 14:04:08 -0700
Lines: 313
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <Op**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP10.
phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191972
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Jim, I understand your need for the reproducible project. I also think thatthe powers that be are going to want functional back button navigation
within the project as well (Which virtually rulesout smart nav).

I appreciate all that you have done in researching this issue - well beyond
what is necessary. So thanks for taking it that far. But with the level of
integration to our legacy back end (couple layers their) and a couple of
.NET .layers it would take a few days to get us to a workable point. If itwould help - I could send the html source for the page constructed with
smartnav turned on, and copies of our .js files. Let me know.

Thanks
Rod
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:rF**************@cpmsftngxa07.phx.gbl...
Rod,

Realize that the smartnav.js pulls the information from the page using the
IE DOM. If you are manipulating content using the DOM as well, you could
very well cause a problem. There are some cases such as these where
SmartNav just won't work. Perhaps this is one of them.

If you can build a reproducable project for me, I'll be glad to dig

deeper.
Without being able to reproduce it, I'm afraid I can't be of much help as much as I'd like to.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "RodBillett" <No***@NoWhere.Com>
>References: <ut**************@TK2MSFTNGP12.phx.gbl>

<AJ**************@cpmsftngxa07.phx.gbl>
<ul**************@tk2msftngp13.phx.gbl>
<Gw**************@cpmsftngxa07.phx.gbl>
<Os**************@TK2MSFTNGP12.phx.gbl>
<tu**************@cpmsftngxa07.phx.gbl>
>Subject: Re: Smart Navigation Error
>Date: Thu, 20 Nov 2003 13:53:07 -0700
>Lines: 224
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Message-ID: <O2**************@TK2MSFTNGP09.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 216.150.210.194
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0

8
phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa07.phx.gblmicrosoft.public.dotnet.framework.aspnet:191669 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Its a quite complex web page that displays various controls depending on

the
>activity being performed. Ya know the kinda windows application in a web >page....
>
>We do have some javascript that make items visible or not (
>Display:None/Dislay:inline ) or swap the src or an image or two.
>
>Thanks
>Rod
>
>"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
>news:tu**************@cpmsftngxa07.phx.gbl...
>> Rod,
>>
>> So it looks like something is actually either modifying the HTMLcontent, >> or we are actually not grabbing the correct string from the DOM.
>>
>> Is the page where this is happening simple enough that I can get itfrom >> you and reproduce the issue (or attempt to) here?
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> Developer Support
>> ASP.NET
>> ja******@online.microsoft.com
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>> --------------------
>> >From: "RodBillett" <No***@NoWhere.Com>
>> >References: <ut**************@TK2MSFTNGP12.phx.gbl>
>> <AJ**************@cpmsftngxa07.phx.gbl>
>> <ul**************@tk2msftngp13.phx.gbl>
>> <Gw**************@cpmsftngxa07.phx.gbl>
>> >Subject: Re: Smart Navigation Error
>> >Date: Thu, 20 Nov 2003 09:23:00 -0700
>> >Lines: 154
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >Message-ID: <Os**************@TK2MSFTNGP12.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >NNTP-Posting-Host: 216.150.210.194
>> >Path:
>>


cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSF TNGXA05.phx.gbl!TK2MSFTNGP 0 8
>> phx.gbl!TK2MSFTNGP12.phx.gbl
>> >Xref: cpmsftngxa07.phx.gbl
>microsoft.public.dotnet.framework.aspnet:191579
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >
>> >Jim,
>> > It is not the AppendChild method that is failing. I have debuggedit >> >through a bit more in my application...
>> >
>> >
>> >It enters the For Loop (Containing the Append Child) with aKids.length >=9.
>> >it falls through with a null k when i=2.
>> >
>> >Interestingly,
>> >
>> >kids[i].nodevalue = "CTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
>> >Transitional//EN"
>> >and
>> >kids[i].text="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
>> >Transitional//EN\" >"
>> >
>> >This is the standard information contained within a webform as created by
>> >the IDE. But notice that the "!DO" has been removed from theNodeValue >but
>> >not the text!
>> >
>> >Also, if you skip over the AppendChild method call, none of the other9 >> >iterations fall through as null. And the windows Error message now
>occurs
>> >on the first statement outside of the for loop.
>> >
>> >document.body.clearAttributes();
>> >
>> >Thanks
>> >Rod
>> >
>> >"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in
message >> >news:Gw**************@cpmsftngxa07.phx.gbl...
>> >> Hi Rod,
>> >>
>> >> Wow, that's unexpected. I didn't test that, but sure thought it

should
>> >> work.
>> >>
>> >> Go ahead and restore the smartnav.js to its original configurationand >> >I'll
>> >> follow-up here once we know what's going on with the appendChild
>method.
>> >>
>> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> Developer Support
>> >> ASP.NET
>> >> ja******@online.microsoft.com
>> >>
>> >> This post is provided as-is with no warranties and confers norights. >> >>
>> >> --------------------
>> >> >From: "RodBillett" <No***@NoWhere.Com>
>> >> >References: <ut**************@TK2MSFTNGP12.phx.gbl>
>> >> <AJ**************@cpmsftngxa07.phx.gbl>
>> >> >Subject: Re: Smart Navigation Error
>> >> >Date: Thu, 20 Nov 2003 08:04:27 -0700
>> >> >Lines: 76
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >> >Message-ID: <ul**************@tk2msftngp13.phx.gbl>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >> >NNTP-Posting-Host: 216.150.210.194
>> >> >Path:
>> >>
>>

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MS FTNGXA05.phx.gbl!TK2MSFTNG P 0
>> 8
>> >> phx.gbl!tk2msftngp13.phx.gbl
>> >> >Xref: cpmsftngxa07.phx.gbl
>> >microsoft.public.dotnet.framework.aspnet:191555
>> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >> >
>> >> >Jim,
>> >> > I applied the modification as you provided and am receiving the
>> >following
>> >> >error
>> >> >
>> >> >"the instruction at :0x7473d83a" referenced memory at
"0x00000004". >The
>> >> >memory could not be "read".
>> >> >
>> >> >Just to make sure it wasn't a installation/configuration issue Iran >> with
>> >> >both framework 3705 (_288 js files) and 4322. I made sure that I

had
>> >> >properly allowed or prohibited the other framework within WebService >> >> >Extensions, and when the error message came up - I verified thatthe >js
>> >> file
>> >> >was from the correct subdirectory.
>> >> >
>> >> >Thanks
>> >> >Rod Billett.
>> >> >
>> >> >"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in

message
>> >> >news:AJ**************@cpmsftngxa07.phx.gbl...
>> >> >> Rod,
>> >> >>
>> >> >> We are investigating a possible bug in the smartnav.js file right >now.
>> >> >You
>> >> >> may be able to work around this by editing the line to read:
>> >> >>
>> >> >> if (k != null) hdm.appendChild(k)
>> >> >>
>> >> >> I'll post back as soon as we have more conclusive information on
>this.
>> >> >>
>> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> >> Developer Support
>> >> >> ASP.NET
>> >> >> ja******@online.microsoft.com
>> >> >>
>> >> >> This post is provided as-is with no warranties and confers no
>rights.
>> >> >>
>> >> >>
>> >> >> --------------------
>> >> >> >From: "RodBillett" <No***@NoWhere.Com>
>> >> >> >Subject: Smart Navigation Error
>> >> >> >Date: Wed, 19 Nov 2003 09:17:39 -0700
>> >> >> >Lines: 15
>> >> >> >X-Priority: 3
>> >> >> >X-MSMail-Priority: Normal
>> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.3790.0
>> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >> >> >Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
>> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >> >> >NNTP-Posting-Host: 216.150.210.194
>> >> >> >Path:
>> >> >>
>> >>
>>

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2M SFTNGXA05.phx.gbl!TK2MSFTN

G P
>> 0
>> >> 8
>> >> >> phx.gbl!TK2MSFTNGP12.phx.gbl
>> >> >> >Xref: cpmsftngxa07.phx.gbl
>> >> >microsoft.public.dotnet.framework.aspnet:191260
>> >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >> >> >
>> >> >> >Using SmartNavigation. Windows2003 Server Framework 1.0 (3705)
>IIS6
>> >and
>> >> >I
>> >> >> >have IIS configured to utilize the 1.0 framework.
>> >> >> >
>> >> >> >Any Ideas why I would be getting the following jscript error

within
>> >> >> >Smartnav.js?
>> >> >> >
>> >> >> >htmlfile: Invalid pointer.
>> >> >> >
>> >> >> >it is occuring on line 79 hdm.appendChild(k);
>> >> >> >
>> >> >> >
>> >> >> >Thanks in Advance
>> >> >> >Rod
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>



Nov 18 '05 #10
I get the error in the generated javascript for the document
(__dopostBack()). The javascript line that causes the error is :

theform = document.Form1;

The error is "Invalid Pointer".

This error happens when I click the update button after a datagrid edit.
The datagrid is contained inside a multipage. Everything else seems to work
fine, just not the update button with Smartnavigation on. It's fine without
smartnavigation.
Thanks,

Troy
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:AJ**************@cpmsftngxa07.phx.gbl...
Rod,

We are investigating a possible bug in the smartnav.js file right now. You may be able to work around this by editing the line to read:

if (k != null) hdm.appendChild(k)

I'll post back as soon as we have more conclusive information on this.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
From: "RodBillett" <No***@NoWhere.Com>
Subject: Smart Navigation Error
Date: Wed, 19 Nov 2003 09:17:39 -0700
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <ut**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 216.150.210.194
Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 phx.gbl!TK2MSFTNGP12.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191260X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6 and Ihave IIS configured to utilize the 1.0 framework.

Any Ideas why I would be getting the following jscript error within
Smartnav.js?

htmlfile: Invalid pointer.

it is occuring on line 79 hdm.appendChild(k);
Thanks in Advance
Rod

Nov 18 '05 #11

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

Similar topics

6
by: anon | last post by:
How *EXACTLY* does Smart Navigation work? (I would really really really like for this Smart Navigation to work in Mozilla.) The inner workings and the code is what I am looking for. Does it...
0
by: Jason Rodman | last post by:
I have been working on a web app that uses IFrames for our edit screens. A main window contains static information, while an IFrame contains the editable page. I use javascript from the outer page...
1
by: Sal | last post by:
Greetings to all... I have a simple asp.net app. It consists of three aspx pages. I have enabled smart navigation on the pages. The app runs smoothly on the developer machine, but when I upload...
1
by: Priya | last post by:
I have enabled smart navigation for my ASP.Net web application. It works fine except for some of my pages where I'm using some Javascript code to open a page in a new window on a button click....
1
by: David | last post by:
The page whose smart navigation property is set to true shows a javacript error when a button that posts back to the same page is pressed. Line:27 Char: 9 Error: Object doesn't support this...
1
by: thomson | last post by:
Hi all, i have enabled Smart Navigation in the Page attribute, My Webform has several Webform controls, all applied with style sheets from an external file. Problem --------- When a postback...
3
by: ajfish | last post by:
Hi, I have a web form with smart navigation turned on. the html has an onload event which calls a javascript function and the contents of this function are dynamically generated on the server...
0
by: keeper | last post by:
Recently a new windows update for internet explorer was released which seems to have broken stylesheets with smart navigation. The first request for the page works fine, but any subsequent...
54
by: Boris | last post by:
I had a 3 hours meeting today with some fellow programmers that are partly not convinced about using smart pointers in C++. Their main concern is a possible performance impact. I've been explaining...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.