Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Smart Navigation Error

Reply
Thread Tools

Smart Navigation Error

 
 
RodBillett
Guest
Posts: n/a
 
      11-19-2003
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


 
Reply With Quote
 
 
 
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-19-2003
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
http://www.velocityreviews.com/forums/(E-Mail Removed)

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


--------------------
>From: "RodBillett" <(E-Mail Removed)>
>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: <(E-Mail Removed)>
>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: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
>
>
>


 
Reply With Quote
 
 
 
 
RodBillett
Guest
Posts: n/a
 
      11-20-2003
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]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
> (E-Mail Removed)
>
> This post is provided as-is with no warranties and confers no rights.
>
>
> --------------------
> >From: "RodBillett" <(E-Mail Removed)>
> >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: <(E-Mail Removed)>
> >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: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
> >
> >
> >

>



 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-20-2003
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
(E-Mail Removed)

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

--------------------
>From: "RodBillett" <(E-Mail Removed)>
>References: <(E-Mail Removed)>

<(E-Mail Removed)>
>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: <(E-Mail Removed)>
>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 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]" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> 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
>> (E-Mail Removed)
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>>
>> --------------------
>> >From: "RodBillett" <(E-Mail Removed)>
>> >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: <(E-Mail Removed)>
>> >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 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
>> >
>> >
>> >

>>

>
>
>


 
Reply With Quote
 
RodBillett
Guest
Posts: n/a
 
      11-20-2003
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]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
> (E-Mail Removed)
>
> This post is provided as-is with no warranties and confers no rights.
>
> --------------------
> >From: "RodBillett" <(E-Mail Removed)>
> >References: <(E-Mail Removed)>

> <(E-Mail Removed)>
> >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: <(E-Mail Removed)>
> >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

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]" <(E-Mail Removed)> wrote in message
> >news:(E-Mail Removed)...
> >> 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
> >> (E-Mail Removed)
> >>
> >> This post is provided as-is with no warranties and confers no rights.
> >>
> >>
> >> --------------------
> >> >From: "RodBillett" <(E-Mail Removed)>
> >> >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: <(E-Mail Removed)>
> >> >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

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
> >> >
> >> >
> >> >
> >>

> >
> >
> >

>



 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-20-2003
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
(E-Mail Removed)

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

--------------------
>From: "RodBillett" <(E-Mail Removed)>
>References: <(E-Mail Removed)>

<(E-Mail Removed)>
<(E-Mail Removed)>
<(E-Mail Removed)>
>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: <(E-Mail Removed)>
>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 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]" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> 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
>> (E-Mail Removed)
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>> --------------------
>> >From: "RodBillett" <(E-Mail Removed)>
>> >References: <(E-Mail Removed)>

>> <(E-Mail Removed)>
>> >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: <(E-Mail Removed)>
>> >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]" <(E-Mail Removed)> wrote in message
>> >news:(E-Mail Removed)...
>> >> 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
>> >> (E-Mail Removed)
>> >>
>> >> This post is provided as-is with no warranties and confers no rights.
>> >>
>> >>
>> >> --------------------
>> >> >From: "RodBillett" <(E-Mail Removed)>
>> >> >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: <(E-Mail Removed)>
>> >> >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
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >

>>

>
>
>


 
Reply With Quote
 
RodBillett
Guest
Posts: n/a
 
      11-20-2003
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]" <(E-Mail Removed)> wrote in message
news:tu#(E-Mail Removed)...
> 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
> (E-Mail Removed)
>
> This post is provided as-is with no warranties and confers no rights.
>
> --------------------
> >From: "RodBillett" <(E-Mail Removed)>
> >References: <(E-Mail Removed)>

> <(E-Mail Removed)>
> <(E-Mail Removed)>
> <(E-Mail Removed)>
> >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: <(E-Mail Removed)>
> >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

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]" <(E-Mail Removed)> wrote in message
> >news:(E-Mail Removed)...
> >> 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
> >> (E-Mail Removed)
> >>
> >> This post is provided as-is with no warranties and confers no rights.
> >>
> >> --------------------
> >> >From: "RodBillett" <(E-Mail Removed)>
> >> >References: <(E-Mail Removed)>
> >> <(E-Mail Removed)>
> >> >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: <(E-Mail Removed)>
> >> >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]" <(E-Mail Removed)> wrote in message
> >> >news:(E-Mail Removed)...
> >> >> 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
> >> >> (E-Mail Removed)
> >> >>
> >> >> This post is provided as-is with no warranties and confers no

