Ask a Question related to ASP Database, Design and Development.
-
McKirahan #1
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
-
John Blessing #2
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
-
Tom Kaminski [MVP] #3
Re: IIS 5.1 vs IIS 5.0?
"McKirahan" <News@McKirahan.com> wrote in message
news:jUxTb.167786$nt4.751493@attbi_s51...It's impossible to help without knowing exactly what "database pages do not"> 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.
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
-
McKirahan #4
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...running> "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 98anyone> > 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. DoesThanks for your reply.>> > have any ideas? Thanks.
> >
>
> Error messages?
>
> My guess is permissions.
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
-
McKirahan #5
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...running> "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 98anyone> > 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. Doesnot">> > have any ideas? Thanks.
> It's impossible to help without knowing exactly what "database pages doThanks for your reply.> means ...
Please see my response to John Blessing's reply.
McKirahan Guest
-
Tom Kaminski [MVP] #6
Re: IIS 5.1 vs IIS 5.0?
"McKirahan" <News@McKirahan.com> wrote in message
news:kUNTb.215977$na.352923@attbi_s04...[url]http://www.aspfaq.com/show.asp?id=2180[/url]> Apparently, it's the FileSystemObject not database access that causes the
> problem.
--
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
-
McKirahan #7
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...the> "McKirahan" <News@McKirahan.com> wrote in message
> news:kUNTb.215977$na.352923@attbi_s04...> > Apparently, it's the FileSystemObject not database access that causes>> > 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
-
McKirahan #8
Re: IIS 5.1 vs IIS 5.0?
"McKirahan" <News@McKirahan.com> wrote in message
news:p3QTb.209789$I06.2321062@attbi_s01...Professional> "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> news:bvod0q$e7c13@kcweb01.netnews.att.com...> the> > "McKirahan" <News@McKirahan.com> wrote in message
> > news:kUNTb.215977$na.352923@attbi_s04...> > > Apparently, it's the FileSystemObject not database access that causes>> >> > > 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 XPto> but not under Windows 98 SE running PWS? With Win98, when a script tries> 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
-
Aaron Bertrand - MVP #9
Re: IIS 5.1 vs IIS 5.0?
> But why do I have to turn Script Blocking off under Windows XP
ProfessionalBecause Windows 98 is much less secure and probably doesn't raise the flag> but not under Windows 98 SE running PWS?
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
-
McKirahan #10
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
-
Aaron Bertrand [MVP] #11
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.
And imagine how many Microsoft supports, yet they stop supporting them at> b) Re Win98: I support multiple clients / environments...
some point.
A
Aaron Bertrand [MVP] Guest
-
Jeff Cochran #12
Re: IIS 5.1 vs IIS 5.0?
On Tue, 03 Feb 2004 21:10:44 GMT, "McKirahan" <News@McKirahan.com>
wrote:
It's a matter of degrees. If you want to be secure from script>"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?
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.
Then support them and deal with the differences. Though I'm not sure>b) Re Win98: I support multiple clients / environments...
why supporting a client or environement requires you to run W98.
Jeff
Jeff Cochran Guest



Reply With Quote

