Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default IIS 5.1 vs IIS 5.0?

    I have an database-driven ASP application that works on Windows 98 running
    PWS and Windows 2000 running IIS 5.0 but it does not run on Windows XP
    Professional running IIS 5.1.

    ASP pages are served under IIS 5.1 but database pages do not. Does anyone
    have any ideas? Thanks.


    McKirahan Guest

  2. #2

    Default Re: IIS 5.1 vs IIS 5.0?

    "McKirahan" <News@McKirahan.com> wrote in message
    news:jUxTb.167786$nt4.751493@attbi_s51...
    > I have an database-driven ASP application that works on Windows 98 running
    > PWS and Windows 2000 running IIS 5.0 but it does not run on Windows XP
    > Professional running IIS 5.1.
    >
    > ASP pages are served under IIS 5.1 but database pages do not. Does anyone
    > have any ideas? Thanks.
    >

    Error messages?

    My guess is permissions.


    --
    John Blessing

    [url]http://www.LbeHelpdesk.com[/url] - Help Desk software priced to suit all
    businesses
    [url]http://www.free-helpdesk.com[/url] - Completely free help desk software !
    [url]http://www.lbetoolbox.com[/url] - Remove Duplicates from MS Outlook


    John Blessing Guest

  3. #3

    Default Re: IIS 5.1 vs IIS 5.0?

    "McKirahan" <News@McKirahan.com> wrote in message
    news:jUxTb.167786$nt4.751493@attbi_s51...
    > I have an database-driven ASP application that works on Windows 98 running
    > PWS and Windows 2000 running IIS 5.0 but it does not run on Windows XP
    > Professional running IIS 5.1.
    >
    > ASP pages are served under IIS 5.1 but database pages do not. Does anyone
    > have any ideas? Thanks.
    It's impossible to help without knowing exactly what "database pages do not"
    means ...

    --
    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

  4. #4

    Default Re: IIS 5.1 vs IIS 5.0?

    "John Blessing" <jb@**REMOVE**THIS**LbeHelpdesk.com> wrote in message
    news:a0yTb.15798$YV1.1512@newsfep4-winn.server.ntli.net...
    > "McKirahan" <News@McKirahan.com> wrote in message
    > news:jUxTb.167786$nt4.751493@attbi_s51...
    > > I have an database-driven ASP application that works on Windows 98
    running
    > > PWS and Windows 2000 running IIS 5.0 but it does not run on Windows XP
    > > Professional running IIS 5.1.
    > >
    > > ASP pages are served under IIS 5.1 but database pages do not. Does
    anyone
    > > have any ideas? Thanks.
    > >
    >
    >
    > Error messages?
    >
    > My guess is permissions.
    Thanks for your reply.

    I've set the permissions on the folder to:
    Script source access
    Read
    Write
    and Execute Permissions to:
    Scripts only


    Apparently, it's the FileSystemObject not database access that causes the
    problem.


    I created several small ASP pages to test. All files are under
    "c:\inetpub\wwwroot\temp\".


    Here's the error message:

    Active Server Pages, ASP 0113 (0x80004005)
    The maximum amount of time for a script to execute was exceeded. You can
    change this limit by specifying a new value for the property
    Server.ScriptTimeout or by changing the value in the IIS administration
    tools.
    /Temp/Mod.asp


    Here's the ASP page that causes it:

    <% Option Explicit
    Const cASP = "Mod.asp"
    Response.Write(cASP)
    '*
    '* Date Last Modified
    '*
    Dim objFSO
    Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
    Dim objGFI
    Set objGFI = objFSO.GetFile(Server.MapPath(cASP))
    Dim strDLM
    strDLM = objGFI.DateLastModified
    Set objGFI = Nothing
    Set objFSO = Nothing
    Response.Write(" : " & strDLM)
    %>

    It times out before any output is displayed.


    I've also tried the following ASP page but it also fails:

    <% Option Explicit
    Const cASP = "Out.asp"
    Const cTXT = "Out.txt"
    Response.Write("<b>" & cASP & "</b>")
    '*
    '* Write Output File
    '*
    Dim objFSO
    Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
    Dim objOTF
    Set objOTF = objFSO.OpenTextFile(cTXT,2,true)
    objOTF.WriteLine(cTXT)
    Set objOTF = Nothing
    Set objFSO = Nothing
    %>


    Thanks in advance for any help.


    McKirahan Guest

  5. #5

    Default Re: IIS 5.1 vs IIS 5.0?

    "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
    news:bvmb2t$e2m14@kcweb01.netnews.att.com...
    > "McKirahan" <News@McKirahan.com> wrote in message
    > news:jUxTb.167786$nt4.751493@attbi_s51...
    > > I have an database-driven ASP application that works on Windows 98
    running
    > > PWS and Windows 2000 running IIS 5.0 but it does not run on Windows XP
    > > Professional running IIS 5.1.
    > >
    > > ASP pages are served under IIS 5.1 but database pages do not. Does
    anyone
    > > have any ideas? Thanks.
    >
    > It's impossible to help without knowing exactly what "database pages do
    not"
    > means ...
    Thanks for your reply.

    Please see my response to John Blessing's reply.



    McKirahan Guest

  6. #6

    Default Re: IIS 5.1 vs IIS 5.0?

    "McKirahan" <News@McKirahan.com> wrote in message
    news:kUNTb.215977$na.352923@attbi_s04...
    > Apparently, it's the FileSystemObject not database access that causes the
    > problem.
    [url]http://www.aspfaq.com/show.asp?id=2180[/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

  7. #7

    Default Re: IIS 5.1 vs IIS 5.0?

    "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
    news:bvod0q$e7c13@kcweb01.netnews.att.com...
    > "McKirahan" <News@McKirahan.com> wrote in message
    > news:kUNTb.215977$na.352923@attbi_s04...
    > > Apparently, it's the FileSystemObject not database access that causes
    the
    > > problem.
    >
    > [url]http://www.aspfaq.com/show.asp?id=2180[/url]

    Thank you, thank you, thank you!

    But why do I have to turn Script Blocking off under Windows XP Professional
    but not under Windows 98 SE running PWS? With Win98, when a script tries to
    run I'm prompted for what to do.

    Note -- I had to reboot after disabling Script Blocking within Norton
    AntiVirus before it took effect.


    McKirahan Guest

  8. #8

    Default Re: IIS 5.1 vs IIS 5.0?

    "McKirahan" <News@McKirahan.com> wrote in message
    news:p3QTb.209789$I06.2321062@attbi_s01...
    > "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
    > news:bvod0q$e7c13@kcweb01.netnews.att.com...
    > > "McKirahan" <News@McKirahan.com> wrote in message
    > > news:kUNTb.215977$na.352923@attbi_s04...
    > > > Apparently, it's the FileSystemObject not database access that causes
    > the
    > > > problem.
    > >
    > > [url]http://www.aspfaq.com/show.asp?id=2180[/url]
    >
    >
    > Thank you, thank you, thank you!
    >
    > But why do I have to turn Script Blocking off under Windows XP
    Professional
    > but not under Windows 98 SE running PWS? With Win98, when a script tries
    to
    > run I'm prompted for what to do.
    >
    > Note -- I had to reboot after disabling Script Blocking within Norton
    > AntiVirus before it took effect.

    Actually, I'm not prompted...

    BTW, I'm using Norton's Personal Firewall on Win98 but not on WinXP...



    McKirahan Guest

  9. #9

    Default Re: IIS 5.1 vs IIS 5.0?

    > But why do I have to turn Script Blocking off under Windows XP
    Professional
    > but not under Windows 98 SE running PWS?
    Because Windows 98 is much less secure and probably doesn't raise the flag
    that triggers Norton.

    You have a solution, why does it matter what you have to do here or there?
    Get rid of Windows 98 already.

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]


    Aaron Bertrand - MVP Guest

  10. #10

    Default Re: IIS 5.1 vs IIS 5.0?

    "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
    news:e88wI7o6DHA.2524@TK2MSFTNGP11.phx.gbl...
    > > But why do I have to turn Script Blocking off under Windows XP
    >> Professional but not under Windows 98 SE running PWS?
    >
    > Because Windows 98 is much less secure and probably doesn't raise the flag
    > that triggers Norton.
    >
    > You have a solution, why does it matter what you have to do here or there?
    > Get rid of Windows 98 already.
    >
    > --
    > Aaron Bertrand
    > SQL Server MVP
    > [url]http://www.aspfaq.com/[/url]

    a) With Script Blocking disabled am I not exposed?

    b) Re Win98: I support multiple clients / environments...


    McKirahan Guest

  11. #11

    Default Re: IIS 5.1 vs IIS 5.0?

    > a) With Script Blocking disabled am I not exposed?

    Sure, owning a computer you are exposed. How likely it is that you're going
    to run a damaging script on your computer is completely unknown to me.
    > b) Re Win98: I support multiple clients / environments...
    And imagine how many Microsoft supports, yet they stop supporting them at
    some point.

    A


    Aaron Bertrand [MVP] Guest

  12. #12

    Default Re: IIS 5.1 vs IIS 5.0?

    On Tue, 03 Feb 2004 21:10:44 GMT, "McKirahan" <News@McKirahan.com>
    wrote:
    >"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
    >news:e88wI7o6DHA.2524@TK2MSFTNGP11.phx.gbl...
    >> > But why do I have to turn Script Blocking off under Windows XP
    >>> Professional but not under Windows 98 SE running PWS?
    >>
    >> Because Windows 98 is much less secure and probably doesn't raise the flag
    >> that triggers Norton.
    >>
    >> You have a solution, why does it matter what you have to do here or there?
    >> Get rid of Windows 98 already.
    >>
    >> --
    >> Aaron Bertrand
    >> SQL Server MVP
    >> [url]http://www.aspfaq.com/[/url]
    >
    >
    >a) With Script Blocking disabled am I not exposed?
    It's a matter of degrees. If you want to be secure from script
    execution, leave script blocking on in Norton and don't run ASP, which
    are scripts. If you want to run ASP, you accept the rsks involved.

    Similar to driving. If you want to stay safe, you can keep to the
    speed limit and use your seat belt, but to be really safe the car has
    to stay in the garage. It means you now walk to the store to get
    groceries, but you're less likely to be in an automobile accident.
    >b) Re Win98: I support multiple clients / environments...
    Then support them and deal with the differences. Though I'm not sure
    why supporting a client or environement requires you to run W98.

    Jeff
    Jeff Cochran 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