Welcome to HostingForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS7 and ASP Timeout issues

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Refresh content from "streaming" site.  
Author Message
ian10

External


Since: Dec 16, 2004
Posts: 5



(Msg. 1) Posted: Sun May 27, 2007 1:09 am
Post subject: IIS7 and ASP Timeout issues
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello,

I wonder if anybody can assist. I have a WEB site which I moved from a
machine running XP Sp2 to Vista. I had several issues around allowing ASP
code to run which I have resolved. My only outstanding issue is that when I
go to one page I get the error below:

Active Server Pages error 'ASP 0113'

Script timed out

/xxxxxx/xxxxx/xxxxxxx - V2.asp

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.

The database it is trying to read is about 1Mb in size and has about 500
records (very small). On the XP machine it takes 2 seconds to load and do
all of the cals. The code that generates the error is:

<%Response.Buffer = True
Response.Expires = 0
Response.ExpiresAbsolute = now() -1
Response.CacheControl = "no-cache"
Dim RY54_Start_06_07
Dim RY54_End_06_07
DSN = "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=" &
("\\xxxxx\xxxxx$\xxxxx.mdb") & ";"
Set OBJdbConnection = Server.CreateObject("ADODB.Connection")
OBJdbConnection.Open(DSN)
Set SQLStmt = Server.CreateObject("ADODB.Command")
Set RS = Server.CreateObject ("ADODB.Recordset")
SQLStmt.CommandText = " SELECT Start_xxxx, End_xxxxx FROM xxxx_Totals
WHERE Year = '2006-2007'; "
SQLStmt.CommandType = 1
Set SQLStmt.ActiveConnection = OBJdbConnection
RS.Open SQLStmt
RY54_Start_06_07 = 0
RY54_End_06_07 = 0
do while not RS.EOF %>

I'm pulling my hair out over this one and would like some advise on what has
changed to prevent the DNS from working.

Thanks

Ian

 >> Stay informed about: IIS7 and ASP Timeout issues 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3042



(Msg. 2) Posted: Sun May 27, 2007 7:27 pm
Post subject: Re: IIS7 and ASP Timeout issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What is the rest of the code?

Cheers
Ken

--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken

"Ian" wrote in message

> Hello,
>
> I wonder if anybody can assist. I have a WEB site which I moved from a
> machine running XP Sp2 to Vista. I had several issues around allowing ASP
> code to run which I have resolved. My only outstanding issue is that when
> I
> go to one page I get the error below:
>
> Active Server Pages error 'ASP 0113'
>
> Script timed out
>
> /xxxxxx/xxxxx/xxxxxxx - V2.asp
>
> 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.
>
> The database it is trying to read is about 1Mb in size and has about 500
> records (very small). On the XP machine it takes 2 seconds to load and do
> all of the cals. The code that generates the error is:
>
> <%Response.Buffer = True
> Response.Expires = 0
> Response.ExpiresAbsolute = now() -1
> Response.CacheControl = "no-cache"
> Dim RY54_Start_06_07
> Dim RY54_End_06_07
> DSN = "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=" &
> ("\\xxxxx\xxxxx$\xxxxx.mdb") & ";"
> Set OBJdbConnection = Server.CreateObject("ADODB.Connection")
> OBJdbConnection.Open(DSN)
> Set SQLStmt = Server.CreateObject("ADODB.Command")
> Set RS = Server.CreateObject ("ADODB.Recordset")
> SQLStmt.CommandText = " SELECT Start_xxxx, End_xxxxx FROM xxxx_Totals
> WHERE Year = '2006-2007'; "
> SQLStmt.CommandType = 1
> Set SQLStmt.ActiveConnection = OBJdbConnection
> RS.Open SQLStmt
> RY54_Start_06_07 = 0
> RY54_End_06_07 = 0
> do while not RS.EOF %>
>
> I'm pulling my hair out over this one and would like some advise on what
> has
> changed to prevent the DNS from working.
>
> Thanks
>
> Ian

 >> Stay informed about: IIS7 and ASP Timeout issues 
