473,387 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

First exception is very slow...

I've noticed that the first exception thrown/caught by an app running in
debug is very slow - it takes perhaps 7 or 8 seconds on my P4 machine. I've
noticed this on several different machines running the development
environment.

To replicate, create a new c# windows app, add a button, and hook it to the
following code:
private void btnException_Click(object sender, System.EventArgs e)
{
try
{
throw new ApplicationException("Exception!!!");
}
catch(Exception ex)
{
MessageBox.Show(ex.ToString());
}
}

Run the app in debug (F5), click on the button, and wait about 5-10 sec. for
the message box to appear. Clicking a second time causes the message box to
appear immediately.

Can anyone tell me what's causing this, and is there a solution/workaround?

Thanks.

--
Rob Gravereaux
Principal Developer
Glen Road Systems, Inc.
Ro********************@grsinc.com
http://www.grsinc.com
Nov 15 '05 #1
8 1935
Robert,

Catching exceptions is always a more expensive operation. The runtime
might hold of until a first occurance in order to save some time. The only
way I can think of to get around this would be to create a new thread,
throwing and catching an exception on that thread, and then exiting.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I've noticed that the first exception thrown/caught by an app running in
debug is very slow - it takes perhaps 7 or 8 seconds on my P4 machine. I've noticed this on several different machines running the development
environment.

To replicate, create a new c# windows app, add a button, and hook it to the following code:
private void btnException_Click(object sender, System.EventArgs e)
{
try
{
throw new ApplicationException("Exception!!!");
}
catch(Exception ex)
{
MessageBox.Show(ex.ToString());
}
}

Run the app in debug (F5), click on the button, and wait about 5-10 sec. for the message box to appear. Clicking a second time causes the message box to appear immediately.

Can anyone tell me what's causing this, and is there a solution/workaround?
Thanks.

--
Rob Gravereaux
Principal Developer
Glen Road Systems, Inc.
Ro********************@grsinc.com
http://www.grsinc.com

Nov 15 '05 #2
Thanks for the reply.

It only happens when running apps in debug in the IDE. It does not occur if
I run the compiled executable, so I don't think I'd want to add additional
code if possible.

Is this behaviour affected by any of the settings of the debugger?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Robert,

Catching exceptions is always a more expensive operation. The runtime
might hold of until a first occurance in order to save some time. The only way I can think of to get around this would be to create a new thread,
throwing and catching an exception on that thread, and then exiting.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I've noticed that the first exception thrown/caught by an app running in
debug is very slow - it takes perhaps 7 or 8 seconds on my P4 machine.

I've
noticed this on several different machines running the development
environment.

To replicate, create a new c# windows app, add a button, and hook it to

the
following code:
private void btnException_Click(object sender, System.EventArgs e)
{
try
{
throw new ApplicationException("Exception!!!");
}
catch(Exception ex)
{
MessageBox.Show(ex.ToString());
}
}

Run the app in debug (F5), click on the button, and wait about 5-10 sec.

for
the message box to appear. Clicking a second time causes the message box

to
appear immediately.

Can anyone tell me what's causing this, and is there a

solution/workaround?

Thanks.

--
Rob Gravereaux
Principal Developer
Glen Road Systems, Inc.
Ro********************@grsinc.com
http://www.grsinc.com


Nov 15 '05 #3
Robert,

Of course! The fact that it is being debugged in the first place
changes a lot. You have one process basically hooking into another process
as it is executing code. I can't imagine that there ^wouldn't^ be any
overhead involved in this process, as well as initialization and tear-down
code.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Thanks for the reply.

It only happens when running apps in debug in the IDE. It does not occur if I run the compiled executable, so I don't think I'd want to add additional
code if possible.

Is this behaviour affected by any of the settings of the debugger?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
Robert,

Catching exceptions is always a more expensive operation. The runtime might hold of until a first occurance in order to save some time. The

only
way I can think of to get around this would be to create a new thread,
throwing and catching an exception on that thread, and then exiting.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I've noticed that the first exception thrown/caught by an app running in debug is very slow - it takes perhaps 7 or 8 seconds on my P4 machine.

I've
noticed this on several different machines running the development
environment.

To replicate, create a new c# windows app, add a button, and hook it
to the
following code:
private void btnException_Click(object sender, System.EventArgs e)
{
try
{
throw new ApplicationException("Exception!!!");
}
catch(Exception ex)
{
MessageBox.Show(ex.ToString());
}
}

