Web Site takes forever to run in debug mode

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?
John Smith [ Do, 17 April 2008 15:29 ] [ ID #1944353 ]

Re: Web Site takes forever to run in debug mode

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" <someone [at] microsoft.com> wrote in message
news:eWumd8IoIHA.2256 [at] TK2MSFTNGP05.phx.gbl...
> 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 [ Do, 17 April 2008 15:58 ] [ ID #1944358 ]

Re: Web Site takes forever to run in debug mode

"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN [at] mMvVpPsS.org> wrote in
message news:%23DIkLNJoIHA.2160 [at] TK2MSFTNGP06.phx.gbl...
> First thing, try to clear ASP.NET temporary directory.

Where exactly is this folder?
John Smith [ Do, 17 April 2008 17:09 ] [ ID #1944364 ]

Re: Web Site takes forever to run in debug mode

"Waldy" <someone [at] microsoft.com> wrote in message
news:u7fJ9zJoIHA.4024 [at] 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
mark [ Do, 17 April 2008 17:30 ] [ ID #1944367 ]

Re: Web Site takes forever to run in debug mode

"Mark Rae [MVP]" <mark [at] markNOSPAMrae.net> wrote in message
news:%233$Q1$JoIHA.3804 [at] TK2MSFTNGP02.phx.gbl...
> "Waldy" <someone [at] microsoft.com> wrote in message
> news:u7fJ9zJoIHA.4024 [at] 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

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
Courtney [ Do, 17 April 2008 18:20 ] [ ID #1944374 ]

Re: Web Site takes forever to run in debug mode

"Lloyd Sheen" <a [at] b.c> wrote in message
news:%23L$zvbKoIHA.1240 [at] TK2MSFTNGP02.phx.gbl...

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


Yes.


--
Mark Rae
ASP.NET MVP
http://www.markrae.net
mark [ Do, 17 April 2008 18:33 ] [ ID #1944377 ]

Re: Web Site takes forever to run in debug mode

"Mark Rae [MVP]" <mark [at] markNOSPAMrae.net> wrote in message
news:OJkDPjKoIHA.4912 [at] TK2MSFTNGP03.phx.gbl...
> "Lloyd Sheen" <a [at] b.c> wrote in message
> news:%23L$zvbKoIHA.1240 [at] TK2MSFTNGP02.phx.gbl...
>
>> Is it safe to delete all these files at any time (while IIS is not
>> running)?
>
>
> Yes.
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net

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

LS
Courtney [ Do, 17 April 2008 18:44 ] [ ID #1944380 ]

Re: Web Site takes forever to run in debug mode

"Lloyd Sheen" <a [at] b.c> wrote in message
news:%23RvBXpKoIHA.5096 [at] 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...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net
mark [ Do, 17 April 2008 18:53 ] [ ID #1944381 ]

Re: Web Site takes forever to run in debug mode

"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN [at] mMvVpPsS.org> wrote in
message news:%23DIkLNJoIHA.2160 [at] TK2MSFTNGP06.phx.gbl...
> First thing, try to clear ASP.NET temporary directory.

OK I've done that. What next?
John Smith [ Mo, 21 April 2008 18:10 ] [ ID #1946630 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Web Site takes forever to run in debug mode

Vorheriges Thema: Changing Item Template views.
Nächstes Thema: Organizing Large Web Service