Re: Linking Scripts

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: PO (po)
Date: 12/03/04


Date: Fri, 3 Dec 2004 19:20:57 +0100

Hi

Thanks for all the help! I've solved the problem. For some reason the IIS on
the webserver didn't like the .inc suffix. I renamed the file to Utils.txt
and then everthing worked.

Regards
PO

"McKirahan" <News@McKirahan.com> wrote in message
news:yNKrd.180583$HA.37226@attbi_s01...
> "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: DNS Query
    ... > Leave that webserver out of the domain and stick it on the routerside. ... > server. ... >>> Regards, ... >>> Marina ...
    (microsoft.public.windows.server.sbs)
  • Re: Linking Scripts
    ... the current statement (I use MS InterDev). ... The funny thing is that it works locally but not on the webserver. ... Regards ... > 1) Local access: ...
    (microsoft.public.scripting.vbscript)
  • Re: Netcraft
    ... Thanks and regards, ... > Does anyone know how Netcraft queries a webserver to get the info it ... > does (OS, web server software, uptime, etc.)? ...
    (RedHat)
  • Re: php free hosts
    ... Install MySQL and a webserver on your local computer. ... Regards, ... Matthias ...
    (comp.lang.php)
  • Re: Page Cannot Be Displayed Errors
    ... It sounds like you are quite close to the webserver. ... need to connect directly to IIS) ... If you see requests in the network monitor ... There is a network monitor included in Windows Server 2003 (not sure about ...
    (microsoft.public.inetserver.iis)