Run the app in debug (F5), click on the button, and wait about 5-10
sec. for
the message box to appear. Clicking a second time causes the message
box to
appear immediately.

Can anyone tell me what's causing this, and is there a

solution/workaround?

Thanks.

--
Rob Gravereaux
Principal Developer
Glen Road Systems, Inc.
Ro********************@grsinc.com
http://www.grsinc.com



Nov 15 '05 #4
OK, I'll accept that, in general. however 5 - 10 seconds seems excessive,
and for the 5 - 10 seconds I'm waiting nothing appears to be happening, i.e.
no disk activity, no libraries appear to be loading, etc...

For kicks I ran the same code in debug in VS.Net 2002 on the same machine
and I get what I'd expect - the catch block is executed immediately the
first time. So I still think my issue is valid. I guess this is either a
configuration issue in VS.Net 2003 or, dare I say it, a bug.

Can you replicate this behaviour in your environment? I can't believe this
is 'normal' for VS.Net 2003, yet it happens on every install I have.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:OI**************@TK2MSFTNGP09.phx.gbl...
Robert,

Of course! The fact that it is being debugged in the first place
changes a lot. You have one process basically hooking into another process as it is executing code. I can't imagine that there ^wouldn't^ be any
overhead involved in this process, as well as initialization and tear-down
code.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Thanks for the reply.

It only happens when running apps in debug in the IDE. It does not occur if
I run the compiled executable, so I don't think I'd want to add additional
code if possible.

Is this behaviour affected by any of the settings of the debugger?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote

in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Robert,

Catching exceptions is always a more expensive operation. The

runtime might hold of until a first occurance in order to save some time. The

only
way I can think of to get around this would be to create a new thread,
throwing and catching an exception on that thread, and then exiting.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...
> I've noticed that the first exception thrown/caught by an app running in
> debug is very slow - it takes perhaps 7 or 8 seconds on my P4
machine. I've
> noticed this on several different machines running the development
> environment.
>
> To replicate, create a new c# windows app, add a button, and hook it

to the
> following code:
> private void btnException_Click(object sender, System.EventArgs e)
> {
> try
> {
> throw new ApplicationException("Exception!!!");
> }
> catch(Exception ex)
> {
> MessageBox.Show(ex.ToString());
> }
> }
>
> Run the app in debug (F5), click on the button, and wait about 5-10 sec. for
> the message box to appear. Clicking a second time causes the message box to
> appear immediately.
>
> Can anyone tell me what's causing this, and is there a
solution/workaround?
>
> Thanks.
>
> --
> Rob Gravereaux
> Principal Developer
> Glen Road Systems, Inc.
> Ro********************@grsinc.com
> http://www.grsinc.com
>
>



Nov 15 '05 #5
Robert,

If you email me a zipped project, I can take a look at it on my machine.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:O7**************@TK2MSFTNGP11.phx.gbl...
OK, I'll accept that, in general. however 5 - 10 seconds seems excessive,
and for the 5 - 10 seconds I'm waiting nothing appears to be happening, i.e. no disk activity, no libraries appear to be loading, etc...

For kicks I ran the same code in debug in VS.Net 2002 on the same machine
and I get what I'd expect - the catch block is executed immediately the
first time. So I still think my issue is valid. I guess this is either a
configuration issue in VS.Net 2003 or, dare I say it, a bug.

Can you replicate this behaviour in your environment? I can't believe this
is 'normal' for VS.Net 2003, yet it happens on every install I have.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:OI**************@TK2MSFTNGP09.phx.gbl...
Robert,

Of course! The fact that it is being debugged in the first place
changes a lot. You have one process basically hooking into another

process
as it is executing code. I can't imagine that there ^wouldn't^ be any
overhead involved in this process, as well as initialization and tear-down
code.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Thanks for the reply.

It only happens when running apps in debug in the IDE. It does not occur
if
I run the compiled executable, so I don't think I'd want to add additional code if possible.

Is this behaviour affected by any of the settings of the debugger?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>
wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
> Robert,
>
> Catching exceptions is always a more expensive operation. The

runtime
> might hold of until a first occurance in order to save some time.
The only
> way I can think of to get around this would be to create a new thread, > throwing and catching an exception on that thread, and then exiting.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard.caspershouse.com
>
> "Robert Gravereaux" <Ro********************@grsinc.com> wrote in