rights.
> >> >>
> >> >>
> >> >> --------------------
> >> >> >From: "RodBillett" <(E-Mail Removed)>
> >> >> >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: <(E-Mail Removed)>
> >> >> >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
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >> >
> >>

> >
> >
> >

>



 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-20-2003
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
(E-Mail Removed)

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

--------------------
>From: "RodBillett" <(E-Mail Removed)>
>References: <(E-Mail Removed)>

<(E-Mail Removed)>
<(E-Mail Removed)>
<(E-Mail Removed)>
<(E-Mail Removed)>
<tu#(E-Mail Removed)>
>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: <(E-Mail Removed)>
>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]" <(E-Mail Removed)> wrote in message
>news:tu#(E-Mail Removed)...
>> 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
>> (E-Mail Removed)
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>> --------------------
>> >From: "RodBillett" <(E-Mail Removed)>
>> >References: <(E-Mail Removed)>

>> <(E-Mail Removed)>
>> <(E-Mail Removed)>
>> <(E-Mail Removed)>
>> >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: <(E-Mail Removed)>
>> >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]" <(E-Mail Removed)> wrote in message
>> >news:(E-Mail Removed)...
>> >> 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
>> >> (E-Mail Removed)
>> >>
>> >> This post is provided as-is with no warranties and confers no rights.
>> >>
>> >> --------------------
>> >> >From: "RodBillett" <(E-Mail Removed)>
>> >> >References: <(E-Mail Removed)>
>> >> <(E-Mail Removed)>
>> >> >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: <(E-Mail Removed)>
>> >> >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 the

>js
>> >> file
>> >> >was from the correct subdirectory.
>> >> >
>> >> >Thanks
>> >> >Rod Billett.
>> >> >
>> >> >"Jim Cheshire [MSFT]" <(E-Mail Removed)> wrote in

message
>> >> >news:(E-Mail Removed)...
>> >> >> 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
>> >> >> (E-Mail Removed)
>> >> >>
>> >> >> This post is provided as-is with no warranties and confers no

>rights.
>> >> >>
>> >> >>
>> >> >> --------------------
>> >> >> >From: "RodBillett" <(E-Mail Removed)>
>> >> >> >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: <(E-Mail Removed)>
>> >> >> >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
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >

>>

>
>
>


 
Reply With Quote
 
RodBillett
Guest
Posts: n/a
 
      11-21-2003
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]" <(E-Mail Removed)> wrote in message
news:rFd#$(E-Mail Removed)...
> 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
> (E-Mail Removed)
>
> This post is provided as-is with no warranties and confers no rights.
>
> --------------------
> >From: "RodBillett" <(E-Mail Removed)>
> >References: <(E-Mail Removed)>

> <(E-Mail Removed)>
> <(E-Mail Removed)>
> <(E-Mail Removed)>
> <(E-Mail Removed)>
> <tu#(E-Mail Removed)>
> >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: <(E-Mail Removed)>
> >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]" <(E-Mail Removed)> wrote in message
> >news:tu#(E-Mail Removed)...
> >> 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
> >> (E-Mail Removed)
> >>
> >> This post is provided as-is with no warranties and confers no rights.
> >>
> >> --------------------
> >> >From: "RodBillett" <(E-Mail Removed)>
> >> >References: <(E-Mail Removed)>
> >> <(E-Mail Removed)>
> >> <(E-Mail Removed)>
> >> <(E-Mail Removed)>
> >> >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: <(E-Mail Removed)>
> >> >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]" <(E-Mail Removed)> wrote in message
> >> >news:(E-Mail Removed)...
> >> >> 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
> >> >> (E-Mail Removed)
> >> >>
> >> >> This post is provided as-is with no warranties and confers no

rights.
> >> >>
> >> >> --------------------
> >> >> >From: "RodBillett" <(E-Mail Removed)>
> >> >> >References: <(E-Mail Removed)>
> >> >> <(E-Mail Removed)>
> >> >> >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: <(E-Mail Removed)>
> >> >> >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

