IIS6 doesn't include client side script

Ask a Question related to ASP, Design and Development.

  1. #1

    Default IIS6 doesn't include client side script

    I have several pages where we inlcude client side script using the following
    syntax.

    <script type="text/vbscript" language="VBScript"
    src="<%=Session("BaseURL")%>library/common.vs"></script>

    where the BaseUrl = [url]http://localhost/[/url] (for testing) and
    [url]http://www.blablabla.com/[/url] for live.This works in IIS4 and IIS5 but not in
    IIS6. The include is CLIENT SIDE script

    David


    David A. Beck Guest

  2. Similar Questions and Discussions

    1. Client side script ASP.NET
      Hi, How can i eassely add client side script in my code. I have a sort of TAB control, that works through postbacks but i want the action taken...
    2. Client Side Script interferes with Server Side Script?
      I added the form validation script (Java Script) to the head section of my insert records form page which works great when tested but when I submit...
    3. Client-Side Script for CheckBox Web Control
      I'm trying to create a server Web control that renders as a checkbox that has an OnClick event associated with it. I've created a short proof of...
    4. Client Side Java Script
      Hi, am not a ASP.NET programmer, and it seems that i have to learn web development, so i need help learning java script. any links to some...
    5. client side script with RegisterStartupScript issue
      no, you can not control the order the blocks are rendered. you can concat the scripts and register them once. also if you are doing code like: ...
  3. #2

    Default Re: IIS6 doesn't include client side script

    What does "doesn't work" mean? What do you see when you view source? Why
    does the file have a .vs extension and not .vbs? Do you have the lockdown
    tool on full blast, because these scripts will probably be rejected...



    "David A. Beck" <davidb@beckb.com> wrote in message
    news:#hSnqqhSDHA.304@tk2msftngp13.phx.gbl...
    > I have several pages where we inlcude client side script using the
    following
    > syntax.
    >
    > <script type="text/vbscript" language="VBScript"
    > src="<%=Session("BaseURL")%>library/common.vs"></script>
    >
    > where the BaseUrl = [url]http://localhost/[/url] (for testing) and
    > [url]http://www.blablabla.com/[/url] for live.This works in IIS4 and IIS5 but not in
    > IIS6. The include is CLIENT SIDE script
    >
    > David
    >
    >

    Aaron Bertrand - MVP Guest

  4. #3

    Default Re: IIS6 doesn't include client side script

    "David A. Beck" <davidb@beckb.com> wrote in message
    news:%23hSnqqhSDHA.304@tk2msftngp13.phx.gbl...
    > I have several pages where we inlcude client side script using the
    following
    > syntax.
    >
    > <script type="text/vbscript" language="VBScript"
    > src="<%=Session("BaseURL")%>library/common.vs"></script>
    >
    > where the BaseUrl = [url]http://localhost/[/url] (for testing) and
    > [url]http://www.blablabla.com/[/url] for live.This works in IIS4 and IIS5 but not in
    > IIS6. The include is CLIENT SIDE script
    IIS 6 probably doesn't know that mime-type:
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;326965[/url]

    --
    Tom Kaminski IIS MVP
    [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
    [url]http://mvp.support.microsoft.com/[/url]
    [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]



    Tom Kaminski [MVP] Guest

  5. #4

    Default Re: IIS6 doesn't include client side script

    Thanks,

    That was it.

    Dab
    "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
    news:beui7c$9iv14@kcweb01.netnews.att.com...
    > "David A. Beck" <davidb@beckb.com> wrote in message
    > news:%23hSnqqhSDHA.304@tk2msftngp13.phx.gbl...
    > > I have several pages where we inlcude client side script using the
    > following
    > > syntax.
    > >
    > > <script type="text/vbscript" language="VBScript"
    > > src="<%=Session("BaseURL")%>library/common.vs"></script>
    > >
    > > where the BaseUrl = [url]http://localhost/[/url] (for testing) and
    > > [url]http://www.blablabla.com/[/url] for live.This works in IIS4 and IIS5 but not
    in
    > > IIS6. The include is CLIENT SIDE script
    >
    > IIS 6 probably doesn't know that mime-type:
    > [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;326965[/url]
    >
    > --
    > Tom Kaminski IIS MVP
    > [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running
    IIS
    > [url]http://mvp.support.microsoft.com/[/url]
    > [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
    >
    >
    >

    David A. Beck Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139