473,320 Members | 1,802 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,320 software developers and data experts.

aspnet_wp.exe caching and locking process

Hi,

I have a web service that calls an an assembly on a server. My client
calls the web service, the web service calls the assembly... very
straightforward.

I have noticed 2 things though that I cannot quite understand;

A) When my assembly throws an exception (that is handled and trickles
back down to the client) and my client goes to invoke another call...
the same error gets returned... it is as thought aspnet_wp.exe is
caching the response. I either have to blow away aspnet_wp.exe in
taskmgr or perform an IIS reset.

B) When I go to replace my assembly (for an upgrade or bug fix)
aspnet_wp.exe has a lock on the dlls. I then have to destroy the
aspnet_wp.exe process to replace my assemblies. I'm assuming this
affects the performance of my other applications running under the
aspnet_wp.exe process... so I don't really want to keep doing this.
Should the Garbage Collector not clean things up after they have not
been used. Is there anyway to interrogate the aspnet_wp.exe process
to see what locks it is holding (i.e., perhaps I have not closed out
some objects correctly).

Any information people have is welcome... I have tried looking for
articles but have not seen anything.

Greg

Apr 5 '07 #1
1 1637
If you are using IIS6 or greater, you can recycle the app pool instead
of recycling IIS.

As far as the cached error response is concerned, did you confirm if
the CacheDuration attribute is being used in the web method? Or
perhaps you might be storing the reponse from the assembly in the
cache?

You can try using ProcessExplorer (http://www.microsoft.com/technet/
sysinternals/utilities/ProcessExplorer.mspx) to see what locks are
being held by aspnet_wp, but i think it might give only the name of
the locked assemblies.

Apr 5 '07 #2

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

Similar topics

9
by: J. Baute | last post by:
I'm caching data in the Application object to speed up certain pages on a website The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
3
by: | last post by:
This question references to KB articles: http://support.microsoft.com/default.aspx?scid=kb;EN-US;315158 http://support.microsoft.com/default.aspx?scid=kb;EN-US;317012 I'm running Advanced Server...
2
by: Matt Sollars | last post by:
Hi all. I'm having a nasty problem. A client's website was originally written with classic ASP. They requested a new portion of the site that was deemed a perfect candidate for ASP.NET. So, .NET...
1
by: Mark Kamoski | last post by:
Hi-- All of sudden (?) the VS.NET v1 IDE is NOT automatically attaching aspnet_wp.exe as a debugged process. Why? Here is the situation. VS.NET (v1)
6
by: Stan | last post by:
There was a number of postings about aspnet_wp worker process taking too much memory and eventually choking the webserver. One issue is still not clear to me - how can I narrow it down to an...
0
by: lc | last post by:
I'm building a small image gallery type of site and along with it I'm adding a few pages for site maintenance. One of the maintenance functions is to replace an image (haven't tried delete and new...
2
by: Sidharth | last post by:
Hello, We are experiencing some issues with the aspnet_wp process on our live servers. The problems are intermittent and we cannot reproduce it on our dev and test servers. Currently around...
3
by: Ramesh Dodamani | last post by:
Environment: XP Pro, VS.Net 2003, .Net 1.1.4322 with SP1 & KB Hotfix 886903 P4 2.2GHz, 1 GB RAM My system was working fine till a few weeks back when I started seeing the following errors. ...
3
by: MP | last post by:
Hi, I have a library in which I use the COM+ services dynamically for creating a Folder in the virtual directory of the Web Application on the Web Server. As ASPNET account does not have...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.