PDA

View Full Version : Strange behavior of existing web app



Tod Brannen
18-Aug-2005, 05:44 PM
Greetings,
My webapp just stopped working right and I don't know why. It did not
completely stop so it may be something I can track down if anyone can give
me a direction in which to look.
details:
The first time I click on the link to the website/page, I get the IE cannot
display page error, but if I click Refresh, it goes right to my page, which
is the user log in. But when the user logs in, it goes to an error page and
gives me line 26 in the login ASP page. This line calls the wbo to validate
the login and password. If the login/password submitted is incorrect,
it should just display an error on the page, not go to the Internet Explorer
error page.

This has always just worked and I am at a loss as to how to find the
problem.

the page is www.royalmfg.com This is our customer's site not mine. Then
click on "Oil Analysis" on the menu down the left side, under the heading
Services. Then on the System Check Page, click on UOA Member Login to go to
my web page. Like I said it should give the error page first, then click
Refresh and it should go to the login. The test login is heb and the
password is heb.

Thanks,

Tod Brannen

Knut Sparhell
18-Aug-2005, 07:37 PM
Tod Brannen wrote:

> My webapp just stopped working right and I don't know why. It did not
> completely stop so it may be something I can track down if anyone can give
> me a direction in which to look.
> details:
> The first time I click on the link to the website/page, I get the IE cannot
> display page error, but if I click Refresh, it goes right to my page, which
> is the user log in. But when the user logs in, it goes to an error page and
> gives me line 26 in the login ASP page. This line calls the wbo to validate
> the login and password. If the login/password submitted is incorrect,
> it should just display an error on the page, not go to the Internet Explorer
> error page.
>
> This has always just worked and I am at a loss as to how to find the
> problem.
>
> the page is www.royalmfg.com This is our customer's site not mine. Then
> click on "Oil Analysis" on the menu down the left side, under the heading
> Services. Then on the System Check Page, click on UOA Member Login to go to
> my web page. Like I said it should give the error page first, then click
> Refresh and it should go to the login. The test login is heb and the
> password is heb.

What has the Event Log to say about this?
The error persists after a restart?
Have anything ben installed to the server lately?

It seems the webapp is crashing. You could need some test pages
accessing limited protions of the webapp objects, to see in what module
it's crashing. But it seems it will crash during initialization, before
the first login page is displayed. It alsom seems that if you already
have a session, then login page may get displayed (no crash), but then
crashes as you post the username.

Since this has suddenly appeared, it maight be triggered by current data
or the stat of the database. You could test with a backup database, or
an initial, mostly empty database.

I have experienced sudden access right problems with registry. The
Sysinternals RegMon tool might help.

--
Knut Sparhell, Norway

Steven Wong
18-Aug-2005, 08:34 PM
Hi Tod,

> The first time I click on the link to the website/page, I get the IE
cannot
> display page error, but if I click Refresh, it goes right to my page,
which
> is the user log in. But when the user logs in, it goes to an error page
and
> gives me line 26 in the login ASP page. This line calls the wbo to
validate
> the login and password. If the login/password submitted is incorrect,
> it should just display an error on the page, not go to the Internet
Explorer
> error page.

I suspect it's not working at all. I see this behaviour at lot when it's
just not running. The initial access fails, the refresh just brings up a
cached paged and attempting the login just shows the real problem again.

I agree with Knut, check the event logs but my bet is that it's not starting
at all as opposed to crashing.

Steve.

Anders Öhrt
19-Aug-2005, 03:55 AM
> My webapp just stopped working right and I don't know why. It did not
> completely stop so it may be something I can track down if anyone can give
> me a direction in which to look.

Which VDF? If 10/11, have you checked via the debugger?

Have you enabled Desktop Interaction? You might get a fatal error that
doesn't show without DI.

// Anders

Free Agent
19-Aug-2005, 10:32 PM
Anders,

VDF 7. It comes with WebApp studio 3.0. I don't think it has anything like a
debugger or Desktop interaction.

Tod Brannen

"Anders Öhrt" <Anders.Ohrt@capslock.se> wrote in message
news:w4O0$uJpFHA.3408@dacmail.dataaccess.com...
>
> > My webapp just stopped working right and I don't know why. It did not
> > completely stop so it may be something I can track down if anyone can
give
> > me a direction in which to look.
>
> Which VDF? If 10/11, have you checked via the debugger?
>
> Have you enabled Desktop Interaction? You might get a fatal error that
> doesn't show without DI.
>
> // Anders
>
>

Free Agent
19-Aug-2005, 10:35 PM
Hi Knut,
I have been fighting an attack of the worm/trojan thingy that has
crashed the server with the WebApps on it. It keeps rebooting and gives a 1
minute shutdown with a message from NT Authority\System or some nonsense. I
have not had time to respond or a server to test with. <Ha!> I will get to
it on Monday.