Back to top
Login to vote
ian10

External


Since: Dec 16, 2004
Posts: 5



(Msg. 3) Posted: Sun May 27, 2007 7:27 pm
Post subject: Re: IIS7 and ASP Timeout issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Ken,

It goes into a loop and reads the content from the DB:

<% RY54_End_06_07 = RS("End_xxxx")
RS.movenext
loop
OBJdbConnection.Close
Set OBJdbConnection = Nothing
RY54_Start_06_07 = 18289
Session("STD_RY54_06_07")=RY54_Start_06_07
Session("ED_RY54_06_07")=RY54_End_06_07 %>

Ian

"Ken Schaefer" wrote:

> What is the rest of the code?
>
> Cheers
> Ken
>
> --
> My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
>
> "Ian" wrote in message
>
> > Hello,
> >
> > I wonder if anybody can assist. I have a WEB site which I moved from a
> > machine running XP Sp2 to Vista. I had several issues around allowing ASP
> > code to run which I have resolved. My only outstanding issue is that when
> > I
> > go to one page I get the error below:
> >
> > Active Server Pages error 'ASP 0113'
> >
> > Script timed out
> >
> > /xxxxxx/xxxxx/xxxxxxx - V2.asp
> >
> > 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.
> >
> > The database it is trying to read is about 1Mb in size and has about 500
> > records (very small). On the XP machine it takes 2 seconds to load and do
> > all of the cals. The code that generates the error is:
> >
> > <%Response.Buffer = True
> > Response.Expires = 0
> > Response.ExpiresAbsolute = now() -1
> > Response.CacheControl = "no-cache"
> > Dim RY54_Start_06_07
> > Dim RY54_End_06_07
> > DSN = "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=" &
> > ("\\xxxxx\xxxxx$\xxxxx.mdb") & ";"
> > Set OBJdbConnection = Server.CreateObject("ADODB.Connection")
> > OBJdbConnection.Open(DSN)
> > Set SQLStmt = Server.CreateObject("ADODB.Command")
> > Set RS = Server.CreateObject ("ADODB.Recordset")
> > SQLStmt.CommandText = " SELECT Start_xxxx, End_xxxxx FROM xxxx_Totals
> > WHERE Year = '2006-2007'; "
> > SQLStmt.CommandType = 1
> > Set SQLStmt.ActiveConnection = OBJdbConnection
> > RS.Open SQLStmt
> > RY54_Start_06_07 = 0
> > RY54_End_06_07 = 0
> > do while not RS.EOF %>
> >
> > I'm pulling my hair out over this one and would like some advise on what
> > has
> > changed to prevent the DNS from working.
> >
> > Thanks
> >
> > Ian
>
>
 >> Stay informed about: IIS7 and ASP Timeout issues 
Back to top
Login to vote
ian10

External


Since: Dec 16, 2004
Posts: 5



(Msg. 4) Posted: Sun May 27, 2007 7:27 pm
Post subject: Re: IIS7 and ASP Timeout issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

I fixed the problem by granting IUSR access to the data are and it seem to
come to life. Now i'm getting a time out:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine
cannot open the file '(unknown)'. It is already opened exclusively by another
user, or you need permission to view its data.

/ipnet/Mileage/Trip select report.asp, line 94

Any ideas on how to resolve this?

Thanks

Ian


"Ian" wrote:

