473,566 Members | 3,255 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 1287
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
1935
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
2002
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...
11
1962
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...
0
1630
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
1224
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...
1
6469
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
1268
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
5473
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...
9
3811
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...
0
7893
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. ...
0
8109
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...
1
7645
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...
0
7953
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...
1
5485
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...
0
5213
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...
0
3643
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...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1202
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.