Question

vb net server error 500

Asked by: 9772885

I have a web page that displays information from a table from sql 2000. An AJAX update timer runs every few minutes to bind the gridview to update any changes to the table and update the label colors in the gridview template.

The purpose of this is to act as a display screem page for a plasma. Theres no interaction from users it just displays data

every now and then i get the following pop up error occur

sys.webforms.pagerequestmanagerservererrorexception: an unkown error occured while processing the request on the server. the status code  returned from the server was: 500



ive read up on this and have tried adding ValidateRequest="false" but this hasnt worked

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-05-30 at 11:24:23ID24450702
Topics

Web Frameworks

,

WebApplications

Participating Experts
2
Points
0
Comments
27

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Gridview Timer
    I had asked a question on grid view timer here: http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_22916730.html and I got the answer. Now, I would like to know how not to show the millisecond part as in - this: 00:01:25.171850 should display it as 00:01:25...
  2. Ajax timer
    Does anyone have a tutorial on how to use Ajax Timer control to refresh an aspx page?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: azarc3Posted on 2009-05-31 at 09:14:50ID: 24513020

The Status code means there was an internal server error... which is one of the FEW you'll get if you're not passing back explicit string error messages in the method that AJAX is calling.

Since the error is periodic it sounds like one of the following:
1. Something is going in your query that's throwing back an error which isn't bubbling up properly
2. You're running out of database connections and the AJAX call is choking when the database request times out

If you don't mind, please show us the method(s) that AJAX is calling, as well as the connection string you're using (DO NOT INCLUDE THE SERVER ADDRESS, USERNAME, OR PASSWORD!).

 

by: 9772885Posted on 2009-05-31 at 09:28:05ID: 24513047

Many Thanks,

Here is my master page and code then folows the main page

<%@ Master Language="VB" CodeFile="Plasma_Admin.master.vb" Inherits="Plasma_Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <asp:ContentPlaceHolder id="head" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>
    <form id="form1" runat="server">
    <div>

                <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:Timer runat="server" id="UpdateTimer" interval="1000" ontick="UpdateTimer_Tick" />
        <asp:UpdatePanel runat="server" id="TimedPanel" updatemode="Conditional">
            <Triggers>
                <asp:AsyncPostBackTrigger controlid="UpdateTimer" eventname="Tick" />
            </Triggers>
            <ContentTemplate>
       
           
            <table width="100%" bgcolor="#6666FF">
           
           
            <tr>
            <td align="left"><h1>
                <asp:Label ID="Label1" runat="server" Font-Names="verdana"
                    Text="I&A" ForeColor="White"></asp:Label></h1></td>
            <td align="right"><h1><asp:Label runat="server" id="DateStampLabel"
                    Font-Names="verdana" ForeColor="White" /></h1></td>
            </tr>
            </table>
           
            </ContentTemplate>
        </asp:UpdatePanel>
           
            <table>
            <tr>
            <td id="SideBar" style="width:30ex; padding:0.5ex; vertical-align:top">
           
                <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server"
         />
         
                <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1"
                    BackColor="#B5C7DE" DynamicHorizontalOffset="2" Font-Names="Verdana"
                    Font-Size="0.8em" ForeColor="#284E98" StaticSubMenuIndent="10px"
                    Orientation="Horizontal">
                    <StaticSelectedStyle BackColor="#507CD1" />
                    <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
                    <DynamicMenuStyle BackColor="#B5C7DE" />
                    <DynamicSelectedStyle BackColor="#507CD1" />
                    <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
                </asp:Menu>    
         

           
           
            </td>
            <td id="Content" style="padding:1ex; vertical-align:top">

            <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">    
            </asp:ContentPlaceHolder>

            </td>
           
           
            </tr>
           
           
            </table>
           </ContentTemplate>
        </asp:UpdatePanel>

       
    </div>
    </form>
</body>

</html>

Heres the master code
Partial Class Plasma_Admin
    Inherits System.Web.UI.MasterPage

    Protected Sub UpdateTimer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles UpdateTimer.Load
        DateStampLabel.Text = DateTime.Now.ToString("ddd dd MMM yyyy h:mm:ss tt")
    End Sub

    Protected Sub UpdateTimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles UpdateTimer.Tick
        DateStampLabel.Text = DateTime.Now.ToString("ddd dd MMM yyyy h:mm:ss tt")
    End Sub
End Class



Here the main page and code

<%@ Page Language="VB" MasterPageFile="~/Plasma_Master.master" AutoEventWireup="false" CodeFile="DriveInfo.aspx.vb" Inherits="DriveInfo" title="I&A Harddrive Monitor Page" %>



