Browser Timeout

Posted on 2012-09-12
Last Modified: 2012-09-13
Have a .Net web with the code below which returns a simple number which I can add to a string.

The execution time on the code is about 10 seconds to get a number back from the server....very complex select on the other end.

Here's the deal...
I can run this fine in Google Chrome, Safari, and Mozilla...

But IE bombs out with an Execution Timeout message.

Current (our office platforms) is WInXP and IE8

This is the vb that gets the data back
    Private Function getEmailBlastCount(ByVal st As String, ByVal specialty As String, ByVal ckFederal As Boolean) As String
        Dim objConn As SqlConnection = New SqlConnection(System.Configuration.ConfigurationManager.AppSettings("ConnStr"))
        Dim oCom As New SqlCommand
        oCom.Connection = objConn
        oCom.CommandText = "usp_EmailsForSpecialtyStatesGetCount"
        oCom.CommandType = CommandType.StoredProcedure
        oCom.Parameters.Add(New SqlParameter("@State", SqlDbType.VarChar, 2)).Value = st
        oCom.Parameters.Add(New SqlParameter("@Specialty", SqlDbType.VarChar, 50)).Value = specialty
        oCom.Parameters.Add(New SqlParameter("@Nationwide", SqlDbType.Bit)).Value = ckFederal
        Dim dR As SqlDataReader
        dR = oCom.ExecuteReader()

        If dR.HasRows Then
            Return "There are " & dR("emailBlastCount") & " emails in this blast"
            Return "There are <strong><u>NO</u></strong> emails in this blast"
        End If
        objConn = Nothing
        oCom = Nothing
    End Function

Open in new window

Question by:lrbrister
    LVL 83

    Accepted Solution

    Is the timeout on client side or server side?

    Author Closing Comment

    Server side

    These were commented out for some reason...

            <httpRuntime maxRequestLength="8192" executionTimeout="3600"/>
            <sessionState timeout="180"/>

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now