473,463 Members | 1,494 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Server Application Unavailable error when result set is big1

Hi, he has a problem at the moment w/ a datagrid in asp.net. There's
about 10000 rows and 25 columns; when it loads there is an error that
says the server application is unavailable. He can't do paging because
the client won't let him.

Dec 1 '05 #1
4 1563
Hi Recardo,

Have a look at the event viewer and let me know the Event ID and message of
the error in your application event logs generated when you get that error.

That would help to know if it is an application crash, deadlock etc and then
I may be able to help you out.

That being said, it is never ever a good idea to retrieve such large number
of records. It is like inviting troubles, this one being just the first of
them!!
--
Thanks,
Rahul Soni

--->The secret to creativity is knowing how to hide your sources<---

"Ricardo" wrote:
Hi, he has a problem at the moment w/ a datagrid in asp.net. There's
about 10000 rows and 25 columns; when it loads there is an error that
says the server application is unavailable. He can't do paging because
the client won't let him.

Dec 1 '05 #2
I would check the size of the response. IMO this is just not realistic for a
web application...

--

"Ricardo" <ri*************@gmail.com> a écrit dans le message de
news:11**********************@g14g2000cwa.googlegr oups.com...
Hi, he has a problem at the moment w/ a datagrid in asp.net. There's
about 10000 rows and 25 columns; when it loads there is an error that
says the server application is unavailable. He can't do paging because
the client won't let him.

Dec 1 '05 #3
the Event id its:
Tipo de suceso: Error
Origen del suceso: ASP.NET 1.1.4322.0
Categoría del suceso: Ninguno
Id. del suceso: 1001
Fecha: 01/12/2005
Hora: 06:28:27 p.m.
Usuario: No disponible
Equipo: COSAPI1
Descripción:
aspnet_wp.exe (PID: 2056) was recycled because memory consumption
exceeded the 151 MB (60 percent of available RAM).
thanks...

Dec 1 '05 #4
Hey Ricardo,

That implies that you have just around 256MB of RAM. And trying to fetch
that many records is an overkill.

At this point three things could be tried...
1) Increasing your physical RAM could be the best approach (if you really
can't do paging)
2) You can try giving debug="false" in your web.config file for that
application and see if that helps.
3) Increase the memoryLimit="120" in the Process model of your
machine.config so that it uses the virtual memory space. REALLY NOT
RECOMMENDED. Still, the reason to mention here is because you will not get
memory recycles, although, everything should be painfully slow and the
application could hang!!!

<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000"
restartQueueLimit="10" memoryLimit="60" webGarden="false"
cpuMask="0xffffffff" userName="System" password="AutoGenerate"
logLevel="Errors" clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate"
responseDeadlockInterval="00:03:00" maxWorkerThreads="20" maxIoThreads="20"/>

Nothing much is there that could be done on that :-(

--
Thanks,
Rahul Soni

--->The secret to creativity is knowing how to hide your sources<---

"Ricardo" wrote:
the Event id its:
Tipo de suceso: Error
Origen del suceso: ASP.NET 1.1.4322.0
CategorÃ*a del suceso: Ninguno
Id. del suceso: 1001
Fecha: 01/12/2005
Hora: 06:28:27 p.m.
Usuario: No disponible
Equipo: COSAPI1
Descripción:
aspnet_wp.exe (PID: 2056) was recycled because memory consumption
exceeded the 151 MB (60 percent of available RAM).
thanks...

Dec 2 '05 #5

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

Similar topics

2
by: Petr PALAS | last post by:
Hi, when I open ANY ASP.NET application on my computer I get this message: ---------------------------------------------------------------------------- ---- Server Application Unavailable ...
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...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.