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?
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?
>
>
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?
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
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
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
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
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
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?