473,407 Members | 2,629 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,407 software developers and data experts.

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?
Jun 27 '08 #1
9 1764
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" <so*****@microsoft.comwrote in message
news:eW**************@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?


Jun 27 '08 #2
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2****************@TK2MSFTNGP06.phx.gbl...
First thing, try to clear ASP.NET temporary directory.
Where exactly is this folder?
Jun 27 '08 #3
"Waldy" <so*****@microsoft.comwrote in message
news:u7**************@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\Tempo rary ASP.NET Files

or

C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #4

"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
"Waldy" <so*****@microsoft.comwrote in message
news:u7**************@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\Tempo rary ASP.NET Files

or

C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary 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

Jun 27 '08 #5
"Lloyd Sheen" <a@b.cwrote in message
news:%2****************@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

Jun 27 '08 #6

"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:OJ**************@TK2MSFTNGP03.phx.gbl...
"Lloyd Sheen" <a@b.cwrote in message
news:%2****************@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

Jun 27 '08 #7
"Lloyd Sheen" <a@b.cwrote in message
news:%2****************@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

Jun 27 '08 #8

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2****************@TK2MSFTNGP06.phx.gbl...
First thing, try to clear ASP.NET temporary directory.
OK I've done that. What next?
Jun 27 '08 #9
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.

"Eliyahu Goldin" wrote:
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" <so*****@microsoft.comwrote in message
news:eW**************@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?


Jun 27 '08 #10

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

Similar topics

3
by: Steve Franks | last post by:
I'm using Visual Studio 2005 RC and cannot figure out how to produce a "release" build. Am I doing something wrong? I'm wondering if perhaps MS locked out the ability to produce a release build...
3
by: gogaz | last post by:
Hi, I am not sure if I am doing somthing wrong, but the forms with AxWebBrowser control in my VB.NET application takes time to load and show up on screen when i run in Debug mode in VS ...
3
by: shawn | last post by:
I am having a hard time finding an easy way to remove a reference to another .net project that I am no longer using (ASP 2.0 - this was an available option in 1.0). Other projects have a list of...
4
by: news.citenet.net | last post by:
I keep getting the following error message after my web site running 2 or 3 days I share one folder with about 200 domain names Any one can help? ...
1
by: =?Utf-8?B?TmFkYXYgUG9wcGxld2VsbA==?= | last post by:
Hi everybody, I've got a solution that has several dll projects and a website. For the dll projects I've add a configuration 'debug - no code analysis'. Now for the website I can't create...
4
by: John Sheppard | last post by:
Hello all, I have an application written in VB.Net that comsumes a webservice. We are having issues with speed. I have not ruled out a webservice problem, and this was my first guess. However...
3
by: =?Utf-8?B?QWxleGFuZGVyIFd5a2Vs?= | last post by:
My application is taking way too long to build. It use to never take so long. I change only line and I think it recompiles all the classes in the assembly because it hangs forever. Here is the...
0
by: Waldy | last post by:
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...
2
by: Waldy | last post by:
Hi there, I have a Web Site project that takes an age to run in debug mode. It takes so long to fire up that I forget why I was running it in the first place. It's driving me insane! I have...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.