Showing posts with label logs. Show all posts
Showing posts with label logs. Show all posts

Thursday, March 29, 2012

Separating form elements on aspx page

I have a series of controls (a few buttons that clears content,
inserts data into dbase, logs out a user session) that need to work
independently of each other, but I cannot put all these controls into
more than one form tag, as asp.net pages are not allowed to have more
than one < form runat: server> tag. . If i try to logout of a session
on the page with this:
'''
<script language="VB" runat="server">
Sub logout(Sender As Object, e As EventArgs)
Session.Clear()
Response.Redirect("admin-login.aspx")
End Sub
</script>
<asp:Button id="button4" onClick="logout" Text="Logout"
class="inputSubmit" runat="server" />
'''

...it tries to post my info again from the insert textbox objects
before the logout button.

??
chumleyiframes?

Eliyahu

"Chumley the Walrus" <springb2k@.yahoo.com> wrote in message
news:1ef65641.0408030802.1c912932@.posting.google.c om...
> I have a series of controls (a few buttons that clears content,
> inserts data into dbase, logs out a user session) that need to work
> independently of each other, but I cannot put all these controls into
> more than one form tag, as asp.net pages are not allowed to have more
> than one < form runat: server> tag. . If i try to logout of a session
> on the page with this:
> '''
> <script language="VB" runat="server">
> Sub logout(Sender As Object, e As EventArgs)
> Session.Clear()
> Response.Redirect("admin-login.aspx")
> End Sub
> </script>
> <asp:Button id="button4" onClick="logout" Text="Logout"
> class="inputSubmit" runat="server" />
> '''
> ..it tries to post my info again from the insert textbox objects
> before the logout button.
> ??
> chumley

Separating form elements on aspx page

I have a series of controls (a few buttons that clears content,
inserts data into dbase, logs out a user session) that need to work
independently of each other, but I cannot put all these controls into
more than one form tag, as asp.net pages are not allowed to have more
than one < form runat: server> tag. . If i try to logout of a session
on the page with this:
'''
<script language="VB" runat="server">
Sub logout(Sender As Object, e As EventArgs)
Session.Clear()
Response.Redirect("admin-login.aspx")
End Sub
</script>
<asp:Button id="button4" onClick="logout" Text="Logout"
class="inputSubmit" runat="server" />
'''
..it tries to post my info again from the insert textbox objects
before the logout button.
'
chumleyiframes?
Eliyahu
"Chumley the Walrus" <springb2k@.yahoo.com> wrote in message
news:1ef65641.0408030802.1c912932@.posting.google.com...
> I have a series of controls (a few buttons that clears content,
> inserts data into dbase, logs out a user session) that need to work
> independently of each other, but I cannot put all these controls into
> more than one form tag, as asp.net pages are not allowed to have more
> than one < form runat: server> tag. . If i try to logout of a session
> on the page with this:
> '''
> <script language="VB" runat="server">
> Sub logout(Sender As Object, e As EventArgs)
> Session.Clear()
> Response.Redirect("admin-login.aspx")
> End Sub
> </script>
> <asp:Button id="button4" onClick="logout" Text="Logout"
> class="inputSubmit" runat="server" />
> '''
> ..it tries to post my info again from the insert textbox objects
> before the logout button.
> '
> chumley

Tuesday, March 13, 2012

Server App Unavailable error

I have the server application unavailable error, after checking the event log
i notices the following in the even logs

"aspnet_wp.exe could not be launched because the username and/or password
supplied in the processModel section of the config file are invalid."

what could be possibly wrong?
i didn't change anything in the machine.confirg and the application was
running well all the time

ThanksSeems that after installing the new Service packs of .NET framework, this is happening to many folks. You might want to google for the error message and SP. I am thinking you might find the problem.

Oh BTW: Make sure that the username/password does work. :)

--
Girish Bharadwaj
http://msmvps.com/gbvb

> I have the server application unavailable error, after checking the
> event log i notices the following in the even logs
> "aspnet_wp.exe could not be launched because the username and/or
> password supplied in the processModel section of the config file are
> invalid."
> what could be possibly wrong?
> i didn't change anything in the machine.confirg and the application
> was
> running well all the time
> Thanks

Server App Unavailable error

I have the server application unavailable error, after checking the event lo
g
i notices the following in the even logs
"aspnet_wp.exe could not be launched because the username and/or password
supplied in the processModel section of the config file are invalid."
what could be possibly wrong?
i didn't change anything in the machine.confirg and the application was
running well all the time
ThanksSeems that after installing the new Service packs of .NET framework, this is
happening to many folks. You might want to google for the error message and
SP. I am thinking you might find the problem.
Oh BTW: Make sure that the username/password does work. :)
Girish Bharadwaj
http://msmvps.com/gbvb

> I have the server application unavailable error, after checking the
> event log i notices the following in the even logs
> "aspnet_wp.exe could not be launched because the username and/or
> password supplied in the processModel section of the config file are
> invalid."
> what could be possibly wrong?
> i didn't change anything in the machine.confirg and the application
> was
> running well all the time
> Thanks
>