« Previous Next »

Answered Thread: Problems with ExecuteGlobal in VBScript on IIS 5.1 but not 6.0

Last post 10-30-2009 2:24 PM by djplong. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-30-2009, 1:37 PM

    • djplong
    • Not Ranked
    • Joined on 10-30-2009, 1:35 PM
    • Posts 2

    Problems with ExecuteGlobal in VBScript on IIS 5.1 but not 6.0

    What setting might be missing or misapplied that would cause the same code that works on an IIS 6.0 server to fail on an IIS 5.1 server?

    I've inherited this large Classic ASP application. It "caches" a series of files with funcitons in them using the ExecuteGlobal command. On both server, the command executes without error. However, when the application later tries to reference the functions that were 'cached', IIS 6.0 seems to work just fine while IIS 5.1 acts as though those functions never existed and I get errors to that effect.

    The 5.1 system is for testing purposes on an XP Pro box. The 6.0 is our production system on Windows 2003.

    It's taken a long time to isolate the problem (identical code failing in test but working in production) to this code. Setting up another server isn't an option unfortunately (budget restraints - no money to pay the support people or to rent space where all servers must be physically located - military installation).

    What directions have I missed looking into?

  • 10-30-2009, 1:59 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,238
    • IIS MVPs

    Answered Re: Problems with ExecuteGlobal in VBScript on IIS 5.1 but not 6.0

    I've never used ExecuteGlobal so this is new to me.

    Honestly, I'm not sure if it's worth tracking down.  It would really be a better practice to develop on the same platform that you deploy to.

    djplong:
    Setting up another server isn't an option

    IIS is capable of hosting multiple sites.  Have you considered setting up a development site on your IIS 6 box?  You don't even need a second IP - just use the host header method to identify the second site.

  • 10-30-2009, 2:24 PM In reply to

    • djplong
    • Not Ranked
    • Joined on 10-30-2009, 1:35 PM
    • Posts 2

    Re: Problems with ExecuteGlobal in VBScript on IIS 5.1 but not 6.0

    It's a military site and regulations specify that test environments are not allowed on production servers.  We already asked for a test area and that's how we found out about the prohibition.

    They won't spring for another machine, much less the money for the support and placement.

    Hence the reason I'm stuck with 5.1 here for the next few months.  We're currently writing a replacement application in ASP.NET, VB.NET and C# but there are parts of the 'classic' app that still ahve to be supported until sometime next year.

Page 1 of 1 (3 items)
Microsoft Communities