473,806 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET cache problem

LRK
Earlier this week we set up a second application pool to be able to implement
trusted connections between ASP.NET apps and a SQL Server database on a
different server.

The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005

We've looked on Google at a number of postings about this error but they
don't seem to apply to our network setup situation. We can't find anything in
MSDN.

Help is appreciated. Let me know if you need more specific information.

Leslie
May 4 '06 #1
5 6169
> The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005
This is not a memory leak, what it is saying is that it is unable to get the
memory limit (I'm going to take a guess and say that the new pools you setup
are running under a different user than before, and that this user does not
have permission to get this information)

Have you seen this
http://securinga.com/2004/07/unable-...es-memory.html ?

Cheers,

Greg

"LRK" <LR*@discussion s.microsoft.com > wrote in message
news:80******** *************** ***********@mic rosoft.com... Earlier this week we set up a second application pool to be able to
implement
trusted connections between ASP.NET apps and a SQL Server database on a
different server.

The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005

We've looked on Google at a number of postings about this error but they
don't seem to apply to our network setup situation. We can't find anything
in
MSDN.

Help is appreciated. Let me know if you need more specific information.

Leslie

May 4 '06 #2
LRK
Greg,

Thanks for the info. Yes, we saw references to this fix. As you will have
noted already, the downside is that the "fix" doesn't persist between server
restarts. I suppose we could write a script so that it is rexecuted every
time the server starts, but frankly, I had expected MS to give us a more
permanent solution !

Is this really the best solution available?

Leslie

"Greg Young" wrote:
The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005


This is not a memory leak, what it is saying is that it is unable to get the
memory limit (I'm going to take a guess and say that the new pools you setup
are running under a different user than before, and that this user does not
have permission to get this information)

Have you seen this
http://securinga.com/2004/07/unable-...es-memory.html ?

Cheers,

Greg

"LRK" <LR*@discussion s.microsoft.com > wrote in message
news:80******** *************** ***********@mic rosoft.com...
Earlier this week we set up a second application pool to be able to
implement
trusted connections between ASP.NET apps and a SQL Server database on a
different server.

The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005

We've looked on Google at a number of postings about this error but they
don't seem to apply to our network setup situation. We can't find anything
in
MSDN.

Help is appreciated. Let me know if you need more specific information.

Leslie


May 4 '06 #3
LRK
Greg,

My network admin is saying that the fix you referenced applies to
"clusters"--which we don't do.

Is there further information or a fix for this problem?

Leslie

"Greg Young" wrote:
The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005


This is not a memory leak, what it is saying is that it is unable to get the
memory limit (I'm going to take a guess and say that the new pools you setup
are running under a different user than before, and that this user does not
have permission to get this information)

Have you seen this
http://securinga.com/2004/07/unable-...es-memory.html ?

Cheers,

Greg

"LRK" <LR*@discussion s.microsoft.com > wrote in message
news:80******** *************** ***********@mic rosoft.com...
Earlier this week we set up a second application pool to be able to
implement
trusted connections between ASP.NET apps and a SQL Server database on a
different server.

The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005

We've looked on Google at a number of postings about this error but they
don't seem to apply to our network setup situation. We can't find anything
in
MSDN.

Help is appreciated. Let me know if you need more specific information.

Leslie


May 8 '06 #4
LRK
Greg,

We went ahead and applied the settings suggested in the article.

The problem has not cleared up.

I really wonder how it can be a permissions problem, since I can use the
trusted connection for 30-40 database accesses before we get the error
message. But, maybe there's something I don't understand here.

At any rate, we're still looking for a fix. Help is greatly appreciated.

I wrote:
The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005

Greg wrote: This is not a memory leak, what it is saying is that it is unable to get the
memory limit (I'm going to take a guess and say that the new pools you setup
are running under a different user than before, and that this user does not
have permission to get this information)

Leslie

"LRK" wrote:
Greg,

My network admin is saying that the fix you referenced applies to
"clusters"--which we don't do.

Is there further information or a fix for this problem?

Leslie

"Greg Young" wrote:
The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005


This is not a memory leak, what it is saying is that it is unable to get the
memory limit (I'm going to take a guess and say that the new pools you setup
are running under a different user than before, and that this user does not
have permission to get this information)

Have you seen this
http://securinga.com/2004/07/unable-...es-memory.html ?

Cheers,

Greg

"LRK" <LR*@discussion s.microsoft.com > wrote in message
news:80******** *************** ***********@mic rosoft.com...
Earlier this week we set up a second application pool to be able to
implement
trusted connections between ASP.NET apps and a SQL Server database on a
different server.

The trusted connection is working, but there seems to be a memory leak.
After paging through about 6 web pages that access the database, we're
getting the following application error (in Event Viewer):

Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005

We've looked on Google at a number of postings about this error but they
don't seem to apply to our network setup situation. We can't find anything
in
MSDN.

Help is appreciated. Let me know if you need more specific information.

Leslie


May 8 '06 #5
The db connection has nothing to do with the issue

"Unable to get the private bytes memory limit for the W3WP process. The
ASP.NET cache will be unable to limit its memory use, which may lead to a
process restart. Error: 0x80070005"

It is trying to get the size of the process and failing .. I am suggesting
that it is failing on permissions to get the size. i.e. the use it is
running as does not have permissions to do it.

Cheers,

Greg Young
"LRK" <LR*@discussion s.microsoft.com > wrote in message
news:A0******** *************** ***********@mic rosoft.com...
Greg,

We went ahead and applied the settings suggested in the article.

The problem has not cleared up.

I really wonder how it can be a permissions problem, since I can use the
trusted connection for 30-40 database accesses before we get the error
message. But, maybe there's something I don't understand here.