<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


<div>
               
       
        <asp:Timer runat="server" id="UpdateTimer" interval="300000" ontick="UpdateTimer_Tick" />
        <asp:UpdatePanel runat="server" id="TimedPanel" updatemode="Conditional">
            <Triggers>
                <asp:AsyncPostBackTrigger controlid="UpdateTimer" eventname="Tick" />
            </Triggers>
            <ContentTemplate>
<br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
    ConnectionString="<%$ ConnectionStrings:PLASMA %>"
    SelectCommand="usp_DriveInfo" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
<br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
        BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px"
        CellPadding="3" DataSourceID="SqlDataSource1" GridLines="Horizontal"  Font-Size="XX-Large"
        Width="100%" height="100%" Font-Names="verdana" CssClass="style1">
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
        <Columns>
            <asp:TemplateField itemstyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
                <ItemTemplate>
                    <asp:Label ID="Label6" runat="server" width="500" Text='<%# Eval("server") %>'></asp:Label>
                    <asp:Label ID="Label7" runat="server" width="400" Text='<%# Convert.ToDateTime(Eval("row_date")).ToString("dd MMM hh:mm tt") %>'></asp:Label>
                    <asp:Label ID="Label8" runat="server" width="100" Text='<%# Eval("drive") %>'></asp:Label>
                    <asp:Label ID="Label9" runat="server" width="100" Text='<%# Eval("mb","{0:n0}") %>'></asp:Label>
                </ItemTemplate>
                <HeaderTemplate>
                    <asp:Label ID="Label10" runat="server" width="500" Text="Server"></asp:Label>
                    <asp:Label ID="Label11" runat="server" width="350" Text="Reviewed"></asp:Label>
                    <asp:Label ID="Label12" runat="server" width="180" Text="Drive"></asp:Label>
                    <asp:Label ID="Label13" runat="server" width="100" Text="MB's"></asp:Label>
                </HeaderTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <AlternatingRowStyle BackColor="#F7F7F7" />
    </asp:GridView>
           
           </ContentTemplate>
        </asp:UpdatePanel>






</asp:Content>

<asp:Content ID="Content3" runat="server" contentplaceholderid="head">

   
   
    <style type="text/css">
        .style1
        {
            margin-top: 0px;
            margin-bottom: 24px;
        }
    </style>



</asp:Content>


and the main page code


Partial Class DriveInfo
    Inherits System.Web.UI.Page

    Protected Sub UpdateTimer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles UpdateTimer.Load
        GridView1.DataBind()
    End Sub

    Protected Sub UpdateTimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles UpdateTimer.Tick
        GridView1.DataBind()
    End Sub

    Protected Sub GridView1_RowCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowCreated

        If DataBinder.Eval(e.Row.DataItem, "flag") = 2 Then
            CType(e.Row.FindControl("Label6"), Label).BackColor = Drawing.Color.Red
            CType(e.Row.FindControl("Label6"), Label).ForeColor = Drawing.Color.White
            CType(e.Row.FindControl("Label7"), Label).BackColor = Drawing.Color.Red
            CType(e.Row.FindControl("Label7"), Label).ForeColor = Drawing.Color.White
            CType(e.Row.FindControl("Label8"), Label).BackColor = Drawing.Color.Red
            CType(e.Row.FindControl("Label8"), Label).ForeColor = Drawing.Color.White
            CType(e.Row.FindControl("Label9"), Label).BackColor = Drawing.Color.Red
            CType(e.Row.FindControl("Label9"), Label).ForeColor = Drawing.Color.White

        End If

        If DataBinder.Eval(e.Row.DataItem, "flag") = 1 Then
            CType(e.Row.FindControl("Label6"), Label).BackColor = Drawing.Color.Orange
            CType(e.Row.FindControl("Label6"), Label).ForeColor = Drawing.Color.White
            CType(e.Row.FindControl("Label7"), Label).BackColor = Drawing.Color.Orange
            CType(e.Row.FindControl("Label7"), Label).ForeColor = Drawing.Color.White
            CType(e.Row.FindControl("Label8"), Label).BackColor = Drawing.Color.Orange
            CType(e.Row.FindControl("Label8"), Label).ForeColor = Drawing.Color.White
            CType(e.Row.FindControl("Label9"), Label).BackColor = Drawing.Color.Orange
            CType(e.Row.FindControl("Label9"), Label).ForeColor = Drawing.Color.White
        End If

    End Sub