> Hi Ken,
>
> It goes into a loop and reads the content from the DB:
>
> <% RY54_End_06_07 = RS("End_xxxx")
> RS.movenext
> loop
> OBJdbConnection.Close
> Set OBJdbConnection = Nothing
> RY54_Start_06_07 = 18289
> Session("STD_RY54_06_07")=RY54_Start_06_07
> Session("ED_RY54_06_07")=RY54_End_06_07 %>
>
> Ian
>
> "Ken Schaefer" wrote:
>
> > What is the rest of the code?
> >
> > Cheers
> > Ken
> >
> > --
> > My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
> >
> > "Ian" wrote in message
> >
> > > Hello,
> > >
> > > I wonder if anybody can assist. I have a WEB site which I moved from a
> > > machine running XP Sp2 to Vista. I had several issues around allowing ASP
> > > code to run which I have resolved. My only outstanding issue is that when
> > > I
> > > go to one page I get the error below:
> > >
> > > Active Server Pages error 'ASP 0113'
> > >
> > > Script timed out
> > >
> > > /xxxxxx/xxxxx/xxxxxxx - V2.asp
> > >
> > > 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.
> > >
> > > The database it is trying to read is about 1Mb in size and has about 500
> > > records (very small). On the XP machine it takes 2 seconds to load and do
> > > all of the cals. The code that generates the error is:
> > >
> > > <%Response.Buffer = True
> > > Response.Expires = 0
> > > Response.ExpiresAbsolute = now() -1
> > > Response.CacheControl = "no-cache"
> > > Dim RY54_Start_06_07
> > > Dim RY54_End_06_07
> > > DSN = "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=" &
> > > ("\\xxxxx\xxxxx$\xxxxx.mdb") & ";"
> > > Set OBJdbConnection = Server.CreateObject("ADODB.Connection")
> > > OBJdbConnection.Open(DSN)
> > > Set SQLStmt = Server.CreateObject("ADODB.Command")
> > > Set RS = Server.CreateObject ("ADODB.Recordset")
> > > SQLStmt.CommandText = " SELECT Start_xxxx, End_xxxxx FROM xxxx_Totals
> > > WHERE Year = '2006-2007'; "
> > > SQLStmt.CommandType = 1
> > > Set SQLStmt.ActiveConnection = OBJdbConnection
> > > RS.Open SQLStmt
> > > RY54_Start_06_07 = 0
> > > RY54_End_06_07 = 0
> > > do while not RS.EOF %>
> > >
> > > I'm pulling my hair out over this one and would like some advise on what
> > > has
> > > changed to prevent the DNS from working.
> > >
> > > Thanks
> > >
> > > Ian
> >
> >
 >> Stay informed about: IIS7 and ASP Timeout issues 
Back to top
Login to vote
Ian

External


Since: May 27, 2007
Posts: 1



(Msg. 5) Posted: Sun May 27, 2007 7:27 pm
Post subject: Re: IIS7 and ASP Timeout issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

All fixed. Minor issue with FP2003, Vista and my fingers!


"Ian" wrote in message

