Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Time out when executing 40,000 inserts in SQL server from a loadable zip fileTime out when executing 40,000 inserts in SQL server from a loadable zip file
Previous
 
Next
New Post
3/3/2006 6:06 AM
 

Hi,

I am woking on DotNetNuke for last 3/4 months and developing modules for a client. I want to insert 40,000 rows into a table when we load a DNN module on the site so that the data is available when the module is successfully loaded.

I tried various things:

[1] First I had all these inserts into SQL loader file along with other SQL statements

Problem: It was giving time-out when I tried to load it on the stagging server but worked OK on the local host

[2] Then I created a stored proc having 40,000 inserts in the SQL loader file which got created when the module was loaded. But then I had to execut that from soomewhere on the first page when user clicks on this FIRST time, which was also not that succeessful.

[3] Then I created a Scheduler job using 'Admin' rights and called this stored proc after the module was loaded.

Problem: It also started timing out

[4] So the I divided the 40,000 inserts - 1 store proc to 8/10 stored procs a having 4000/5000 inserts each. Then created 10 scheduler jobs and exceuted them one by one

Problem: It also started timing out

I have tried out several things and I am lost now. Surprisingly it works fine on local host - no problem but on staging servers it gives time-out prblem.

So my question is what is the BEST way to achieve this? All 40,000 rows should be inserted in a table when the module is getting loaded automatically...

PLEASE HELP, else I am loosing my client???????

Enviornment: MS -SQL Server 2000, DotNetNuke 3.x with ASP .Net 1.1

Thanks

Girish

 
New Post
3/3/2006 8:56 AM
 

Try incrementing the values for this httpRuntime Attributes in web.config:

          executionTimeout="[seconds]" - time in seconds before request is automatically timed out
          maxRequestLength="[KBytes]" - KBytes size of maximum request length to accept


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Time out when executing 40,000 inserts in SQL server from a loadable zip fileTime out when executing 40,000 inserts in SQL server from a loadable zip file


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out