ahhh, OK.. You need to solve this then. Creating 5,000 files of 1,000 products each is not feasible.
It sounds like either your SQL command , the web page itself , or even your session is timing out . About how long does it take before you get kicked out? That could give you a clue. By default, a session timout is 20 minutes. SQL command is 30 seconds, and page timeout (in machine.config) is 90 seconds.
Anyway here is an excerpt from a
blog post that mentions the various timeout scenarios and how to increase them.
1.If use database, you may get ‘System.Data.SqlClient.SqlException: Timeout expired’:
a: Check your connection string setting for ‘Connect Timeout’: I.e.
connectionString="Data Source=SNYC14D11511;Initial Catalog=d_dbivt003;Persist Security Info=True;User ID= user;Password= Password;
Connect Timeout=4200 b:Check your command object
SqlCommand.CommandTimeout Property, it’s by default 30s
2.Check your Web.config setting when you get error like ‘Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.’:
<system.web>….
<compilation debug="false"/>
<httpRuntime executionTimeout="1200"/></system.web>
make sure your set 'compilation debug="false" as well to let timeout setting take effect. Check MSDN for details.
3.Set your proxy class Timeout property (derived from WebClientProtocol.Timeout Property) at client if you get error like this ‘The operation has timed out’: I.e.
proxy.Timeout = System.Threading.Timeout.Infinite;
Hope this helps -
Regards,
Shawn
NopAdmin.com Team