1 server, 2 web sites 1 asp.net app each, build one, other -> Server App Unavailable

Discussion in 'ASP .Net' started by Dave Diehl, Aug 5, 2004.

  1. Dave Diehl

    Dave Diehl Guest

    Has anyone heard of a problem with a rebuild of one application
    causing a problem with another app on the same server?

    I have two asp.net applications on the same Win2000 server, each with
    it's own web site (i.e. IP, root folder, etc.). Each accesses it's
    own SQL Server 2000 database. Let's call them App A and App B.

    If I open a page in App A that starts a long-running process...so it's
    sitting there in perpetual "loading page" state until the processing
    is finished...it works fine. However, if I build a new copy of App B
    while the page in App A is open -- boom. "Server Application
    Unavailable".

    Here's the kicker. App B is a copy of App A, created using the "Copy
    Project..." wizard. I created the App B web site from scratch in IIS
    Admin, opened App A using VS.Net, then used the wizard to copy the all
    files to App B.

    I thought it might be an duplicate assembly name or namespace issue,
    but I've changed both on both apps to be unique to no avail. I've
    also rebuild App A as a release build. App B is still a debug build.

    So...anyone have any suggestions?

    Thanks in advance,
    Dave Diehl
     
    Dave Diehl, Aug 5, 2004
    #1
    1. Advertising

  2. RE: 1 server, 2 web sites 1 asp.net app each, build one, other -> Serv

    Have you tried running both applications in "High" Isolation mode? If
    they're both in the same application pool, there may be some resource
    contention, depending on what it is that your app is actually doing.

    ---
    Greg Hurlman
    ghurlman*AT*squaretwo*DOT*net
    http://blogs.squaretwo.net

    "Dave Diehl" wrote:

    > Has anyone heard of a problem with a rebuild of one application
    > causing a problem with another app on the same server?
    >
    > I have two asp.net applications on the same Win2000 server, each with
    > it's own web site (i.e. IP, root folder, etc.). Each accesses it's
    > own SQL Server 2000 database. Let's call them App A and App B.
    >
    > If I open a page in App A that starts a long-running process...so it's
    > sitting there in perpetual "loading page" state until the processing
    > is finished...it works fine. However, if I build a new copy of App B
    > while the page in App A is open -- boom. "Server Application
    > Unavailable".
    >
    > Here's the kicker. App B is a copy of App A, created using the "Copy
    > Project..." wizard. I created the App B web site from scratch in IIS
    > Admin, opened App A using VS.Net, then used the wizard to copy the all
    > files to App B.
    >
    > I thought it might be an duplicate assembly name or namespace issue,
    > but I've changed both on both apps to be unique to no avail. I've
    > also rebuild App A as a release build. App B is still a debug build.
    >
    > So...anyone have any suggestions?
    >
    > Thanks in advance,
    > Dave Diehl
    >
     
    =?Utf-8?B?R3JlZyBIdXJsbWFu?=, Aug 6, 2004
    #2
    1. Advertising

  3. Dave Diehl

    Dave Diehl Guest

    Re: 1 server, 2 web sites 1 asp.net app each, build one, other -> Serv

    Yep. First thing I tried. Didn't work.

    Thanks,
    Dave

    On Fri, 6 Aug 2004 05:45:02 -0700, Greg Hurlman
    <ghurlman*AT*squaretwo*DOT*net> wrote:

    > Have you tried running both applications in "High" Isolation mode? If
    > they're both in the same application pool, there may be some resource
    > contention, depending on what it is that your app is actually doing.
    >
    > ---
    > Greg Hurlman
    > ghurlman*AT*squaretwo*DOT*net
    > http://blogs.squaretwo.net


    Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
     
    Dave Diehl, Aug 6, 2004
    #3
  4. Dave Diehl

    Dave Diehl Guest

    Ok...problem solved.

    The application had a registered copy of expired trial version of some
    software. Since it wasn't used, I didn't think about it until I read the
    best practices white paper at:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/dbgrm.asp.
    The fourth chapter discussed "debugging unexpected process termination" and
    started talking about COM threading in ASP.NET. That made me wonder about
    third party software...which lead me to the expired license...which lead me
    to the solution. Remove the references and, voila, it works.

    This was a hard nut to crack because while I could find a lot of references
    to the "aspnet_wp.exe (PID: ???) stopped unexpectedly." error message, very
    little was mentioned about the message event ID (1000) that didn't also
    mention that subsequent event messages that would indicate the real issue.
    I didn't get any other messages. I'm not sure whether the third-party
    software was managed or unmanaged code...sorry.

    Thanks to Greg for at least giving it a try.

    Dave


    "Dave Diehl" <> wrote in message
    news:...
    > Has anyone heard of a problem with a rebuild of one application
    > causing a problem with another app on the same server?
    >
    > I have two asp.net applications on the same Win2000 server, each with
    > it's own web site (i.e. IP, root folder, etc.). Each accesses it's
    > own SQL Server 2000 database. Let's call them App A and App B.
    >
    > If I open a page in App A that starts a long-running process...so it's
    > sitting there in perpetual "loading page" state until the processing
    > is finished...it works fine. However, if I build a new copy of App B
    > while the page in App A is open -- boom. "Server Application
    > Unavailable".
    >
    > Here's the kicker. App B is a copy of App A, created using the "Copy
    > Project..." wizard. I created the App B web site from scratch in IIS
    > Admin, opened App A using VS.Net, then used the wizard to copy the all
    > files to App B.
    >
    > I thought it might be an duplicate assembly name or namespace issue,
    > but I've changed both on both apps to be unique to no avail. I've
    > also rebuild App A as a release build. App B is still a debug build.
    >
    > So...anyone have any suggestions?
    >
    > Thanks in advance,
    > Dave Diehl
     
    Dave Diehl, Aug 10, 2004
    #4
  5. Dave Diehl

    Dave Diehl Guest

    Ok...I spoke to soon. Problem's still there.

    The only things I know the two projects share are:
    - references to two custom controls: (skmMenu and WebChart)
    - reference to the Microsoft Data ApplicationBlock.

    They have different project names, namespaces, access different databases,
    work in high-isolation thread pools, etc.

    One was created using the Copy Project and both projects reside on the web
    servers.

    I'm stumped.

    "Dave Diehl" <vt.igsd@devad> wrote in message
    news:...
    > Ok...problem solved.
    >
    > The application had a registered copy of expired trial version of some
    > software. Since it wasn't used, I didn't think about it until I read the
    > best practices white paper at:
    >

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/dbgrm.asp.
    > The fourth chapter discussed "debugging unexpected process termination"

    and
    > started talking about COM threading in ASP.NET. That made me wonder about
    > third party software...which lead me to the expired license...which lead

    me
    > to the solution. Remove the references and, voila, it works.
    >
    > This was a hard nut to crack because while I could find a lot of

    references
    > to the "aspnet_wp.exe (PID: ???) stopped unexpectedly." error message,

    very
    > little was mentioned about the message event ID (1000) that didn't also
    > mention that subsequent event messages that would indicate the real issue.
    > I didn't get any other messages. I'm not sure whether the third-party
    > software was managed or unmanaged code...sorry.
    >
    > Thanks to Greg for at least giving it a try.
    >
    > Dave
    >
    >
    > "Dave Diehl" <> wrote in message
    > news:...
    > > Has anyone heard of a problem with a rebuild of one application
    > > causing a problem with another app on the same server?
    > >
    > > I have two asp.net applications on the same Win2000 server, each with
    > > it's own web site (i.e. IP, root folder, etc.). Each accesses it's
    > > own SQL Server 2000 database. Let's call them App A and App B.
    > >
    > > If I open a page in App A that starts a long-running process...so it's
    > > sitting there in perpetual "loading page" state until the processing
    > > is finished...it works fine. However, if I build a new copy of App B
    > > while the page in App A is open -- boom. "Server Application
    > > Unavailable".
    > >
    > > Here's the kicker. App B is a copy of App A, created using the "Copy
    > > Project..." wizard. I created the App B web site from scratch in IIS
    > > Admin, opened App A using VS.Net, then used the wizard to copy the all
    > > files to App B.
    > >
    > > I thought it might be an duplicate assembly name or namespace issue,
    > > but I've changed both on both apps to be unique to no avail. I've
    > > also rebuild App A as a release build. App B is still a debug build.
    > >
    > > So...anyone have any suggestions?
    > >
    > > Thanks in advance,
    > > Dave Diehl

    >
    >
     
    Dave Diehl, Aug 11, 2004
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. rooster575
    Replies:
    2
    Views:
    406
    Trevor Benedict R
    Jun 18, 2004
  2. =?Utf-8?B?Q2hyaXN0b3BoZXIgSi4gV2Fsa2Vy?=

    Web sites on alternate www ports in ASP.Net 2.0 won't build

    =?Utf-8?B?Q2hyaXN0b3BoZXIgSi4gV2Fsa2Vy?=, Dec 21, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    1,293
    =?Utf-8?B?RGF2ZQ==?=
    Dec 28, 2005
  3. Stefan Caliandro
    Replies:
    2
    Views:
    631
    Beauregard T. Shagnasty
    Feb 14, 2005
  4. imx
    Replies:
    10
    Views:
    802
  5. Jonathan Wood
    Replies:
    9
    Views:
    642
    Jonathan Wood
    Jan 5, 2009
Loading...

Share This Page