> Hi,
>
> I fixed the problem by granting IUSR access to the data are and it seem to
> come to life. Now i'm getting a time out:
>
> Microsoft OLE DB Provider for ODBC Drivers error '80004005'
> [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database
> engine
> cannot open the file '(unknown)'. It is already opened exclusively by
> another
> user, or you need permission to view its data.
>
> /ipnet/Mileage/Trip select report.asp, line 94
>
> Any ideas on how to resolve this?
>
> Thanks
>
> Ian
>
>
> "Ian" wrote:
>
>> Hi Ken,
>>
>> It goes into a loop and reads the content from the DB:
>>
>> <% RY54_End_06_07 = RS("End_xxxx")
>> RS.movenext
>> loop
>> OBJdbConnection.Close
>> Set OBJdbConnection = Nothing
>> RY54_Start_06_07 = 18289
>> Session("STD_RY54_06_07")=RY54_Start_06_07
>> Session("ED_RY54_06_07")=RY54_End_06_07 %>
>>
>> Ian
>>
>> "Ken Schaefer" wrote:
>>
>> > What is the rest of the code?
>> >
>> > Cheers
>> > Ken
>> >
>> > --
>> > My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
>> >
>> > "Ian" wrote in message
>> >
>> > > Hello,
>> > >
>> > > I wonder if anybody can assist. I have a WEB site which I moved from
>> > > a
>> > > machine running XP Sp2 to Vista. I had several issues around
>> > > allowing ASP
>> > > code to run which I have resolved. My only outstanding issue is that
>> > > when
>> > > I
>> > > go to one page I get the error below:
>> > >
>> > > Active Server Pages error 'ASP 0113'
>> > >
>> > > Script timed out
>> > >
>> > > /xxxxxx/xxxxx/xxxxxxx - V2.asp
>> > >
>> > > 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.
>> > >
>> > > The database it is trying to read is about 1Mb in size and has about
>> > > 500
>> > > records (very small). On the XP machine it takes 2 seconds to load
>> > > and do
>> > > all of the cals. The code that generates the error is:
>> > >
>> > > <%Response.Buffer = True
>> > > Response.Expires = 0
>> > > Response.ExpiresAbsolute = now() -1
>> > > Response.CacheControl = "no-cache"
>> > > Dim RY54_Start_06_07
>> > > Dim RY54_End_06_07
>> > > DSN = "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ="
>> > > &
>> > > ("\\xxxxx\xxxxx$\xxxxx.mdb") & ";"
>> > > Set OBJdbConnection = Server.CreateObject("ADODB.Connection")
>> > > OBJdbConnection.Open(DSN)
>> > > Set SQLStmt = Server.CreateObject("ADODB.Command")
>> > > Set RS = Server.CreateObject ("ADODB.Recordset")
>> > > SQLStmt.CommandText = " SELECT Start_xxxx, End_xxxxx FROM
>> > > xxxx_Totals
>> > > WHERE Year = '2006-2007'; "
>> > > SQLStmt.CommandType = 1
>> > > Set SQLStmt.ActiveConnection = OBJdbConnection
>> > > RS.Open SQLStmt
>> > > RY54_Start_06_07 = 0
>> > > RY54_End_06_07 = 0
>> > > do while not RS.EOF %>
>> > >
>> > > I'm pulling my hair out over this one and would like some advise on
>> > > what
>> > > has
>> > > changed to prevent the DNS from working.
>> > >
>> > > Thanks
>> > >
>> > > Ian
>> >
>> >
 >> Stay informed about: IIS7 and ASP Timeout issues 
Back to top
Login to vote
Dan

External


Since: Apr 16, 2009
Posts: 1



(Msg. 6) Posted: Thu Apr 16, 2009 11:26 am
Post subject: RE: IIS7 and ASP Timeout issues [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ian,

would you be able to define what you did here "I fixed the problem by granting IUSR access to the data "

where did you grant permissions?

Dan

From http://search.yahoo.com/search;_ylt=A0geu7dWO.dJNB0BZBRXNyoA?p=iis7+as...he+maxi

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/
 >> Stay informed about: IIS7 and ASP Timeout issues 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Issues with Session Timeout - I am using IIS 5.1 (XP Pro workstation). I develop several sites locally here at work, and use XP Pro to debug before further testing on the server. I am having problems setting my IIS Session Timeout. It was originally the default 20 minutes. I set....

Long Form submitted issues CGI Timeout - Having trouble with long forms in IIS6 (and IIS5). I just tested IIS6 by creating a static HTML page with a large form (196 fields). Here is the code: <HTML> <HEAD> </HEAD> <BODY> FORM TEST<BR><BR> <FORM METHOD=P...

PHP and IIS7 - Has anyone had any success installing php on iis7. I have tried twice and I have had to re-image twice... Thanks JB

IIS7.0 - Ok so installed IIS 7.0 onto my vista ultimate and have set up a static IP for the web page (flash) that I am developing. Ok now I guess I need to bind the the IP to the website to have IIS point to the website. Fine done but now the server won't..

IIS7, WAS, Vista 5308 - Has anyone been able to get IIS working in Vista build 5308? I've been able to install IIS and whatnot through the command line in the Release Notes Addendum, however (twice now under two different setups) I am unable to start W3SVC. This is because...
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]