End Class

 

by: azarc3Posted on 2009-05-31 at 09:36:32ID: 24513077

I don't immediately see anything that would cause the error to happen. Here's my initial thoughts...

1. Is there a possibility that a row returned by the stored procedure doesn't include the "flag" field?
2. Without seeing this in action I think it may be the connection string itself that's causing the problem
3. It would be useful if you could let us see the contents of the usp_DriveInfo stored procedure

It would be useful to set some breakpoints on the GridView1_RowCreated() event to see what's happening.

 

by: 9772885Posted on 2009-05-31 at 10:06:26ID: 24513162

interesting, i have had a look at one of the stored procedures behind the scenes and changed the table to insert into and then delete out old data rather than truncate table. It could be trying to pull data whilst is was truncating as i was using a nolock on the pull. I will monitor over the next fewdays and come back if i have any further problems. thanks,

 

by: 9772885Posted on 2009-06-03 at 01:57:44ID: 24534391

I have now been monitoring this for a few days and still have a problem. My home page is just a simple set of menu links and the built in calender attached to the same master page which has the time incrementing.

This page doesnt make any references to SQL database and i still get an error after a few hours

sys.webforms.pagerequestmanagerservererrorexception: an unkown error occured while processing the request on the server. the status code  returned from the server was: 12031


Any suggestions as to what to try next would be appreciated.

 

by: azarc3Posted on 2009-06-04 at 04:23:28ID: 24545593

This *should* help figure out the problem:
http://stackoverflow.com/questions/239669/sys-webforms-pagerequestmanagerservererrorexception-12031

From the post:
"...set EnablePartialRendering to false in the ScriptManager for the page, and then it should give you the actual error. ..."

 

by: 9772885Posted on 2009-06-04 at 04:40:53ID: 24545765

Ive made that change to my master page but instead of the page working like an AJAX script would it is posting the page every second when the time increments. Should it do this?


I have noticed a comment on the link you have provided that says this could be caused when the page isnt refreshed after 20 minutes. I guess the AJAX script wouldnt be the same as the page actually refreshing

 

by: azarc3Posted on 2009-06-04 at 04:52:40ID: 24545868

Yes, it should do that. We want to see if the actual error will be thrown so that you can see it. Sometimes AJAX masks the actual error that is causing the problem. Once you get the error, make note of it and then put the setting back to the way it was so that the AJAX "works".

Viewstate should retain that information... Zachary mentioned that he started storing ViewState for that page in the DB and everything worked... so yes, you might be right. However, I'm skeptical of that because you shouldn't be getting session timeouts at 300 second intervals.

 

by: 9772885Posted on 2009-06-05 at 01:11:53ID: 24554182

I ran this for a whie yesterday and i noticed that it had directed to a unable to locate web page at one point (no pop up error though). I closed the window and it restarted fine.

i will continue to monitor today

 

by: 9772885Posted on 2009-06-07 at 04:49:53ID: 24566108

Apart from the issue nt being able to find the web page they have been running ok. Whats the next step in getting it to run ok using ajax

 

by: azarc3Posted on 2009-06-07 at 07:08:59ID: 24566531

You *should* be ok to re-enable the ajax now.

 

by: 9772885Posted on 2009-06-07 at 07:36:10ID: 24566601

will change back and test again not sure anythings going to vhange though

 

by: ruffonePosted on 2009-06-07 at 07:55:09ID: 24566654

You could just be passing back more data than the page has time to load given the default setting. You could increase the time the system will wait for the page to load before throwing an error in the web.config with the code below

    <system.web.extensions>
        <scripting>
            <webServices>
                <jsonSerialization maxJsonLength="500000">
                </jsonSerialization>
            </webServices>
        </scripting>
    </system.web.extensions>

                                              
1:
2:
3:
4:
5:
6:
7:
8:

Select allOpen in new window

 

by: 9772885Posted on 2009-06-07 at 08:01:33ID: 24566665

Thanks il give that ago and test over a few days and get back to you

 

by: 9772885Posted on 2009-06-08 at 02:30:02ID: 24570165

The error code 500 seems to be resolved but im still getting the error code 12031 every few hours of the page running.

 

by: ruffonePosted on 2009-06-08 at 03:31:10ID: 24570446

There is a definite error being passed up by the service. Try to put a breakpoint in the service method and try to catch the error before it is passed up by the service. Sometimes the brake wont even be triggered. in those cases I try to run the method outside of the service. so that I could see what the error is that is being generated. Check the order of your strings being returned. Make sure they ate truly in the order desired

 