At any rate, we're still looking for a fix. Help is greatly appreciated.

I wrote:
> The trusted connection is working, but there seems to be a memory leak.
> After paging through about 6 web pages that access the database, we're
> getting the following application error (in Event Viewer):
>
> Unable to get the private bytes memory limit for the W3WP process. The
> ASP.NET cache will be unable to limit its memory use, which may lead to
> a
> process restart. Error: 0x80070005

Greg wrote:
This is not a memory leak, what it is saying is that it is unable to get
the
memory limit (I'm going to take a guess and say that the new pools you
setup
are running under a different user than before, and that this user does
not
have permission to get this information)


Leslie

"LRK" wrote:
Greg,

My network admin is saying that the fix you referenced applies to
"clusters"--which we don't do.

Is there further information or a fix for this problem?

Leslie

"Greg Young" wrote:
> > The trusted connection is working, but there seems to be a memory
> > leak.
> > After paging through about 6 web pages that access the database,
> > we're
> > getting the following application error (in Event Viewer):
> >
> > Unable to get the private bytes memory limit for the W3WP process.
> > The
> > ASP.NET cache will be unable to limit its memory use, which may lead
> > to a
> > process restart. Error: 0x80070005
>
> This is not a memory leak, what it is saying is that it is unable to
> get the
> memory limit (I'm going to take a guess and say that the new pools you
> setup
> are running under a different user than before, and that this user does
> not
> have permission to get this information)
>
> Have you seen this
> http://securinga.com/2004/07/unable-...es-memory.html ?
>
> Cheers,
>
> Greg
>
> "LRK" <LR*@discussion s.microsoft.com > wrote in message
> news:80******** *************** ***********@mic rosoft.com...
> > Earlier this week we set up a second application pool to be able to
> > implement
> > trusted connections between ASP.NET apps and a SQL Server database on
> > a
> > different server.
> >
> > The trusted connection is working, but there seems to be a memory
> > leak.
> > After paging through about 6 web pages that access the database,
> > we're
> > getting the following application error (in Event Viewer):
> >
> > Unable to get the private bytes memory limit for the W3WP process.
> > The
> > ASP.NET cache will be unable to limit its memory use, which may lead
> > to a
> > process restart. Error: 0x80070005
> >
> > We've looked on Google at a number of postings about this error but
> > they
> > don't seem to apply to our network setup situation. We can't find
> > anything
> > in
> > MSDN.
> >
> > Help is appreciated. Let me know if you need more specific
> > information.
> >
> > Leslie
>
>
>

May 10 '06 #6

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

Similar topics

0
2992
by: PD | last post by:
I am trying to stream out a PDF file via the response object and when I execute the code it always brings up the first document that I pulled up.Even when I step through the code, I can see the new values in theData string array (see code below), but it serves up the first document that I had run this code with. I streamed theData into a text file to look at the values and it contained the appropriate ones for the new document. Even when I...
4
1232
by: Saad | last post by:
Hi all, I am running a code on the local machine and its working fine.. but when i put it on the production server it gives the most weird problem.. After loggin the user i move up the hiearchy by clicking the links retrieve from the database.. but when i click back and try to come back to the first level... it doesnt show me that page and logs me out and ask for the username and password again..
0
2053
by: Manuzhai | last post by:
Hello there, I have this weird problem with a mod_python application. Recently I installed ElementTree and cElementTree through ez_setup.py, even though they were already installed normally (this might not be too smart, but I don't think it's related to my actual problem). I have a web application written on top of mod_python that uses cElementTree for several things. After installing cElementTree through
0
893
by: Vivian | last post by:
I know that the data cache is for private use, is there any method to get the cache value from another class? I have a public function to get the cache value and error occurs when I call it from another class. Error : Cache is not available. Thanks. The code is as follows: public class WebForm1 : System.Web.UI.Page
5
2124
by: Arjen | last post by:
Hi, I'm using the cache block of the enterprise lib Jan. 2006. There is somethings strange going on. I add a varable to the cache, let's say the string myData. string myData = "1111111"; primitivesCache.Add("Key1", myData, CacheItemPriority.Normal, null, new SlidingTime(TimeSpan.FromMinutes(15)));
1
1890
by: goliatuy | last post by:
Hi, i'm having some issues with pages that IE don't reload, the problem is that i have other similar sites that don't present that problem, any one know what causes it, and how to fixit. Actualy i'm petched it adding a ?stamp=".date("YmdHis") on every link. I't working fine, but if it's posible i want to find some more proper fix. Thanks
0
1154
by: Nadia Amir | last post by:
I want to enable SQL cache notification on northwind tables employees. I have used the tool aspnet_regsql.exe as defined in the tutorial http://msdn2.microsoft.com/en-us/li...02y(vs.80).aspx . It does gives me the message that it has successfully enable the table for caching .But when i use the ASP.net application which use the SQL dependency it gives me this error "The 'Employees' table in the database 'Northwind' is not enabled for SQL...
5
1488
by: yhd1997 | last post by:
Can you please help me to solve this cache problem? I have a php script that can save the content to a cache folder. But I can not get it to work to display the cached page. The script will generate dynamic content by calling: index.php? operation=1&parameter=2&id=3 It will save the content to cache as operation=1&parameter=2&id=3
7
2295
vivekgs2007
by: vivekgs2007 | last post by:
Hi to all, I have created a site for search engine of maps, here the user can search the maps by Name, Location and by Scale. It is working properly, But the problem is in searching text box. I have used the ajax auto complete for searching. if a user search the map for second time the same map..the stored cache result will displayed... my question is to clear the all cache when the user logout the site. i have used the meta tag...
0
9596
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10617
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10364
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10370
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10109
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4328
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 we have to send another system
2
3849
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.