473,320 Members | 1,814 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,320 software developers and data experts.

Visual Studio.NET 2003, Norton Internnet Security 2005 & debugging

Hi,

Is anyone else experiencing a problem with VS.NET 2003 & Norton Internet
Security 2005, specifically when debugging?

More and more often when I'm debugging an ASPX page, the code breaks on the
following JavaScript function:

function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad(); // code breaks here
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

The error message is:
Microsoft JScript runtime error: Function expected

If I drag the next execution line down to the closing bracket, the page
loads normally.

This piece of JavaScript is automatically inserted into HTML pages by Norton
Internet Security 2005, but the problem only exhibits itself in Debug mode -
in Release mode or running the site "natively" i.e. through a browser not
within VS.NET, this doesn't happen. I've not really found anything useful
about this through a Google search. Has anyone else seen this strange
behaviour?

Any assistance gratefully received.

Mark
Nov 19 '05 #1
6 1417
Mark, shouldn't you have another set of brackets around your "if" statement?
The script may be confused... Just something to try.

function SymOnLoad()
{
if(SymRealOnLoad != null){
SymRealOnLoad(); // code breaks here
}
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:OL**************@TK2MSFTNGP10.phx.gbl...
Hi,

Is anyone else experiencing a problem with VS.NET 2003 & Norton Internet
Security 2005, specifically when debugging?

More and more often when I'm debugging an ASPX page, the code breaks on
the following JavaScript function:

function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad(); // code breaks here
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

The error message is:
Microsoft JScript runtime error: Function expected

If I drag the next execution line down to the closing bracket, the page
loads normally.

This piece of JavaScript is automatically inserted into HTML pages by
Norton Internet Security 2005, but the problem only exhibits itself in
Debug mode - in Release mode or running the site "natively" i.e. through a
browser not within VS.NET, this doesn't happen. I've not really found
anything useful about this through a Google search. Has anyone else seen
this strange behaviour?

Any assistance gratefully received.

Mark

Nov 19 '05 #2
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> wrote in
message news:eL**************@TK2MSFTNGP12.phx.gbl...
Mark, shouldn't you have another set of brackets around your "if"
statement? The script may be confused... Just something to try.


Please re-read my original post, specifically the bit which says...
This piece of JavaScript is automatically inserted into HTML pages by
Norton Internet Security 2005,

Nov 19 '05 #3
Mark,

Sorry, I missed that.

Searching the internet that code is for the symantec pop-up blocker. It's
strange because I have pop-up blocking enabled, yet symantec isn't inserting
this code into any of the sites I've created. Of course, I don't do any
pop-ups so maybe it doesn't insert the code unless it finds popup code...

I don't think there is a way to stop the insertion. And, unfortunately I
have no idea what to do about it while debugging other than to possibly
comment out any popup code you may be running.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> wrote in
message news:eL**************@TK2MSFTNGP12.phx.gbl...
Mark, shouldn't you have another set of brackets around your "if"
statement? The script may be confused... Just something to try.


Please re-read my original post, specifically the bit which says...
This piece of JavaScript is automatically inserted into HTML pages by
Norton Internet Security 2005,


Nov 19 '05 #4
Mark,

I thought of something right after I said I couldn't think of anything.

What about adding your site (localhost) to norton as a trusted site?

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> wrote in
message news:eL**************@TK2MSFTNGP12.phx.gbl...
Mark, shouldn't you have another set of brackets around your "if"
statement? The script may be confused... Just something to try.


Please re-read my original post, specifically the bit which says...
This piece of JavaScript is automatically inserted into HTML pages by
Norton Internet Security 2005,


Nov 19 '05 #5
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> wrote in
message news:ea**************@TK2MSFTNGP14.phx.gbl...
I thought of something right after I said I couldn't think of anything.

What about adding your site (localhost) to norton as a trusted site?


Already did - made no difference...
Nov 19 '05 #6
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> wrote in
message news:O8**************@TK2MSFTNGP12.phx.gbl...
Searching the internet that code is for the symantec pop-up blocker.
Correct.
I don't think there is a way to stop the insertion.
Me neither...
And, unfortunately I have no idea what to do about it while debugging
other than to possibly comment out any popup code you may be running.


I'm not running any popup code...
Nov 19 '05 #7

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

Similar topics

2
by: Ralph | last post by:
I used to have Visual Basic .net std. 2003 installed on WinXP SP1A. But I found it too hard to upgrade WinXP to SP2. Now, I do have WinXP SP2 installed, but I am having problems installing...
2
by: Michael | last post by:
Hi, Can someone tell me if I could use Visual Studio 2005 (RTM) alongside Visual Studio .NET 2003? Also, can VS 2005 generate output targeting 1.1? I have code written for .NET 1.1 and...
26
by: Bruno Jouhier [MVP] | last post by:
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute for the first project). At home, Visual Studio...
1
by: Edu | last post by:
Hi, If you use Norton Internet Security, you might be having the same problem I'm having when developing on Visual Studio .net. Before, when using vb6, I had only once to set a rule on the...
3
by: Thom Little | last post by:
I have ASP.NET websites deployed on a number of servers. Thee were developed with Visual Studio 2003. Is it true that Visual Studio 2005 only supports .NET Framework 2.0 and I will be required...
0
by: DaveOnSEN | last post by:
I'm having some trouble migrating from ASP.NET 1.1 to ASP.NET 2.0. On the development server, a lot of images that are in subfolders don't get served. They appear as broken links. However, I...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
4
by: William LaMartin | last post by:
For the past month or so, while working with VB.net, as I use the mouse to either move a control or resize it, the mouse cursor will freeze sometimes. This happens from several times a day to once...
5
by: Salad | last post by:
As far as I'm concerned I support the chopping off of fingers of programmers that put out worms and viruses. I could care less if the programmer was 5 years old...off with the fingers. Anyway,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.