the
> >js
> >> >> file
> >> >> >was from the correct subdirectory.
> >> >> >
> >> >> >Thanks
> >> >> >Rod Billett.
> >> >> >
> >> >> >"Jim Cheshire [MSFT]" <(E-Mail Removed)> wrote in

> message
> >> >> >news:(E-Mail Removed)...
> >> >> >> 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
> >> >> >> (E-Mail Removed)
> >> >> >>
> >> >> >> This post is provided as-is with no warranties and confers no

> >rights.
> >> >> >>
> >> >> >>
> >> >> >> --------------------
> >> >> >> >From: "RodBillett" <(E-Mail Removed)>
> >> >> >> >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: <(E-Mail Removed)>
> >> >> >> >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
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >> >
> >>

> >
> >
> >

>



 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-21-2003
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
(E-Mail Removed)

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

--------------------
>From: "RodBillett" <(E-Mail Removed)>
>References: <(E-Mail Removed)>

<(E-Mail Removed)>
<(E-Mail Removed)>
<(E-Mail Removed)>
<(E-Mail Removed)>
<tu#(E-Mail Removed)>
<(E-Mail Removed)>
<rFd#$(E-Mail Removed)>
>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: <(E-Mail Removed)>
>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.gbl
>Xref: 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

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]" <(E-Mail Removed)> wrote in message
>news:rFd#$(E-Mail Removed)...
>> 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
>> (E-Mail Removed)
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>> --------------------
>> >From: "RodBillett" <(E-Mail Removed)>
>> >References: <(E-Mail Removed)>

>> <(E-Mail Removed)>
>> <(E-Mail Removed)>
>> <(E-Mail Removed)>
>> <(E-Mail Removed)>
>> <tu#(E-Mail Removed)>
>> >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: <(E-Mail Removed)>
>> >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.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]" <(E-Mail Removed)> wrote in message
>> >news:tu#(E-Mail Removed)...
>> >> 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
>> >> (E-Mail Removed)
>> >>
>> >> This post is provided as-is with no warranties and confers no rights.
>> >>
>> >> --------------------
>> >> >From: "RodBillett" <(E-Mail Removed)>
>> >> >References: <(E-Mail Removed)>
>> >> <(E-Mail Removed)>
>> >> <(E-Mail Removed)>
>> >> <(E-Mail Removed)>
>> >> >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: <(E-Mail Removed)>
>> >> >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 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]" <(E-Mail Removed)> wrote in

message
>> >> >news:(E-Mail Removed)...
>> >> >> 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
>> >> >> (E-Mail Removed)
>> >> >>
>> >> >> This post is provided as-is with no warranties and confers no

>rights.
>> >> >>
>> >> >> --------------------
>> >> >> >From: "RodBillett" <(E-Mail Removed)>
>> >> >> >References: <(E-Mail Removed)>
>> >> >> <(E-Mail Removed)>
>> >> >> >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: <(E-Mail Removed)>
>> >> >> >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 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]" <(E-Mail Removed)> wrote in

>> message
>> >> >> >news:(E-Mail Removed)...
>> >> >> >> 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
>> >> >> >> (E-Mail Removed)
>> >> >> >>
>> >> >> >> This post is provided as-is with no warranties and confers no
>> >rights.
>> >> >> >>
>> >> >> >>
>> >> >> >> --------------------
>> >> >> >> >From: "RodBillett" <(E-Mail Removed)>
>> >> >> >> >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: <(E-Mail Removed)>
>> >> >> >> >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
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >

>>

>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Smart Navigation asp.net 2.0 menu client script error =?Utf-8?B?U2lk?= ASP .Net 0 09-14-2006 04:48 AM
Error with smart Navigation =?Utf-8?B?TmFtcmF0YSBQ?= ASP .Net 2 06-07-2005 04:51 AM
Unusual Error with Smart Navigation............urgent.please help thomson ASP .Net 1 11-19-2004 03:39 AM
smart navigation causing java script error David ASP .Net 1 07-31-2004 03:16 PM
Error in Smart Navigation + Javascript Priya ASP .Net 1 12-02-2003 09:59 AM



Advertisments