If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > asp and as400 data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-02-03, 08:36
qtip qtip is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
asp and as400 data

Hello,

I have to make a webpage (on IIS) with a database on AS400. I use asp. For the database connection, I use the ODBC Client Access driver.
The problem is that when I want to put something on the screen, sometimes it works and sometimes it is very slowly (actualy the page keeps loading). This is strange because I don't change anything on my code. This is even with a very simple sql string (SELECT [DATA] FROM [TABLE])...
Why does it work sometimes? Most of the time, my browser keeps loading and nothing happens. On the end of the page I close my recordset and connection. So I don't think it's that problem.

Anybody know why? Thnx!
Reply With Quote
  #2 (permalink)  
Old 10-02-03, 09:52
fhunth fhunth is offline
Registered User
 
Join Date: Oct 2002
Location: Argentina
Posts: 72
Try setting your recordsets to Nothing

Set MyRecordset=Nothing
Reply With Quote
  #3 (permalink)  
Old 10-02-03, 10:24
qtip qtip is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
Yes I know, I do this standard. But it doesn't work.
Reply With Quote
  #4 (permalink)  
Old 10-02-03, 12:06
Bagload Bagload is offline
Registered User
 
Join Date: Oct 2003
Location: Glasgow, UK
Posts: 8
Re: asp and as400 data

No idea, sorry, but use the OLEDB Provider instead of that Client Access stuff.

Quote:
Originally posted by qtip
Hello,

I have to make a webpage (on IIS) with a database on AS400. I use asp. For the database connection, I use the ODBC Client Access driver.
The problem is that when I want to put something on the screen, sometimes it works and sometimes it is very slowly (actualy the page keeps loading). This is strange because I don't change anything on my code. This is even with a very simple sql string (SELECT [DATA] FROM [TABLE])...
Why does it work sometimes? Most of the time, my browser keeps loading and nothing happens. On the end of the page I close my recordset and connection. So I don't think it's that problem.

Anybody know why? Thnx!
Reply With Quote
Reply

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On