message > news:%2****************@TK2MSFTNGP12.phx.gbl...
> > I've noticed that the first exception thrown/caught by an app running
in
> > debug is very slow - it takes perhaps 7 or 8 seconds on my P4

machine. > I've
> > noticed this on several different machines running the development
> > environment.
> >
> > To replicate, create a new c# windows app, add a button, and hook

it to
> the
> > following code:
> > private void btnException_Click(object sender, System.EventArgs e)
> > {
> > try
> > {
> > throw new ApplicationException("Exception!!!");
> > }
> > catch(Exception ex)
> > {
> > MessageBox.Show(ex.ToString());
> > }
> > }
> >
> > Run the app in debug (F5), click on the button, and wait about
5-10 sec.
> for
> > the message box to appear. Clicking a second time causes the
message box
> to
> > appear immediately.
> >
> > Can anyone tell me what's causing this, and is there a
> solution/workaround?
> >
> > Thanks.
> >
> > --
> > Rob Gravereaux
> > Principal Developer
> > Glen Road Systems, Inc.
> > Ro********************@grsinc.com
> > http://www.grsinc.com
> >
> >
>
>



Nov 15 '05 #6
Robert,

I am getting approximately the same results (3 seconds on the first one,
none on the subsequent calls). I can only guess, but I imagine it has
something to do with the way that the CLR exposes debugging functionality,
and possibly with the way that VS.NET hooks up with the CLR for debugging,
and the possibility of those things changing between .NET 1.0 and .NET 1.1.

However, when running a release version, I do not get this.

Given that the versions we run are debug versions, I can't say I am
extremely concerned. I can ask around why this might happen though, and
post if I find anything.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Here's a sample app. It's the same code from my first posting, with the
addition of some timing code.

Please run it in debug from the VS.Net 2003 IDE, click the button and wait. On my environments the first exception takes anywhere from 3 to 10 seconds
to be caught. After that it's immediate.

In VS.Net 2002 the first exception is caught immediately.

Let me know what your times are.

Thanks.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:O8**************@TK2MSFTNGP11.phx.gbl...
Robert,

If you email me a zipped project, I can take a look at it on my machine.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:O7**************@TK2MSFTNGP11.phx.gbl...
OK, I'll accept that, in general. however 5 - 10 seconds seems excessive, and for the 5 - 10 seconds I'm waiting nothing appears to be happening,
i.e.
no disk activity, no libraries appear to be loading, etc...

For kicks I ran the same code in debug in VS.Net 2002 on the same machine and I get what I'd expect - the catch block is executed immediately
the first time. So I still think my issue is valid. I guess this is either a configuration issue in VS.Net 2003 or, dare I say it, a bug.

Can you replicate this behaviour in your environment? I can't believe this is 'normal' for VS.Net 2003, yet it happens on every install I have.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:OI**************@TK2MSFTNGP09.phx.gbl...
> Robert,
>
> Of course! The fact that it is being debugged in the first
place > changes a lot. You have one process basically hooking into another
process
> as it is executing code. I can't imagine that there ^wouldn't^ be any > overhead involved in this process, as well as initialization and

tear-down
> code.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard.caspershouse.com
>
> "Robert Gravereaux" <Ro********************@grsinc.com> wrote in message > news:%2****************@TK2MSFTNGP12.phx.gbl...
> > Thanks for the reply.
> >
> > It only happens when running apps in debug in the IDE. It does not

occur
> if
> > I run the compiled executable, so I don't think I'd want to add
additional
> > code if possible.
> >
> > Is this behaviour affected by any of the settings of the debugger?
> >
> > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>

wrote
> in
> > message news:%2****************@TK2MSFTNGP09.phx.gbl...
> > > Robert,
> > >
> > > Catching exceptions is always a more expensive operation. The > runtime
> > > might hold of until a first occurance in order to save some
time. The
> > only
> > > way I can think of to get around this would be to create a new

thread,
> > > throwing and catching an exception on that thread, and then

