Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. asp.net2.0 that runs store procedure in back end. [modified]

asp.net2.0 that runs store procedure in back end. [modified]

Scheduled Pinned Locked Moved ASP.NET
databasehelpcsharpasp-netgame-dev
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    senthil_becse
    wrote on last edited by
    #1

    Advance thanx for ur interest in it. my page is running one store procedure in back end it take at least 15 to 30 minutes to complete execution. but my page show time out error and i had expand my connection time out and command time out and AsyncTimeout="36000". but the problem is not fixed. Really i need things my page should only execute the store procedure i dont want to know about the whether it has been complete or not. My code is going to generate (insert) 100 million records in database table.its one kind of game logic we are using in our game website. i dont want to wait for such much time, until the execution of my query,i just want to execute it. any idea on this ???? :)

    modified on Monday, February 23, 2009 4:07 AM

    A F V C 4 Replies Last reply
    0
    • S senthil_becse

      Advance thanx for ur interest in it. my page is running one store procedure in back end it take at least 15 to 30 minutes to complete execution. but my page show time out error and i had expand my connection time out and command time out and AsyncTimeout="36000". but the problem is not fixed. Really i need things my page should only execute the store procedure i dont want to know about the whether it has been complete or not. My code is going to generate (insert) 100 million records in database table.its one kind of game logic we are using in our game website. i dont want to wait for such much time, until the execution of my query,i just want to execute it. any idea on this ???? :)

      modified on Monday, February 23, 2009 4:07 AM

      F Offline
      F Offline
      farogh haider
      wrote on last edited by
      #2

      Hi, First you should specify which type of query u executed in stored procedure, like as retreive more than 2000 records from ur query. so it will take so much time

      1 Reply Last reply
      0
      • S senthil_becse

        Advance thanx for ur interest in it. my page is running one store procedure in back end it take at least 15 to 30 minutes to complete execution. but my page show time out error and i had expand my connection time out and command time out and AsyncTimeout="36000". but the problem is not fixed. Really i need things my page should only execute the store procedure i dont want to know about the whether it has been complete or not. My code is going to generate (insert) 100 million records in database table.its one kind of game logic we are using in our game website. i dont want to wait for such much time, until the execution of my query,i just want to execute it. any idea on this ???? :)

        modified on Monday, February 23, 2009 4:07 AM

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        actually your page expires out... It would be better to create a separate process that may run your stored procedure, if you dont need any result from it... You can also use WCF for doing this ... if you need.

        Abhishek Sur

        S 1 Reply Last reply
        0
        • S senthil_becse

          Advance thanx for ur interest in it. my page is running one store procedure in back end it take at least 15 to 30 minutes to complete execution. but my page show time out error and i had expand my connection time out and command time out and AsyncTimeout="36000". but the problem is not fixed. Really i need things my page should only execute the store procedure i dont want to know about the whether it has been complete or not. My code is going to generate (insert) 100 million records in database table.its one kind of game logic we are using in our game website. i dont want to wait for such much time, until the execution of my query,i just want to execute it. any idea on this ???? :)

          modified on Monday, February 23, 2009 4:07 AM

          V Offline
          V Offline
          Vimalsoft Pty Ltd
          wrote on last edited by
          #4

          What Exactly is your SP doing if it takes this long? To have an infinite timeout Option set your Command object to zero. You need to Optimize your sp. "A call for SP optimization, is a result of bad design from the begining"

          Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za

          S 1 Reply Last reply
          0
          • S senthil_becse

            Advance thanx for ur interest in it. my page is running one store procedure in back end it take at least 15 to 30 minutes to complete execution. but my page show time out error and i had expand my connection time out and command time out and AsyncTimeout="36000". but the problem is not fixed. Really i need things my page should only execute the store procedure i dont want to know about the whether it has been complete or not. My code is going to generate (insert) 100 million records in database table.its one kind of game logic we are using in our game website. i dont want to wait for such much time, until the execution of my query,i just want to execute it. any idea on this ???? :)

            modified on Monday, February 23, 2009 4:07 AM

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            Your stored proc sucks. Fix it. We have a SQL forum. You think the timeout is the issue ? No-one is waiting 30 min for a web page.

            Christian Graus Driven to the arms of OSX by Vista.

            1 Reply Last reply
            0
            • A Abhishek Sur

              actually your page expires out... It would be better to create a separate process that may run your stored procedure, if you dont need any result from it... You can also use WCF for doing this ... if you need.

              Abhishek Sur

              S Offline
              S Offline
              senthil_becse
              wrote on last edited by
              #6

              u r absolute Ok can u give some idea or links about how to create separate process to execute such a store procedure by using MFC. Advance thanx for interest in it.

              1 Reply Last reply
              0
              • V Vimalsoft Pty Ltd

                What Exactly is your SP doing if it takes this long? To have an infinite timeout Option set your Command object to zero. You need to Optimize your sp. "A call for SP optimization, is a result of bad design from the begining"

                Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za

                S Offline
                S Offline
                senthil_becse
                wrote on last edited by
                #7

                Advance thanx for ur interest in it. my page is running one store procedure in back end it take at least 15 to 30 minutes to complete execution. but my page show time out error and i had expand my connection time out and command time out and AsyncTimeout="36000". but the problem is not fixed. Really i need things my page should only execute the store procedure i dont want to know about the whether it has been complete or not. My code is going to generate (insert) 100 million records in database table.its one kind of game logic we are using in our game website. i dont want to wait for such much time, until the execution of my query,i just want to execute it. any idea on this ???

                V 1 Reply Last reply
                0
                • S senthil_becse

                  Advance thanx for ur interest in it. my page is running one store procedure in back end it take at least 15 to 30 minutes to complete execution. but my page show time out error and i had expand my connection time out and command time out and AsyncTimeout="36000". but the problem is not fixed. Really i need things my page should only execute the store procedure i dont want to know about the whether it has been complete or not. My code is going to generate (insert) 100 million records in database table.its one kind of game logic we are using in our game website. i dont want to wait for such much time, until the execution of my query,i just want to execute it. any idea on this ???

                  V Offline
                  V Offline
                  Vimalsoft Pty Ltd
                  wrote on last edited by
                  #8

                  Really that is too heavy for a Web page. Does your users interact with your page? ,or this is some admin thing that you do it at certain time ? . If that's the case,I suggest you create an SSIS package and leave the web page out of this. Lets here what the other guys say.

                  Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups