473,766 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Script debugging very strange behavior after error - can't use file name any more.

Efy
Hi,

I was debugging my JavaScript in VS2005, the script probably had an
error some ware (Line 25), after I fixed the error, I am trying to run
the page again I am getting the same error "Illegal argument" at
that same line 25.
What ever I did does not help, I have closed the program, I restarted
my computer, I changed the page to contain very simple html script with
no js the error is still there on line 25. I deleted all lines living
only main Tags, having 16 lines in the file so the error is shows on
closing tag of html.
The same exact script on a different file name works just fine.

Very strange!
Where the computer may hold this error with line No.
I have searched the filename in the registry but did not find it
anywhere interesting.

Any Ideas?
Thanks in adv

Jan 26 '07 #1
4 1141
Efy,

You may be having a caching issue. Try saving the file with current date, it
should instruct browser to re-load it. You can also go to IE-Tools-Options
and delete temporary files.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Efy" <Ef*****@moch.g ov.ilwrote in message
news:11******** **************@ v33g2000cwv.goo glegroups.com.. .
Hi,

I was debugging my JavaScript in VS2005, the script probably had an
error some ware (Line 25), after I fixed the error, I am trying to run
the page again I am getting the same error "Illegal argument" at
that same line 25.
What ever I did does not help, I have closed the program, I restarted
my computer, I changed the page to contain very simple html script with
no js the error is still there on line 25. I deleted all lines living
only main Tags, having 16 lines in the file so the error is shows on
closing tag of html.
The same exact script on a different file name works just fine.

Very strange!
Where the computer may hold this error with line No.
I have searched the filename in the registry but did not find it
anywhere interesting.

Any Ideas?
Thanks in adv

Jan 26 '07 #2
Efy
Eliyahu,

First of all thank you for your replay!
Secondly I have tried tonight again to copy the code to it original
file and it worked, seems like what you said.
But, how can it be a catch issue if I restarted my computer?

Thanks again,
Efy.
>
You may be having a caching issue. Try saving the file with current date, it
should instruct browser to re-load it. You can also go to IE-Tools-Options
and delete temporary files.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin

Jan 27 '07 #3
Efy,

The browser cache consists of local copies of the files the browser
downloads. When the browser needs to get a file from a webserver, it first
checks if the file in its latest version already exists in the cache. If it
does, the local cached version is used instead of the server one. The same
is true even if the web application and the browser run on the same machine,
the browser will check your application files against the cache.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Efy" <Ef*****@moch.g ov.ilwrote in message
news:11******** **************@ v45g2000cwv.goo glegroups.com.. .
Eliyahu,

First of all thank you for your replay!
Secondly I have tried tonight again to copy the code to it original
file and it worked, seems like what you said.
But, how can it be a catch issue if I restarted my computer?

Thanks again,
Efy.

You may be having a caching issue. Try saving the file with current
date, it
should instruct browser to re-load it. You can also go to
IE-Tools-Options
and delete temporary files.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin

Jan 27 '07 #4
Efy
Thank You Eliyahu,

I have definitely learned something..

Jan 28 '07 #5

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

Similar topics

0
3227
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs converted/developed with VB.NET. What I want from debugging is to be able to step into the methods in the DLLs called from ASP scripts using Visual Studio .NET. Background: For typical script debugging issues, you can read and follow the two documents on...
8
1217
by: Peter van der Veen | last post by:
Hi I've something strange. There is a different when an error occurs in 2 differen project/solutions. In one project when a get an error the debugger stops at the line which causes the error and show the error window. This is normal. (Title of the dialog = Microsoft Development Environment') A second project doesn't do that. It shows another error dialog (the
6
1819
by: gerry | last post by:
I am almost at the end of my rope - I have to go through this process everytime a new version of studio is released or it is installed on a new machine - what a (^%&$^& pain. I am trying to debug a web app from within vs.net 2005 locally on windows 2003 server I just cannot get debugging to work anywhere other than localhost I completely uninstalled the ie enhanced security I've been through all of the doc's i can google
5
7802
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an app.config file referencing arbitrary versions of the plug-in components they wish to consume. Here's the problem: Assuming I have installed any one of our application software,
5
2005
by: Bjorn Sagbakken | last post by:
Hello I have just migrated from VS 2003 to VS 2005, and .NET framework 1.1 to 2.0 I am at the end of debugging and fixing stuff. Now there is one error I just cannot find a solution to: On some pages I have applied a small client-script to trap the enter-key beeing pressed and re-route this action. With the new version this little script still works, it traps the enter-key. BUT it causes postback-errors on many other .NET control,...
9
20899
by: 8anos | last post by:
Hello, I am new at the community and newbie at programming :) As you may know rapidshare provides a perl script for linux, to upload files at their servers. You can find the original scripts at rapidshare news : http://images.rapidshare.com/software/rsapi.pl If you test it you will see that you can upload one file at time. I try to modify it in that way that script can read a text file with the names of the files i want to...
0
7334
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the beginning CIS student who is struggling to get their programs working. I work in the computer lab at the college I'm attending and I see many students who don't know how to use the IDE for best results. Visual Studio automatically creates a number of...
2
20849
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use some of the tools provided on the command-line. If you hate the command line tools, get over it since you’re bound to be using them at some point in your career. All commands in Linux ARE case sensitive so capital letters are different from lowercase...
1
47483
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click on a link and after a moment or two a file download dialog box pops-up in your web browser and prompts you for some instructions, such as “open” or “save“. I’m going to show you how to do that using a perl script. What You Need Any recent...
0
9404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10008
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5279
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.