473,701 Members | 2,731 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IDE dies during compile

Hello.

I work for a large web company, and we are in the process of converting our
old .asp pages to .aspx with VB code-behind. The solution includes 8
projects, all of which are very interwoven.

The problem is that when I first open the IDE and load my solution, if I try
to build or build all, it gets partway through the compile and then IDE
simply goes away. There is no error, no fanfare, no warning, no indication
that there is a problem at all--it just goes away. *pop*

Sometimes, this happens every time. Occasionally, I can get it to let me
Build, but not Build All, but not very often.

The pattern I've noticed over the last few days is that if I load the
solution and then press F5 to RUN it (in debug mode), I get pop-up window
saying there is a W3WP.EXE application error. After I click the OK box on
this error, the compile completes, I can then stop the debug, and from that
point on until I shut down IDE, I can build or build all without problems.

Does anyone have any idea how to fix this? Is anyone else besides us seeing
this? It's been driving me and several other developers here crazy for
quite a while, and it's getting worse as the we go forward.

--
Kevin
Nov 21 '05 #1
6 1292
Sounds like a monolithic application which you need to break down into more managable chuncks. When
you say you cant compile/are you trying to compile the entire solution at once or on a project by
project basis?

When you say interwoven/how interwoven/i'd check for things like circular references etc. Quite
often when things just go *pop* as you have described its because you have chewed through all
available resources? What does task manager tell you about the resource consumption when you compile
/F5? If it goes thru the roof then certainly look into circular reference theory. This should be
detected by IDE but depending on the stage you at in the conversion process, the problem might not
yet be *detected*....

Otherwise it might be something completely different altogether?

;-)

If you can sometimes F5 then you should be able to set a break point on the very first line of app
and step thru to point of failure. If it falls over before it even hits the first statement then you
know it's in the setup and again;in a *highly interwoven app* i'd be looking for circular
references.

hth
Richard


Nov 21 '05 #2
Also if you dont already know how to drill into your IIS worker processes the following Url may be
of some help:

http://www.wwwcoder.com/main/parenti...8/default.aspx

Richard
Nov 21 '05 #3
"Richard Myers" wrote:
Sounds like a monolithic application which you need to break down into more managable chuncks. When you say you cant compile/are you trying to compile the entire solution at once or on a project by project basis?
This is what I meant by "interwoven ." There are 8 projects, but none of
them is stand-alone except one. The rest all reference each other, but I'm
fairly sure there are no circular references or EVERYONE would be having
this problem. It is still just a few of us, though.

When you say interwoven/how interwoven/i'd check for things like circular references etc. Quite often when things just go *pop* as you have described its because you have chewed through all available resources? What does task manager tell you about the resource consumption when you compile /F5? If it goes thru the roof then certainly look into circular reference theory. This should be detected by IDE but depending on the stage you at in the conversion process, the problem might not yet be *detected*....
CPU goes up to 90% or a little above, but it goes higher than that opening
MS Word. As I type this, 'devenv.exe' is using just under 120M of memory
(it just completed a Build operation; the first time I tried it, it did what
I describe above, but when I did it again after reloading, it worked okay).

Otherwise it might be something completely different altogether?

;-)
:)

If you can sometimes F5 then you should be able to set a break point on the very first line of app and step thru to point of failure. If it falls over before it even hits the first statement then you know it's in the setup and again;in a *highly interwoven app* i'd be looking for circular references.
I'm assuming by circular references, you mean:

Solution
Project A
References: Project B
Project B
References: Project C
Project C
References: Project A

That kind of thing?

hth
Richard

Nov 21 '05 #4

"Kevin Atherton" <me@privacy.net > wrote in message news:ef******** ******@TK2MSFTN GP14.phx.gbl...
"Richard Myers" wrote:
Sounds like a monolithic application which you need to break down into more managable chuncks. When
you say you cant compile/are you trying to compile the entire solution at

once or on a project by
project basis?


This is what I meant by "interwoven ." There are 8 projects, but none of
them is stand-alone except one. The rest all reference each other, but I'm
fairly sure there are no circular references or EVERYONE would be having
this problem. It is still just a few of us, though.