Tod Brannen

"Knut Sparhell" <knut@sparhell.no> wrote in message
news:#KRE0YFpFHA.7068@dacmail.dataaccess.com...
> Tod Brannen wrote:
>
> > My webapp just stopped working right and I don't know why. It did
not
> > completely stop so it may be something I can track down if anyone can
give
> > me a direction in which to look.
> > details:
> > The first time I click on the link to the website/page, I get the IE
cannot
> > display page error, but if I click Refresh, it goes right to my page,
which
> > is the user log in. But when the user logs in, it goes to an error page
and
> > gives me line 26 in the login ASP page. This line calls the wbo to
validate
> > the login and password. If the login/password submitted is incorrect,
> > it should just display an error on the page, not go to the Internet
Explorer
> > error page.
> >
> > This has always just worked and I am at a loss as to how to find the
> > problem.
> >
> > the page is www.royalmfg.com This is our customer's site not mine. Then
> > click on "Oil Analysis" on the menu down the left side, under the
heading
> > Services. Then on the System Check Page, click on UOA Member Login to go
to
> > my web page. Like I said it should give the error page first, then click
> > Refresh and it should go to the login. The test login is heb and the
> > password is heb.
>
> What has the Event Log to say about this?
> The error persists after a restart?
> Have anything ben installed to the server lately?
>
> It seems the webapp is crashing. You could need some test pages
> accessing limited protions of the webapp objects, to see in what module
> it's crashing. But it seems it will crash during initialization, before
> the first login page is displayed. It alsom seems that if you already
> have a session, then login page may get displayed (no crash), but then
> crashes as you post the username.
>
> Since this has suddenly appeared, it maight be triggered by current data
> or the stat of the database. You could test with a backup database, or
> an initial, mostly empty database.
>
> I have experienced sudden access right problems with registry. The
> Sysinternals RegMon tool might help.
>
> --
> Knut Sparhell, Norway

Anders Öhrt
22-Aug-2005, 03:07 PM
> I have been fighting an attack of the worm/trojan thingy that has
> crashed the server with the WebApps on it. It keeps rebooting and gives a
> 1
> minute shutdown with a message from NT Authority\System or some nonsense.
> I
> have not had time to respond or a server to test with. <Ha!> I will get to
> it on Monday.

Put it behind a firewall! Then, install all patches.

// Anders

Anders Öhrt
22-Aug-2005, 03:10 PM
> VDF 7. It comes with WebApp studio 3.0. I don't think it has anything like
> a
> debugger or Desktop interaction.

VDF7 comes with a debugger, but it's pretty crappy. Turn on Desktop
Interaction; Go to services (Run -> Services.msc, or via My Computer (left
click) ->Manage), find the WebApp Server service, the Logon tab, Check
Desktop Interaction. Now all errors will be displayed instead of silently
crashing the WebApp.

// Anders

Tod Brannen
23-Aug-2005, 10:44 AM
Knutt,
I checked the Application Event Viewer just after I tried to access the
website. It gives the following events.

Info - Web Application TrocoNew started.
Error - Timed out waiting for VDF process.
Error - A VDF process does not answer. Unconditionally forcing a terminate
to the VDF process.
Error - Unable to connect to local/remote child process. Session failed to
initialize.
Error - Failed to lookup VDF process. (x4)

So the problem is the VDF program? What causes this and how can I fix it?
My other websites are still working, therefore I don't think it is the Web
Server, but the WebApplication. But I have very limited experience with this
and have never had something like this happen before.

Thanks,

Tod Brannen

"Knut Sparhell" <knut@sparhell.no> wrote in message
news:#KRE0YFpFHA.7068@dacmail.dataaccess.com...
> Tod Brannen wrote:
>
> > My webapp just stopped working right and I don't know why. It did
not
> > completely stop so it may be something I can track down if anyone can
give
> > me a direction in which to look.
> > details:
> > The first time I click on the link to the website/page, I get the IE
cannot
> > display page error, but if I click Refresh, it goes right to my page,
which
> > is the user log in. But when the user logs in, it goes to an error page
and
> > gives me line 26 in the login ASP page. This line calls the wbo to
validate
> > the login and password. If the login/password submitted is incorrect,
> > it should just display an error on the page, not go to the Internet
Explorer
> > error page.
> >
> > This has always just worked and I am at a loss as to how to find the
> > problem.
> >
> > the page is www.royalmfg.com This is our customer's site not mine. Then
> > click on "Oil Analysis" on the menu down the left side, under the
heading
> > Services. Then on the System Check Page, click on UOA Member Login to go
to
> > my web page. Like I said it should give the error page first, then click
> > Refresh and it should go to the login. The test login is heb and the
> > password is heb.
>
> What has the Event Log to say about this?
> The error persists after a restart?
> Have anything ben installed to the server lately?
>
> It seems the webapp is crashing. You could need some test pages
> accessing limited protions of the webapp objects, to see in what module
> it's crashing. But it seems it will crash during initialization, before
> the first login page is displayed. It alsom seems that if you already
> have a session, then login page may get displayed (no crash), but then
> crashes as you post the username.
>
> Since this has suddenly appeared, it maight be triggered by current data
> or the stat of the database. You could test with a backup database, or
> an initial, mostly empty database.
>
> I have experienced sudden access right problems with registry. The
> Sysinternals RegMon tool might help.
>
> --
> Knut Sparhell, Norway

