Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 7th, 2004, 04:33 AM
Authorized User
Join Date: Apr 2004
Location: , , .
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default asp smart upload/microsoft excel driver

Hi! I'm currently developing a system where a user can upload an excel file..and then the system will read the rows in excel, and then insert them to a database. The system was fine when it was working on a Win2000 server. But then we had to move the system to an NT Server. And now, it won't execute the task anymore.

I used ASPSmartUpload for uploading the file and then I used this connection string...

        Set cn = Server.CreateObject("ADODB.Connection")
        cn.Open "DBQ=" & Server.MapPath(exceldb) & ";" & _
        "DRIVER={Microsoft Excel Driver (*.xls)};"

to connect to the excel file. When I'm running it, the error is...

error 'ASP 0113'
Script timed out


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.

Can someone please tell me why this happens? I can't really test the system because it is already on the server and I'm not allowed to access it. And we don't have a client pc which has Windows NT and IIS/Personal Web Server on it. So I really can't test it. At first I thought the problem might be in the installation of ASPSmartUpload. But I think if something is wrong there, a different error should have occurred (example, missing dll). So I figured, maybe the Excel Driver's the problem. I really don't know.

Will there be a problem if I use ASPSmartUpload and/or Microsoft Excel Driver in Windows NT?

I hope someone can shed light for me on this subject.

Thank you very much!!

Reply With Quote
  #2 (permalink)  
Old May 7th, 2004, 04:53 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

I am not really sure whether this is the cause of the problem, but I would look into upgrading ADO on the NT version to the version you were using on your 2000 box.
NT 4 is pretty old, so the drivers (including the excel drivers) are old as well. Check out http://msdn.microsoft.com/data/Default.aspx for more info about the ADO drivers.

Are you sure ASPSmartUpload is installed on the server? Maybe it isn't (or not correctly), but you get a timeout for other reasons....


Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Septeto Habanero - Si Tun Ganga by Cuba Havana (Track 11 from the album: Cuba Havana) What's This?
Reply With Quote
  #3 (permalink)  
Old May 7th, 2004, 08:01 AM
Friend of Wrox
Join Date: Aug 2003
Location: , , .
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts

What is the RAM difference between the two machines? How about processor speed? If the NT machine is significantly slower than the Win2K machine, it may really need more processing time. Also check the database. Are the all the tables\ stored procedures installed properly (if it has also moved)? If it on a different server, can it be reached by the web server? Lastly, make sure your error handling is good. An improperly handled error can have different effects on different systems.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Excel Driver Error cancer10 Classic ASP Databases 0 January 23rd, 2007 06:42 AM
ASP Smart Upload arabuafef Classic ASP Basics 0 December 24th, 2006 05:48 AM
Microsoft Text Driver Use ronhawker SQL Server ASP 15 December 20th, 2005 06:12 PM
[Microsoft][ODBC Microsoft Access Driver] Syntax e chinedu Classic ASP Databases 3 November 18th, 2004 03:48 PM
Microsoft Text Driver ??? x23 SQL Server ASP 0 November 5th, 2004 05:54 AM

All times are GMT -4. The time now is 04:13 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.