Re: Linking Scripts

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: McKirahan (News_at_McKirahan.com)
Date: 12/02/04


Date: Thu, 02 Dec 2004 20:19:42 GMT


"PO" <po> wrote in message news:Oots2SK2EHA.3932@TK2MSFTNGP09.phx.gbl...
> Both are true.
>
> I don't know exactly what you mean by "..URL -- do you see the include?".
> When I try to debug I get a message saying "Source code is not available
for
> the current statement (I use MS InterDev). I guess that makes sense when
the
> include doesn't work and the script is not included in the .htm page.
>
> The funny thing is that it works locally but not on the webserver. Could
> there by anything else wrong with the following statement:
>
> <Script Language="VBS" SRC="../../_Script/Utils.inc"></Script>
>
> (I've also tried <script type="text/vbscript"
> src="../../_Script/Utils.inc"></script> as you suggested with the same
> negative result)
>
> The statement is placed between the <HEAD> tags. Could that have anything
to
> do about it?
>
> Regards
> PO

[snip]

http://{domain}/{folder1}/_Script/Utils.inc

If so, what happens when you submit the above URL -- do you see the include?

Here's an example of what I mean by the above:

The MSN Web site (http://www.msn.com) Home page's source code has the line:

<script type="text/javascript"
src="http://hp.msn.com/scr/home/helppane26.js">

If I attempt to open the "include" URL (i.e.
http://hp.msn.com/scr/home/helppane26.js) in my IE browser it asks me if I
want to Open or Save it; under Netscape it will just display it (the source
code).

What happens when you do it with your URL?



Relevant Pages

  • Re: Debug and break point problem - There is no source code available
    ... manually recreate all the classes and then paste the code in... ... I, too, moved the source code from one ... > I started a new project and confirmed that I can debug it. ... >> I had to manually change the reference in the Solution properties. ...
    (microsoft.public.dotnet.general)
  • Re: Unable to DEbug the Driver in the user mode
    ... I have Printer driver code which uses uniDrv & OEMUI code. ... ANOTHER INTEROP dLL WHICH TRANSFER THE BYTE ARRAY TO .nET ... I am getting some information about the debug content ... but I am not able to debug source code line by line. ...
    (microsoft.public.development.device.drivers)
  • Re: debugging in release mode
    ... The idea that source code was in the .exe was my misconception. ... The alert is a callback. ... SInce I now know that it is not giving away any secrets to deliver debug ... and then turn off optimizations and turn on generation of debug ...
    (microsoft.public.vc.mfc)
  • Re: Seg fault even though address space is accessible
    ... There's a guy around here somewhere who can debug your problem (no ... matter what it is) using only the debugger. ... debugger and not seeing the source code. ... I did extend the position held by one of the trolls that the debugger ...
    (comp.lang.c)
  • Re: Big problems with glibc - how to debug?
    ... >> kernel services back ported to the Red Hat 2.4 kernels. ... Hat installs. ... this that I can debug with source code;-) ... > have a one-line change in source code which triggers the problem. ...
    (comp.os.linux.development.apps)