David Martinko
23-Aug-2005, 12:07 PM
When in doubt, reboot!

I really don't know the answer... but when I get a MS update... it sometimes
requires a reboot of the system.

--
David Martinko
Redeemed Software
248-535-7495
RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com
www.redeemedsoftware.com


"Tod Brannen" <tbrannen@ate.net> wrote in message
news:NUAbWm$pFHA.1284@dacmail.dataaccess.com...
> Knutt,
> I checked the Application Event Viewer just after I tried to access the
> website. It gives the following events.
>
> Info - Web Application TrocoNew started.
> Error - Timed out waiting for VDF process.
> Error - A VDF process does not answer. Unconditionally forcing a terminate
> to the VDF process.
> Error - Unable to connect to local/remote child process. Session failed to
> initialize.
> Error - Failed to lookup VDF process. (x4)
>
> So the problem is the VDF program? What causes this and how can I fix it?
> My other websites are still working, therefore I don't think it is the Web
> Server, but the WebApplication. But I have very limited experience with
> this
> and have never had something like this happen before.
>
> Thanks,
>
> Tod Brannen
>
> "Knut Sparhell" <knut@sparhell.no> wrote in message
> news:#KRE0YFpFHA.7068@dacmail.dataaccess.com...
>> Tod Brannen wrote:
>>
>> > My webapp just stopped working right and I don't know why. It did
> not
>> > completely stop so it may be something I can track down if anyone can
> give
>> > me a direction in which to look.
>> > details:
>> > The first time I click on the link to the website/page, I get the IE
> cannot
>> > display page error, but if I click Refresh, it goes right to my page,
> which
>> > is the user log in. But when the user logs in, it goes to an error page
> and
>> > gives me line 26 in the login ASP page. This line calls the wbo to
> validate
>> > the login and password. If the login/password submitted is incorrect,
>> > it should just display an error on the page, not go to the Internet
> Explorer
>> > error page.
>> >
>> > This has always just worked and I am at a loss as to how to find the
>> > problem.
>> >
>> > the page is www.royalmfg.com This is our customer's site not mine.
>> > Then
>> > click on "Oil Analysis" on the menu down the left side, under the
> heading
>> > Services. Then on the System Check Page, click on UOA Member Login to
>> > go
> to
>> > my web page. Like I said it should give the error page first, then
>> > click
>> > Refresh and it should go to the login. The test login is heb and the
>> > password is heb.
>>
>> What has the Event Log to say about this?
>> The error persists after a restart?
>> Have anything ben installed to the server lately?
>>
>> It seems the webapp is crashing. You could need some test pages
>> accessing limited protions of the webapp objects, to see in what module
>> it's crashing. But it seems it will crash during initialization, before
>> the first login page is displayed. It alsom seems that if you already
>> have a session, then login page may get displayed (no crash), but then
>> crashes as you post the username.
>>
>> Since this has suddenly appeared, it maight be triggered by current data
>> or the stat of the database. You could test with a backup database, or
>> an initial, mostly empty database.
>>
>> I have experienced sudden access right problems with registry. The
>> Sysinternals RegMon tool might help.
>>
>> --
>> Knut Sparhell, Norway
>
>

Tod Brannen
23-Aug-2005, 02:06 PM
David,
I reboot whether I am in doubt or not! Been there, done that about 23
times on this server. No change. A few times just today.

Thanks,

Tod Brannen

"David Martinko" <RedeemedSoftware@Hotmail.com> wrote in message
news:eeSPzTAqFHA.3112@dacmail.dataaccess.com...
> When in doubt, reboot!
>
> I really don't know the answer... but when I get a MS update... it
sometimes
> requires a reboot of the system.
>
> --
> David Martinko

Free Agent
23-Aug-2005, 10:55 PM
Ok, I tried starting a 'new' webapp by copying this one to a new workspace
and adding it to the WebApp server. Interestingly BOTH webapps now work!!
Will wonders never cease? What did I do right? I hate to just forget it
because it now works.

Thanks to all who replied,

Tod Brannen