473,657 Members | 2,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strange Caching problem

Hi-
We're having a strange caching problem with an ASP.Net app written
in VB.Net on Windows 2003 with all the updates. We have two websevers
that use a common sql backend and a session server to preserve state.
Everything is working on one server, on the second one we have one page
that is giving us problems. Basically we changed the ip of our mail
server and updated the pages that use it accordingly. One page,
however isn't reading the changed page, but instead is reading some old
cached copy. The error shows it thinks the file is located on a laptop
which was used to develop the app and the path doesn't actually exist
on the server at all (the path it reports in the error is something
like c:/Documents and Settings/username/VSCache/filename.aspx). The
username it reports isn't on the server so the directory isn't there
either. We've tried to reset IIS and the server. We simply cannot get
it to read from the file in the website's directory where all the other
files are. Any ideas would be appreciated!

Thanks,
Dave

Nov 19 '05 #1
1 1089
Hi Dave,

One thing to try is to add a question mark (?) to the end of the page when
you call it. If the problem is a cached version that should put the good
version into the cache.

I've seen proxy servers that cache so aggressively they need to be dumped
to let loose.

Ken

"big DWK" <da********@dav ewking.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com...
Hi-
We're having a strange caching problem with an ASP.Net app written
in VB.Net on Windows 2003 with all the updates. We have two websevers
that use a common sql backend and a session server to preserve state.
Everything is working on one server, on the second one we have one page
that is giving us problems. Basically we changed the ip of our mail
server and updated the pages that use it accordingly. One page,
however isn't reading the changed page, but instead is reading some old
cached copy. The error shows it thinks the file is located on a laptop
which was used to develop the app and the path doesn't actually exist
on the server at all (the path it reports in the error is something
like c:/Documents and Settings/username/VSCache/filename.aspx). The
username it reports isn't on the server so the directory isn't there
either. We've tried to reset IIS and the server. We simply cannot get
it to read from the file in the website's directory where all the other
files are. Any ideas would be appreciated!

Thanks,
Dave


Nov 19 '05 #2

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

Similar topics

9
2197
by: Wescotte | last post by:
Here is a small sample program I wrote in PHP to help illustrates problem I'm having. The data base is using DB2 V5R3M0. The client is WinXP machine using the iSeries Client Access Driver ver 10.00.04.00 to connect to the database. The problem is that executing the exact same SQL select statement more than twice int a row stops produces results. The first two instances will always produce the correct results but after that it will simply...
4
1607
by: Gav | last post by:
Hi all, I'm having this strange problem where, in a web app, I have 2 different links to a different form. One is just a straight forward link the other is a bit more complicated because it gets there from a user control I wrote to display a menu. However both call the page in the same way using window.open('page.aspx','_top'); The problem is that:.... The page it calls, in the page load, checks to see if a session variable is null,...
3
1631
by: Janaka | last post by:
Hi All, I'm having a problem with Page Output caching on a page that contains a DataGrid. Basically the page pulls up some data for sales information from the DB. Some of this has to be calculated on the fly when the request is made, and so I thought it would be ideal to cache the page for a set amount of time. I've placed the following at the top of my page: <%@ OutputCache Duration="160" VaryByParam="None" %> Now the problem is...
1
1219
by: Mike Trebilcock | last post by:
I have a web app that builds a tree from a database. The tree is built on demand when the user POSTs the page back to the sever. The server maintains a copy of the current tree in a session object. This all works fine on the development server but I have a problem on my live server (IIS6.0 ASP.NET 1.1). When the user posts the page back the request is not getting to ASP.NET. When tracing is enabled there is no entry. However the...
3
1811
by: Michael Meckelein | last post by:
Hello, I run into trouble move down a selected item in a listbox. The code moving down the item is the following one: for (int j = lv.SelectedItems.Count-1; j >=0; j--) { ListViewItem moveItem = lv.SelectedItems; selIdx = moveItem.Index; // ignore movedown of last item
3
2940
by: Purti Malhotra | last post by:
Hi All, In our Web hosting environment we are using Virtual hosting i.e. multiple websites are on one server and multiple domains are pointing to a single website. Issue: We have two domains say “www.Test1.com” and “www.Test2.com” pointing to a single website. Website content is located onto UNCPath i.e. remote location. Domain 1: www.Test1.com points to \\servername\websitefolder\homedirectory
4
2977
by: Hermann | last post by:
My site is a bit slow showing the main page so I thought caching query result in PHP will improve performace. Then I read MySQL documentation and saw that MySQL does have a caching feature. So... now I dont know if doing the PHP caching is worth the pain. Would there be any noticed performace improvement if I cache query results in PHP, considering that MySQL is already caching the queries? Thanks
0
857
by: Susan | last post by:
..net 2.0 - I've been getting a very strange error on my websites I can't track down. It only happens occasionally, and continues until IIS is reset. The error happens on line 10: Dim product As Product = LoadProduct(row.Row) It looks like row.Row is not being found in the view We're caching the data - could this be related to the cache being
4
1728
by: Carlo Chiari | last post by:
Hi devs, in my application I need to update a simple text file every time the user checks an item of a radio group. I use AJAX method to do this stuff. In the start page I have this code for evely row: <td><input type="radio" name="CheckMe" onClick='UpdateRecipeID(3);'/></ td>
0
8305
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
8732
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
8503
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
8605
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...
0
7324
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
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
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
1611
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.