473,326 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

asp.net server application unavailable

hi all!

=====================================
my environment:
MS .NET 1.1 with Service pack 1
ASP.NET framework
IIS 5.0
C#.NET language.
=====================================

during the development of an web application i am facing the following
problem.
======================================
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.
=======================================

my application contains just one webform containing a textbox, a combobox
for fontname, a combobox for fontsize, a combobox for color, a combobox for
fontstyle. beside them there is an imagebox.

i am trying to draw the content of the textbox over an image in the picture
box with the font properties from the other combobox selected vales.

i write the code in a button click event using gdi+.

i write the code in try catch finally block, but no exception caught there.

i write the following code in global.asax file:=
protected void Application_Start(Object sender, EventArgs e)
{
System.Diagnostics.Debug.Write("Application_Start" );
System.AppDomain.CurrentDomain.DomainUnload += new
System.EventHandler(AppDomainUnload);
}

protected void Application_Error(Object sender, EventArgs e)
{
Exception ex = Server.GetLastError();
Context.ClearError();
Response.Write("Application_Error");
Response.Write(ex.ToString());
}

private void AppDomainUnload(Object sender, EventArgs e)
{
System.Diagnostics.Debug.Write("AppDomainUnload");
System.Environment.Exit(0);
}

=============================================
The scenario: when i run the application it gives the above mentioned error.
but refreshing the page gives me the proper page and the all code functions
well. i run it again withouut any modification in the code... this time no
error, the function works well. now just change a location of a coordinate,
rebuild the solution and run it gives the error. refreshing the page solve
it. and this way it goes on. that means first time run after a build it gives
the error.

will u people face such problems ?? how can i solve it ? i search "server
application unavailable" in msdn and they suggest to install service pack 1
for .NET 1.1. i installed that. One suggestion says that right click on the
server in the IIS and go to all task, then go to check server extension. i
went there a message comes and a message asks to set security. i also do
that. but the same old error comes again and again.

Nov 22 '05 #1
0 1791

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

Similar topics

0
by: Mridul Buragohain | last post by:
hi all! ===================================== my environment: MS .NET 1.1 with Service pack 1 ASP.NET framework IIS 5.0 C#.NET language. =====================================
5
by: Ken Cox [Microsoft MVP] | last post by:
MS has posted this here: http://www.asp.net/faq/ms03-32-issue.aspx Fix for: 'Server Application Unavailable' Error after Applying Security Update for IE...
1
by: Reza Sadeghi | last post by:
Hi I am getting this error when I tried to browse any asp.net in visual studio.net. I can build the project but when I try to run and debug the project I get error message that "Unable to start...
1
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on...
9
by: Steve Buster | last post by:
All right, I have read every forum, newsgroup etc about this issue and no one seems to know how to fix it. I am getting a "Server Application Unavailable" exception running my .NET 1.1...
6
by: Damon Roberts | last post by:
Hi My dev server has started posting a Server Application Unavailable error for all of my asp.net web apps... Server Application Unavailable The web application you are attempting to access...
0
by: Phinneas | last post by:
Howdy, I have multiple apps running on a pair of dual-processor Win2k IIS servers, neither of which are domain controllers. My users are experiencing fairly frequent (10-20 / day) "Server...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
13
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one:...
5
by: myth0s | last post by:
Hello everybody :) I have trouble getting my ASP application to work. I googled a lot for a solution... many solutions I tried came from The Scripts, but none of them worked. Nonetheless, I think...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.