Are those developers from the same segment of the team though? Im just trying to throw up a few
ideas, if you can definitely rule them out however then it must be something else. You said you
could sometime build but not build all? So you are trying to build the entire solution at once? What
happens when you build on a project by project basis? Can you easily build the first say 3 projects
but not the last 5? Chances are you have probably tried all these things but i always start with the
really simple things, so apologies if this seems a too simplisitic/amatuerish.

When you say interwoven/how interwoven/i'd check for things like circular references etc. Quite
often when things just go *pop* as you have described its because you have

chewed through all
available resources? What does task manager tell you about the resource

consumption when you compile
/F5? If it goes thru the roof then certainly look into circular reference

theory. This should be
detected by IDE but depending on the stage you at in the conversion

process, the problem might not
yet be *detected*....


CPU goes up to 90% or a little above, but it goes higher than that opening
MS Word. As I type this, 'devenv.exe' is using just under 120M of memory
(it just completed a Build operation; the first time I tried it, it did what
I describe above, but when I did it again after reloading, it worked okay).


Yeah everyones cpu spikes/bursts for this kind of request, i was more interested in sustained
hardloop kinda useage. Increasing memory consumption is generally a very good indicator that
somethings a miss - however that depends on the loop.


If you can sometimes F5 then you should be able to set a break point on

the very first line of app
and step thru to point of failure. If it falls over before it even hits

the first statement then you
know it's in the setup and again;in a *highly interwoven app* i'd be

looking for circular
references.


You never answered this... can you ever hit a break point?


I'm assuming by circular references, you mean:

Solution
Project A
References: Project B
Project B
References: Project C
Project C
References: Project A

That kind of thing?


Yeah. Normally its quite simple to detect but i figured since you were moving from old technology to
new something might have got mixed up in the transistion.
Do you encounter the same problems when compiling from the command line? If not maybe a VS.Net
reinstall is in order?

Richard
Nov 21 '05 #5

"Kevin Atherton" <me@privacy.net > wrote in message news:ef******** ******@TK2MSFTN GP14.phx.gbl...
"Richard Myers" wrote:
Sounds like a monolithic application which you need to break down into more managable chuncks. When
you say you cant compile/are you trying to compile the entire solution at

once or on a project by
project basis?


This is what I meant by "interwoven ." There are 8 projects, but none of
them is stand-alone except one. The rest all reference each other, but I'm
fairly sure there are no circular references or EVERYONE would be having
this problem. It is still just a few of us, though.


Are those developers from the same segment of the team though? Im just trying to throw up a few
ideas, if you can definitely rule them out however then it must be something else. You said you
could sometime build but not build all? So you are trying to build the entire solution at once? What
happens when you build on a project by project basis? Can you easily build the first say 3 projects
but not the last 5? Chances are you have probably tried all these things but i always start with the
really simple things, so apologies if this seems a too simplisitic/amatuerish.

When you say interwoven/how interwoven/i'd check for things like circular references etc. Quite
often when things just go *pop* as you have described its because you have

chewed through all
available resources? What does task manager tell you about the resource

consumption when you compile
/F5? If it goes thru the roof then certainly look into circular reference

theory. This should be
detected by IDE but depending on the stage you at in the conversion

process, the problem might not
yet be *detected*....


CPU goes up to 90% or a little above, but it goes higher than that opening
MS Word. As I type this, 'devenv.exe' is using just under 120M of memory
(it just completed a Build operation; the first time I tried it, it did what
I describe above, but when I did it again after reloading, it worked okay).


Yeah everyones cpu spikes/bursts for this kind of request, i was more interested in sustained
hardloop kinda useage. Increasing memory consumption is generally a very good indicator that
somethings a miss - however that depends on the loop.


If you can sometimes F5 then you should be able to set a break point on

the very first line of app
and step thru to point of failure. If it falls over before it even hits

the first statement then you
know it's in the setup and again;in a *highly interwoven app* i'd be

looking for circular
references.


You never answered this... can you ever hit a break point?


I'm assuming by circular references, you mean:

Solution
Project A
References: Project B
Project B
References: Project C
Project C
References: Project A

That kind of thing?


Yeah. Normally its quite simple to detect but i figured since you were moving from old technology to
new something might have got mixed up in the transistion.
Do you encounter the same problems when compiling from the command line? If not maybe a VS.Net
reinstall is in order?

