Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Web Site takes forever to run in debug mode

1 view
Skip to first unread message

Waldy

unread,
Apr 17, 2008, 9:29:48 AM4/17/08
to
Hi there,
I have a VS 2005 Web Site project that is taking an age to
build or run. It takes about fifteen minutes to run in debug mode. Even if
I just select Build Page, Visual Studio hangs for about five minutes.
There are about 20 pages so far and about 50 references.

Does anyone have any ideas?


Eliyahu Goldin

unread,
Apr 17, 2008, 9:58:32 AM4/17/08
to
First thing, try to clear ASP.NET temporary directory.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Waldy" <som...@microsoft.com> wrote in message
news:eWumd8Io...@TK2MSFTNGP05.phx.gbl...

Waldy

unread,
Apr 17, 2008, 11:09:05 AM4/17/08
to
"Eliyahu Goldin" <REMOVEALLCAPIT...@mMvVpPsS.org> wrote in
message news:%23DIkLNJ...@TK2MSFTNGP06.phx.gbl...

> First thing, try to clear ASP.NET temporary directory.

Where exactly is this folder?


Mark Rae [MVP]

unread,
Apr 17, 2008, 11:30:24 AM4/17/08
to
"Waldy" <som...@microsoft.com> wrote in message
news:u7fJ9zJo...@TK2MSFTNGP06.phx.gbl...

>> First thing, try to clear ASP.NET temporary directory.
>
> Where exactly is this folder?

Assuming things are installed in their default locations:

C:\Windows\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

or

C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Lloyd Sheen

unread,
Apr 17, 2008, 12:20:17 PM4/17/08
to

"Mark Rae [MVP]" <ma...@markNOSPAMrae.net> wrote in message
news:%233$Q1$JoIHA...@TK2MSFTNGP02.phx.gbl...

Never done this and just looked in the folder. It is running at 237 MB and
has 13K files. Is it safe to delete all these files at any time (while IIS
is not running)?

Thanks
Lloyd Sheen

Mark Rae [MVP]

unread,
Apr 17, 2008, 12:33:45 PM4/17/08
to
"Lloyd Sheen" <a@b.c> wrote in message
news:%23L$zvbKoI...@TK2MSFTNGP02.phx.gbl...

> Is it safe to delete all these files at any time (while IIS is not
> running)?


Yes.

Lloyd Sheen

unread,
Apr 17, 2008, 12:44:39 PM4/17/08
to

"Mark Rae [MVP]" <ma...@markNOSPAMrae.net> wrote in message
news:OJkDPjKo...@TK2MSFTNGP03.phx.gbl...

Thanks, is there a way to cause this to happen on a schedule within IIS?

LS

Mark Rae [MVP]

unread,
Apr 17, 2008, 12:53:37 PM4/17/08
to
"Lloyd Sheen" <a@b.c> wrote in message
news:%23RvBXpK...@TK2MSFTNGP02.phx.gbl...

>>> Is it safe to delete all these files at any time (while IIS is not
>>> running)?
>>
>> Yes.
>

> Thanks, is there a way to cause this to happen on a schedule within IIS?

I don't think so, but it would be a fairly trivial matter to create a
Windows scheduled task to do it...

Waldy

unread,
Apr 21, 2008, 12:10:25 PM4/21/08
to

"Eliyahu Goldin" <REMOVEALLCAPIT...@mMvVpPsS.org> wrote in
message news:%23DIkLNJ...@TK2MSFTNGP06.phx.gbl...
> First thing, try to clear ASP.NET temporary directory.

OK I've done that. What next?


Keller@discussions.microsoft.com Jakub Keller

unread,
Jun 4, 2008, 9:52:05 AM6/4/08
to
That solution makes no sense. That cache is there for a reason, so when it
needs to be reloaded it'll naturally take even longer to load the debugger
than before. Instead of doing that, try and tweak your IDE settings,
especially those that deal with the debugger (Options->Debugging). You could
for example check the "Enable Just My Code (Managed only)" setting so that
symbols aren't loaded until they are needed. You can also go to
Options->Debugging->Symbols and set a local folder to act as a symbol store
to cache symbols. Also, in your project settings, make sure your code isn't
being optimized.
0 new messages