Recommended: Tips: How to solve the timeout of ASP script running I'm learning server knowledge recently. Sometimes I encounter an error in which the asp script runs timeout, which is really troublesome. I found relevant information, and there are some solutions. The default script timeout of IIS is 90 seconds. If you upload software or transfer data more than 90 seconds.
The following code is an example code for renaming the Access table name with Adox:
| The following is the quoted content: Dim Conn,ConnStr,oCat,oTbl ConnStr = Provider=Microsoft.Jet.OLEDB.4.0;Data Source= & Server.MapPath(data.mdb) Set oCat=Server.CreateObject(ADOX.Catalog) oCat.ActiveConnection = ConnStr Set oTbl = Server.CreateObject(ADOX.Table) Set oTbl = oCat.Tables(OldTable) 'The table name to be renamed: OldTable oTbl.Name = NewTable 'New table name Set oCat = Nothing Set oTbl = Nothing |
Share: Solutions to garbled UTF-8 pages under ASP dynamic web pages Why does it often display garbled code in ASP when specifying codepage as 65001? The talented man will explain this issue in detail here to avoid many friends taking detours and even rejecting UTF-8. If you don't know what UTF-8 is yet, then Caizi suggests that you search for U first