exiting. > > >
> > > Hope this helps.
> > >
> > >
> > > --
> > > - Nicholas Paldino [.NET/C# MVP]
> > > - mv*@spam.guard.caspershouse.com
> > >
> > > "Robert Gravereaux" <Ro********************@grsinc.com> wrote in
message
> > > news:%2****************@TK2MSFTNGP12.phx.gbl...
> > > > I've noticed that the first exception thrown/caught by an app
running
> in
> > > > debug is very slow - it takes perhaps 7 or 8 seconds on my P4
machine.
> > > I've
> > > > noticed this on several different machines running the development > > > > environment.
> > > >
> > > > To replicate, create a new c# windows app, add a button, and hook
it
> to
> > > the
> > > > following code:
> > > > private void btnException_Click(object sender,

System.EventArgs e) > > > > {
> > > > try
> > > > {
> > > > throw new ApplicationException("Exception!!!");
> > > > }
> > > > catch(Exception ex)
> > > > {
> > > > MessageBox.Show(ex.ToString());
> > > > }
> > > > }
> > > >
> > > > Run the app in debug (F5), click on the button, and wait about

5-10
> sec.
> > > for
> > > > the message box to appear. Clicking a second time causes the

message
> box
> > > to
> > > > appear immediately.
> > > >
> > > > Can anyone tell me what's causing this, and is there a
> > > solution/workaround?
> > > >
> > > > Thanks.
> > > >
> > > > --
> > > > Rob Gravereaux
> > > > Principal Developer
> > > > Glen Road Systems, Inc.
> > > > Ro********************@grsinc.com
> > > > http://www.grsinc.com
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #7
I'd appreciate anything you can find out.

Thanks for the effort.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:ug**************@tk2msftngp13.phx.gbl...
Robert,

I am getting approximately the same results (3 seconds on the first one, none on the subsequent calls). I can only guess, but I imagine it has
something to do with the way that the CLR exposes debugging functionality,
and possibly with the way that VS.NET hooks up with the CLR for debugging,
and the possibility of those things changing between .NET 1.0 and .NET 1.1.
However, when running a release version, I do not get this.

Given that the versions we run are debug versions, I can't say I am
extremely concerned. I can ask around why this might happen though, and
post if I find anything.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Here's a sample app. It's the same code from my first posting, with the
addition of some timing code.

Please run it in debug from the VS.Net 2003 IDE, click the button and wait.
On my environments the first exception takes anywhere from 3 to 10 seconds
to be caught. After that it's immediate.

In VS.Net 2002 the first exception is caught immediately.

Let me know what your times are.

Thanks.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote

in
message news:O8**************@TK2MSFTNGP11.phx.gbl...
Robert,

If you email me a zipped project, I can take a look at it on my

machine.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Robert Gravereaux" <Ro********************@grsinc.com> wrote in message news:O7**************@TK2MSFTNGP11.phx.gbl...
> OK, I'll accept that, in general. however 5 - 10 seconds seems

excessive,
> and for the 5 - 10 seconds I'm waiting nothing appears to be happening, i.e.
> no disk activity, no libraries appear to be loading, etc...
>
> For kicks I ran the same code in debug in VS.Net 2002 on the same

machine
> and I get what I'd expect - the catch block is executed immediately the > first time. So I still think my issue is valid. I guess this is either a
> configuration issue in VS.Net 2003 or, dare I say it, a bug.
>
> Can you replicate this behaviour in your environment? I can't
believe this
> is 'normal' for VS.Net 2003, yet it happens on every install I have.
>
> "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>

wrote in
> message news:OI**************@TK2MSFTNGP09.phx.gbl...
> > Robert,
> >
> > Of course! The fact that it is being debugged in the first place > > changes a lot. You have one process basically hooking into
another > process
> > as it is executing code. I can't imagine that there ^wouldn't^ be

any > > overhead involved in this process, as well as initialization and
tear-down
> > code.
> >
> >
> > --
> > - Nicholas Paldino [.NET/C# MVP]
> > - mv*@spam.guard.caspershouse.com
> >
> > "Robert Gravereaux" <Ro********************@grsinc.com> wrote in

message
> > news:%2****************@TK2MSFTNGP12.phx.gbl...
> > > Thanks for the reply.
> > >
> > > It only happens when running apps in debug in the IDE. It does not occur
> > if
> > > I run the compiled executable, so I don't think I'd want to add
> additional
> > > code if possible.
> > >
> > > Is this behaviour affected by any of the settings of the debugger? > > >
> > > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
> > in
> > > message news:%2****************@TK2MSFTNGP09.phx.gbl...
> > > > Robert,
> > > >
> > > > Catching exceptions is always a more expensive operation. The > > runtime
> > > > might hold of until a first occurance in order to save some time. The
> > > only
> > > > way I can think of to get around this would be to create a new
thread,
> > > > throwing and catching an exception on that thread, and then

exiting.
> > > >
> > > > Hope this helps.
> > > >
> > > >
> > > > --
> > > > - Nicholas Paldino [.NET/C# MVP]
> > > > - mv*@spam.guard.caspershouse.com
> > > >
> > > > "Robert Gravereaux" <Ro********************@grsinc.com> wrote in > message
> > > > news:%2****************@TK2MSFTNGP12.phx.gbl...
> > > > > I've noticed that the first exception thrown/caught by an app > running
> > in
> > > > > debug is very slow - it takes perhaps 7 or 8 seconds on my P4 > machine.
> > > > I've
> > > > > noticed this on several different machines running the

development
> > > > > environment.
> > > > >
> > > > > To replicate, create a new c# windows app, add a button, and

hook
it
> > to
> > > > the
> > > > > following code:
> > > > > private void btnException_Click(object sender,

System.EventArgs
e)
> > > > > {
> > > > > try
> > > > > {
> > > > > throw new ApplicationException("Exception!!!");
> > > > > }
> > > > > catch(Exception ex)
> > > > > {
> > > > > MessageBox.Show(ex.ToString());
> > > > > }
> > > > > }
> > > > >
> > > > > Run the app in debug (F5), click on the button, and wait about 5-10
> > sec.
> > > > for
> > > > > the message box to appear. Clicking a second time causes the
message
> > box
> > > > to
> > > > > appear immediately.
> > > > >
> > > > > Can anyone tell me what's causing this, and is there a
> > > > solution/workaround?
> > > > >
> > > > > Thanks.
> > > > >
> > > > > --
> > > > > Rob Gravereaux
> > > > > Principal Developer
> > > > > Glen Road Systems, Inc.
> > > > > Ro********************@grsinc.com
> > > > > http://www.grsinc.com
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #8
Robert Gravereaux <Ro********************@grsinc.com> wrote:
Here's a sample app. It's the same code from my first posting, with the
addition of some timing code.

Please run it in debug from the VS.Net 2003 IDE, click the button and wait.
On my environments the first exception takes anywhere from 3 to 10 seconds
to be caught. After that it's immediate.

In VS.Net 2002 the first exception is caught immediately.

Let me know what your times are.


It's just over a second for me. I noted that during that second, the
CPU is busy - so it's not like the machine is just waiting or anything.

Here's a rather simpler program to demonstrate it - less GUI fluff to
get in the way:

using System;

class Test
{
static void Main(string[] args)
{
DateTime start = DateTime.Now;
try
{
throw new ApplicationException("Hello");
}
catch (Exception)
{
DateTime end = DateTime.Now;
Console.WriteLine(end-start);
}
Console.ReadLine();
}
}

Now, the interesting thing is that if you change ApplicationException
to Exception, the delay goes away.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: DotNetIsHorrible | last post by:
I write CRUD database applications for a living for an audience of about 100 users per application using classic ASP. I maintain and frequently change on user's request 22 different applications...
7
by: Earl Teigrob | last post by:
The first time any of my web apps are hit, they take a long time (45 seconds) for the JIT compiler to compile them. After being hit the first time, they are very fast. My boss is starting to think...
6
by: cameron | last post by:
I have always been under the impression that LDAP was optimized for speed. Fast queries, fast access, slower writes. I have a block of data in LDAP and in SQL. Exact same data. The query is fast...
3
by: Bob Graham | last post by:
This code: txRate.Text = Format(payRate, "C") (payRate is already succesfully set to a value such as 15D) takes about 3-4 seconds to run the first time, after that it's plenty fast. What...
7
by: Yarco | last post by:
Well, friend. Yes, I'm doing PHP. But exception is a traditional machinism in programming languages. I'm very doubt about this. In procedure language, we return error code when we meet an error. So...
1
by: =?Utf-8?B?S3VtYXIuQS5QLlA=?= | last post by:
We have hosted a web application in a client network and the application is responding very slow. In between we are getting exceptions due to the request time out. We are getting the following...
9
by: SAL | last post by:
I have an ASP.NET 2.0 app that takes about 17 seconds to load on first startup but then is very fast after that. As I understand it from some posts in June, this is caused by the loading of the App...
2
by: Cramer | last post by:
I'm developing a new ASP.NET 3.5 app and I have an http module hooked up to Application_Error that logs detailed exception data. When it parses and evaluates unhandled exceptions, it "sees" all...
0
Frinavale
by: Frinavale | last post by:
I have a peculiar problem... Background: I have a function that I don't want the user to execute more than once while they are waiting for it to process; therefore, I disable all of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.