aspnet_wp.exe stopped unexpectedly

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I've just started playing with .Net recently and have encountered a problem
for which I am hoping you will give me the solution.

I have a label web control on my .aspx page and I want the TimeDate stamp to
be displayed when I call this page from the browser. so in the text attribute
of the label i have the following value "<%# DateTime.Now.ToString() %>".

<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 46px; POSITION: absolute;
TOP: 45px" runat="server" text="<%# DateTime.Now.ToString() %>"> </asp:Label>

On the .aspx.cs page in the Page_Load function I am calling the DataBind()
method of the label(named Label1) as shown below

private void Page_Load (object sender, System.EventArgs e)
{

Label1.DataBind();

}

Not even a single error is generated when I compile. But when I call
label1.aspx in the browser I get the following error message:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" buttonin your web browser to
retry your request.

Administrator note: An error message detailing the cause of this specific
request failure can ne found in the system event log of the web server.
Please review this log entry to discover what caused this error to occur.

When I look at the Event Viewer I see "aspnet_wp.exe (PID: 636) stopped
unexpectedly."

How can I fix this problem? Please help!

System Specs:

..Net Framework 1.0 and I have also installed Service Pack 2 for .Net
Framework 1.0.

VS.Net
Win XP Pro
IIS 5.0

Many thanks
Siya V
 
Hello Siya_V,

Hmmm, strange. For .net 1.1 and winXP it works normal

S> Hi all,
S>
S> I've just started playing with .Net recently and have encountered a
S> problem for which I am hoping you will give me the solution.
S>
S> I have a label web control on my .aspx page and I want the TimeDate
S> stamp to be displayed when I call this page from the browser. so in
S> the text attribute of the label i have the following value "<%#
S> DateTime.Now.ToString() %>".
S>
S> <asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 46px; POSITION:
S> absolute; TOP: 45px" runat="server" text="<%# DateTime.Now.ToString()
S> %>"> </asp:Label>
S>
S> On the .aspx.cs page in the Page_Load function I am calling the
S> DataBind() method of the label(named Label1) as shown below
S>
S> private void Page_Load (object sender, System.EventArgs e) {
S>
S> Label1.DataBind();
S>
S> }
S>
S> Not even a single error is generated when I compile. But when I call
S> label1.aspx in the browser I get the following error message:
S>
S> Server Application Unavailable
S> The web application you are attempting to access on this web server
S> is
S> currently unavailable. Please hit the "Refresh" buttonin your web
S> browser to
S> retry your request.
S> Administrator note: An error message detailing the cause of this
S> specific request failure can ne found in the system event log of the
S> web server. Please review this log entry to discover what caused this
S> error to occur.
S>
S> When I look at the Event Viewer I see "aspnet_wp.exe (PID: 636)
S> stopped unexpectedly."
S>
S> How can I fix this problem? Please help!
S>
S> System Specs:
S>
S> .Net Framework 1.0 and I have also installed Service Pack 2 for .Net
S> Framework 1.0.
S>
S> VS.Net
S> Win XP Pro
S> IIS 5.0
S> Many thanks
S> Siya V
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Hi John

Yes I am using VS.net. Havent tried to use the debugger; instead I employed
Michael's advice to install .Net 1.1 and everything's working fine now.

Thanks John

Thanks Michael
 
Are you using VS.net?

Can you start the page in the debugger?

If you built the site on a remote server, did you create an Application
in the web site.
 
Back
Top