473,804 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Could use some help from a Smart Person(TM) <grin>

Hi,

I'm struggling with a problem and was hoping that someone on this group
could point me in the right direction. I'm not looking for a free ride, just
a suggestion as to how best to use all the tools at my disposal to diagnose
the situation.

I have an existing COM+ / ASP application (the COM+ objects are written in
VB 6.0) that I am wanting to migrate forward to .NET (using VB.Net). I have
added some ASPX pages to the existing application that do relatively simple
things such as display lists of data from a SQL Server database, etc. I have
successfully deployed the application in a 5 server "Microsoft Load
Balancing" cluster (the application is designed to be stateless, so this
works very well).

Everything was fine until I got uppity and decided to add some code that put
up entry fields, dropdowns, etc. to allow users to change data in the system.
Everything tests out just fine on my Windows XP SP2 development machine but
when I deploy the application to the production environment, it randomly
locks up the entire .NET subsystem. I can still go to other web pages on the
server that use COM+ but any ASPX page just hangs when I try to click on it.

I added a table to the database that allows me to record where I'm at in the
application (i.e. a glorified printf function) that gets fancy and uses
reflection to capture a stack trace at each step along the way and it appears
to be hanging in a different place each time.

I'm pretty sure it is hung instead of looping because the CPU utilization on
the machine stays pretty much at zero and the memory consumed by the w3svc
process apppears to be nearly static.

The servers are IBM HS20 blade servers configured using IBM's "server
manager" installation disk. They all have the right version of the .NET
framework on them, they are running Server 2003 Standard Edition, and are
patched up to latest & greatest on everything but DirectX (never bother to
install the update but I would think it wouldn't matter).

Now for my questions:

1. Is there some way I can see where the thing is hung?
2. What recommendations can I get from the group on diagnosing the problem?
3. Is there anything special I need to do from an installation perspective
outside of creating the "applicatio n" thingy in IIS Manager (right click on
the directory where the application lives and tell it to create a new
application taking the defaults)

Thanks in advance,
Bryan
Jul 21 '05 #1
2 1361
One question do you have other servers, other than blades, that it runs on?
I am facing a wierd problem on three new servers (blade) where out .NET
software does not work, errors, hangs, quits, sorta like yours! Is the the
blades fault? Don't know, is there software differences with our code NO, OS
yes?
"BryanEverl y" <Br*********@di scussions.micro soft.com> wrote in message
news:0C******** *************** ***********@mic rosoft.com...
Hi,

I'm struggling with a problem and was hoping that someone on this group
could point me in the right direction. I'm not looking for a free ride, just a suggestion as to how best to use all the tools at my disposal to diagnose the situation.

I have an existing COM+ / ASP application (the COM+ objects are written in
VB 6.0) that I am wanting to migrate forward to .NET (using VB.Net). I have added some ASPX pages to the existing application that do relatively simple things such as display lists of data from a SQL Server database, etc. I have successfully deployed the application in a 5 server "Microsoft Load
Balancing" cluster (the application is designed to be stateless, so this
works very well).

Everything was fine until I got uppity and decided to add some code that put up entry fields, dropdowns, etc. to allow users to change data in the system. Everything tests out just fine on my Windows XP SP2 development machine but when I deploy the application to the production environment, it randomly
locks up the entire .NET subsystem. I can still go to other web pages on the server that use COM+ but any ASPX page just hangs when I try to click on it.
I added a table to the database that allows me to record where I'm at in the application (i.e. a glorified printf function) that gets fancy and uses
reflection to capture a stack trace at each step along the way and it appears to be hanging in a different place each time.

I'm pretty sure it is hung instead of looping because the CPU utilization on the machine stays pretty much at zero and the memory consumed by the w3svc
process apppears to be nearly static.