by: 9772885Posted on 2009-06-08 at 04:31:44ID: 24570736

I am quite new to web design so may need a little guidance on setting this up if anyone is able to provide any additional into.

I have run the debug when the error has occurred and it seems its happening at the end of post back at the throw error prompt. Im guessing this is where i need to handle the error but im unsure exactly how.



    function Sys$WebForms$PageRequestManager$_endPostBack(error, response) {
        // DevDiv Bugs 130268: There could have been a 2nd request that started while this one was being
        // processed. Detect this by comparing the request for the current response to the _request field,
        // which stores the latest request that has begun. If they are different, do not clear the state
        // data that will be required by the 2nd request's response.
        if (this._request === response.get_webRequest()) {
            this._processingRequest = false;
            this._additionalInput = null;
            this._request = null;
        }

        var handler = this._get_eventHandlerList().getHandler("endRequest");
        var errorHandled = false;
        if (handler) {
            var eventArgs = new Sys.WebForms.EndRequestEventArgs(error, this._dataItems, response);
            handler(this, eventArgs);
            errorHandled = eventArgs.get_errorHandled();
        }
        // DevDiv Bugs 130268: See above
        if (!this._processingRequest) {
            this._dataItems = null;
        }
        if (error && !errorHandled) {
            // DevDiv 89485: throw, don't alert()
            throw error;
        }
    }

 

by: ruffonePosted on 2009-06-08 at 05:18:03ID: 24571019

I am sorry, I am JQuery illiterate. Hopefully someone else will dip in. Isn't there some clue as to the problem in the error returned? Crazy java error maybe.  What happens if you remove the "throw" statement?I usually feel some relief if I could just get back to the page after a situation like this. Even if there is nothing there. Usually it provide a new clue.

 

by: azarc3Posted on 2009-06-08 at 05:26:05ID: 24571066

That looks more like WebForms generated JavaScript. I don't think the problem is there at all. Rather, the problem is happening down in the response at the server... which means you need to check the Application Event log at the server.

There should be one or more entries there for each and every one of these AJAX errors that you're getting. Be prepared to see the same error code... but it should also give you the exact line where the error condition is first recognized at. That might not necessarily be where the actual error is occurring at, but at least you'll be closer to figuring the problem out.

Please share what you find.

 

by: 9772885Posted on 2009-06-08 at 06:01:58ID: 24571383

Is that application event log a web server log or a sql server log (im suspect web server log?) If so how do i retreave this from?

 

by: azarc3Posted on 2009-06-08 at 06:26:12ID: 24571707

It's a web server log. You'll need to contact the server administrator... they have to actually log onto the box and go through a specific applet to get at the log. This shouldn't be a problem; tell them that you're trying to figure out a difficult bug and you would like to see the Application Errors associated with your site.

 

by: azarc3Posted on 2009-06-08 at 06:30:22ID: 24571757

Thought about it a bit more and it's more of a machine log... it's independent of both web and database servers.

If the code is running on your own workstation or a server you can log onto with administrator privileges... then (for Windows XP) you'll go to Control Panel >> Even Viewer >> Application

Start looking for the big red cirlce with a white "X" in it.

 

by: ruffonePosted on 2009-06-08 at 07:40:22ID: 24572567

You know! I learned something here. In all my years of using XP I never knew you could access the Administrator menu from the control panel until today. Only on my system it is "Control Panel>>Administrative Tools>>Event Viewer>>Application Log". Thanks azarc3

 

by: 9772885Posted on 2009-06-09 at 03:27:27ID: 24579649

Weve had a look but didn't see any errors. We even tried putting the site into its own pool and looking for an error. I have noticed though that when i run the site as local host i don't get the errors, well haven't so far.

 

by: azarc3Posted on 2009-06-09 at 05:41:40ID: 24580441

No problem, and thanks for catching my missing step. ;)

You probably wont' see any errors on localhost... the really obscure ones normally don't show up until the code is on a server.

I didn't think of this before, but are you absolutely certain that SqlDataSource1 is closing its connections? Or that usp_DriveInfo isn't producing any long-running queries? The only way you're going to be able to see this is to turn the SQL Profiler on and watch what happens as the queries come in and results go out.

 

by: 9772885Posted on 2009-06-10 at 07:02:22ID: 24591564

i have added my own error to the global asax file and im going to monitor this

 

by: 9772885Posted on 2009-09-30 at 00:33:38ID: 25456275

In the end i just couldnt get it working with ajax so had to revert to re spoting each time

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...