Richard
Nov 21 '05 #6
Del
The same thing happens to us with a VB DOT NET APP.

there are 6 developers with a large application (16 modules)

Sometimes we can get the latest code try and compile and the IDE will just
dissapear, No error messages or anything.

About the only thing that seems to fix it is to compile each sub project
individually and compile the front end project last.

"Kevin Atherton" wrote:
Hello.

I work for a large web company, and we are in the process of converting our
old .asp pages to .aspx with VB code-behind. The solution includes 8
projects, all of which are very interwoven.

The problem is that when I first open the IDE and load my solution, if I try
to build or build all, it gets partway through the compile and then IDE
simply goes away. There is no error, no fanfare, no warning, no indication
that there is a problem at all--it just goes away. *pop*

Sometimes, this happens every time. Occasionally, I can get it to let me
Build, but not Build All, but not very often.

The pattern I've noticed over the last few days is that if I load the
solution and then press F5 to RUN it (in debug mode), I get pop-up window
saying there is a W3WP.EXE application error. After I click the OK box on
this error, the compile completes, I can then stop the debug, and from that
point on until I shut down IDE, I can build or build all without problems.

Does anyone have any idea how to fix this? Is anyone else besides us seeing
this? It's been driving me and several other developers here crazy for
quite a while, and it's getting worse as the we go forward.

--
Kevin

Nov 21 '05 #7

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

Similar topics

4
1951
by: ben arthur | last post by:
what happens to java if sun dies? i'm a developer and am pondering using java for a new project. but am worried about sun's future. ben
0
2010
by: witichis | last post by:
Hi, using jetty 4.2.9 on redhat with sun jdk 1.4.2_01-b06 When using virtual hosts the java process dies after a few minutes while the CPU load goes slowly from 100% to zero (e-function?) on that process. Without virtual hosts jetty usually runs for months (no restarts necessary) on this setup. There is nothing unusual in the logs or stdout/stderr during that.
11
1971
by: Bryant Huang | last post by:
Hello! I would like to read in files, during run-time, which contain plain Python function definitions, and then call those functions by their string name. In other words, I'd like to read in arbitrary files with function definitions, using a typical 'open()' call, but then have those functions available for use. The 'import' keyword is not appropriate, AFAIK, because I want to be able to open any file, not one that I know ahead of...
0
1635
by: jj | last post by:
I've got a table of about 400,000 records but when I transfer it from Access to MySQL, the ODBC connection dies around 3,000 records or so (or about 3-5mins) with this error: ODBC -- call failed Lost connection to MySQL server during query (#2013) Once this error occurs, the table and uploaded records are removed from
0
1231
by: Gumby | last post by:
Is gprof on Solaris 9 X86 not as supported as Solaris 9 Sparc? At work when we try to compile a program with -pg to use gprof to performance profile our software, the compiled app just dies instantly when it's started, no gmon.out file is made and the core file can't be traced by ddd: (it warns there's no symbols or no stack something like that). We did remove /usr/lib from the LD_LIBRARY_PATH and substituted it with /usr/lib/libp as...
1
6477
by: Pardhasaradhy | last post by:
Hi, Please see the following error and revert back as early as possible. I am getting this once I request for the asp.net page. Server Error in '/tanishq' Application. Timed out waiting for a program to execute. The command being executed was "c:\winnt\microsoft.net\framework\v1.0.3705\vbc.exe"
2
1274
by: heelios.hantonei | last post by:
Hi, I'm currently writting an application and I was wondering if there was a way to declare a class friend of another during runtime? Thanks. Philippe Gagnon
3
5487
by: jehugaleahsa | last post by:
Hello: I have had a program that checks LDAP to get a list of all the users whose password will expire. I send these users an email letting them know to change their passwords. It had been working fine for months. Then, all of a sudden, something changed and now the service dies unexpectedly. I wrote some code to log what was the last step performed and it appears as though the service dies while it is "sleeping".
9
3816
by: jehugaleahsa | last post by:
Hello: I am working on a service. For the past month we have been simply restarting the service daily (which defeats the point). I have been putting some extra time into it today and have come to the conclusion that a pop-up window is trying to open whenever an error occurs. However, the line of code that it dies on is inside of a try/catch. I
0
8736
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8649
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9229
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9083
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8977
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8934
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6571
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5904
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4410
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

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.