The servers are IBM HS20 blade servers configured using IBM's "server
manager" installation disk. They all have the right version of the .NET
framework on them, they are running Server 2003 Standard Edition, and are
patched up to latest & greatest on everything but DirectX (never bother to
install the update but I would think it wouldn't matter).

Now for my questions:

1. Is there some way I can see where the thing is hung?
2. What recommendations can I get from the group on diagnosing the problem? 3. Is there anything special I need to do from an installation perspective outside of creating the "applicatio n" thingy in IIS Manager (right click on the directory where the application lives and tell it to create a new
application taking the defaults)

Thanks in advance,
Bryan

Jul 21 '05 #2
Hi,

In Bryan's case, it could be "almost anything" that's causing the
problem. I've been running ASP.NET for over three years on a perfect
config Windows 2000 server with RAID1 boot and RAID5 data, and not a
single hang (except due to a developer error a few months back). Bryan's
app sounds like a mess to me - you don't use VB6 and VB.NET for COM, but
that may not be the problem. First thing I'd try is write a new test app
that does not use COM and see if that hangs too? If the new app crashes,
you know it's ASP.NET. If it does not crash, you know it's the COM stuff.

Actually, this raises an interesting point which is that .NET may simply
be too risky to run mission critical apps. The ability to track down
these types of errors does not exist in .NET, but it's a no brainer in
C++/COM.

In the case of Jim's servers, the first thing I'd check is whether non
..NET apps are also crashing, or is it only .NET stuff? He doesn't say
what o/s he's running or any other tech info; have all the server
management logs been checked and have all the event logs been checked?
What kind of test apps have been created to track down the problem?

Jim Douglas wrote:
One question do you have other servers, other than blades, that it runs on?
I am facing a wierd problem on three new servers (blade) where out .NET
software does not work, errors, hangs, quits, sorta like yours! Is the the
blades fault? Don't know, is there software differences with our code NO, OS
yes?
"BryanEverl y" <Br*********@di scussions.micro soft.com> wrote in message
news:0C******** *************** ***********@mic rosoft.com...
Hi,

I'm struggling with a problem and was hoping that someone on this group
could point me in the right direction. I'm not looking for a free ride,


just
a suggestion as to how best to use all the tools at my disposal to


diagnose
the situation.

I have an existing COM+ / ASP application (the COM+ objects are written in
VB 6.0) that I am wanting to migrate forward to .NET (using VB.Net). I


have
added some ASPX pages to the existing application that do relatively


simple
things such as display lists of data from a SQL Server database, etc. I


have
successfull y deployed the application in a 5 server "Microsoft Load
Balancing" cluster (the application is designed to be stateless, so this
works very well).

Everything was fine until I got uppity and decided to add some code that


put
up entry fields, dropdowns, etc. to allow users to change data in the


system.
Everything tests out just fine on my Windows XP SP2 development machine


but
when I deploy the application to the production environment, it randomly
locks up the entire .NET subsystem. I can still go to other web pages on


the
server that use COM+ but any ASPX page just hangs when I try to click on


it.
I added a table to the database that allows me to record where I'm at in


the
application (i.e. a glorified printf function) that gets fancy and uses
reflection to capture a stack trace at each step along the way and it


appears
to be hanging in a different place each time.

I'm pretty sure it is hung instead of looping because the CPU utilization


on
the machine stays pretty much at zero and the memory consumed by the w3svc
process apppears to be nearly static.

The servers are IBM HS20 blade servers configured using IBM's "server
manager" installation disk. They all have the right version of the .NET
framework on them, they are running Server 2003 Standard Edition, and are
patched up to latest & greatest on everything but DirectX (never bother to
install the update but I would think it wouldn't matter).

Now for my questions:

1. Is there some way I can see where the thing is hung?
2. What recommendations can I get from the group on diagnosing the


problem?
3. Is there anything special I need to do from an installation


perspective
outside of creating the "applicatio n" thingy in IIS Manager (right click


on
the directory where the application lives and tell it to create a new
application taking the defaults)

Thanks in advance,
Bryan


--
Gerry Hickman (London UK)
Jul 21 '05 #3

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

Similar topics

15
2832
by: Robert Mark Bram | last post by:
Hi All! Problem I began with: Netscape/Opera supports hover for different elements, IE only supports hover for <a> and I want to use hover for <td class="menu"> I then found a fix using some Javascript here: http://webpages.charter.net/mmmbeer/code/arbitrary-hover/ It works ok for IE now.
2
325
by: BryanEverly | last post by:
Hi, I'm struggling with a problem and was hoping that someone on this group could point me in the right direction. I'm not looking for a free ride, just a suggestion as to how best to use all the tools at my disposal to diagnose the situation. I have an existing COM+ / ASP application (the COM+ objects are written in VB 6.0) that I am wanting to migrate forward to .NET (using VB.Net). I have added some ASPX pages to the existing...
122
4325
by: ivan | last post by:
hi all, if I have: if(A && B || C) which operation gets executed first? If I remeber well should be &&, am I correct? thanks
0
9594
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
10599
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
10090
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...
0
9173
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7635
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
6863
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
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.