Caching Problem (ASP/IIS5)

I'm working on an ASP application on my XP m/c.

I've uploaded a copy of the ASP code and accompanying DB onto another server
that is running both IIS5 & SQL Server. This is so that the development can
be demonstrated to key users at particular points.

However, when I access the application [on the server] from my machine, I'm
getting to odd caching behaviour that I dont understand. All the pages are
being cached and I need to refresh each page to get the accurate results.

The server is configured such all content should expire immediately, and
each ASP page has Response.Expires = 0 at the beginning, so AFAIK these
pages shouldn't be cached! Code:

View Replies


ADVERTISEMENT

IIS5.1 ASP

Not sure if this is the correct newgroup to ask this, if it is not please direct me to the correct location. I have IIS5.1 on a Windows XP Pro SP2 machine. The extensions for ASP and asa are missing the DLL files. Like "inetsrvasp.dll" how can I get this
back. Would this be on the original CD.

View Replies View Related

IIS5 VS IIS6

I have a custom File management ASP application that handles Large File uploads and download from a database (30 - 40 MB files) The application works fine on IIS5 but when I relocate it to IIS6 i get an error when I file not found error when i attempt to download out of the Database. IS there a reg setting or metabase setting that i need to change to handle large blob outputs.? Sorry I can't be more specific about the error msg but that is all it give's me a File not found error. it does however work fine with small files less then 2mb in size

View Replies View Related

IIS5 And Windows XP Pro SP2

I am using MS Visual InterDev 6.0 SP5. When I connect up to web servers not
local to my machine, I am able to create the project; however the issue
comes when I am tring to create a new local project. It keeps asking me for
a user name and password. I did not setup a password.

View Replies View Related

IIS5.1: 404 Error

Having previously had this working on my XP machine, I've come back after a month to find this error occuring now. In the meantime, I had installed PHP (v4.2.3) which could easily be a factor.

The symptoms are that when I call an ASP page, I get a standard 404 error. However, if I dont specify a page, and a default/index page is found, it renders the page OK. I've uninstalled PHP & rebooted, but this didnt work.

View Replies View Related

IIS5 SSL Enable

how to enable SSL in IIS5?

View Replies View Related

Db Permissions IIS5.1

Ive recently migrated from dirty ol' PWS on Win98 to IIS 5.1 on XP and Im a little unfamiliar with the IIS snap on. Would any of you be able to help me with permissions so the Db can be updated but without adding security risks.

View Replies View Related

Unicode And IIS5

I found this articel that says that Server.HtmlEncode will screw up unicode data. I'm using htmlencode on many pages and cannot see that data are corrupted.

It says in the "This information in this article applies to" section that it is applicable for ASP 2.0 with IIS4 and IIS5. I thought IIS5 only supported ASP 3.0? Is the Server.HtmlEncode OK to use in ASP3.0 on IIS5?

View Replies View Related

Difference In IIS5 And IIS6

I have an ASP app that grabs the logon user, and then I use GetObject to query the user's security groups. On a Windows 2000 server running IIS5, this works excellent. I then copied it to a different networks, Windows 2003 server running IIS6, and now I get permission denied on GetObject. How can get around this?

View Replies View Related

IIS5 To 6 Migration Trouble

We are poised to migrate about 600 ASP sites from a single IIS5 server to a new pair of IIS6 servers. However, it appears that all files with includes like:

<!-- #include virtual="../../includes/file.asp" -->
will not work on IIS 6, it returns ASP 0126, include file not found.

We have enabled parent paths, but I can't find any documentation that suggests that IIS 6 handles include directives differently than IIS 5. Has this in fact changed in IIS 6? We are trying to avoid a huge and messy "search and replace embedded text" exercise.

View Replies View Related

Sending Email Iis5.1(xp) Cdosys

I am trying to send myself an email using cdosys. The error i get is:

CDO.Message.1 (0x80040222)

The pickup directory path is required and was not specified. my code looks like this: Code:

View Replies View Related

IIS5 Not Showing ASP Files, Shows Others

Annoying problem on a server with IIS 5. [We have other
IIS 5 that show asp files just fine. I'm at a loss. ]

I can open htm, html, gif, jpg, all files except asp
files. The message when opening an asp file is:

"The page cannot be found...
blah blah blah
HTTP 404 - File not found"

I've looked everywhere. Permissions are okay with IUSR
and security since we can browse other files. The asp
files in question are NOT marked Hidden...

What can I do to make it render the asp files? Ideas?

View Replies View Related

ASP Error Messages Not Getting To The Client With IIS5.1 On XP Pro

I just upgraded to Windows XP Pro from Windows 2000 Pro. All my ASP stuff seems to work, except that when an ASP page generates an error, and the Error handling is set to "On
Error Goto 0" the page just stops, as if I typed a response.end, and no
error information is returned to the client. If I set On Error Resume Next,
and write err.desc after the offending line, the error text is written
correctly. For debug purposes of course it is nice to be able to
immediately see the line number, and description though.

Anyway, does anybody know what setting I need to change to fix this? I have
server side, and client side debug set, and I have it set to send detailed
errors to the asp page.

Another interesting thing is if there is a compile-time error, like a syntax
error, or something, the page doesn't load, but I get the error message
until an error happens with the above condition, after that, it will just
return a blank page.

View Replies View Related

Problem Setting Up Web Site (iis5) With Asp

I simply create a new web site using Windows 2000, IIS 5.
I use say c:est as a home page, in this folder there is a file
homepage.asp.

I assign a dedicated ip address to this web site.
If I try to browse to this web site I just get a "You are not
authorized to view this page"

Why ?? I cannot understand where the problem is ! Code:

View Replies View Related

Error When Migrating From IIS4 To IIS5

Let me first apologize for anything that makes me sound stupid. I'm really not a ASP programmer, but i am the one fixing our glitch.

First, let me explain whats going on. We have a company intranet signout board. And under our IIS4 server, it works just fine, but under IIS 5 its works except for one glitch. The board lets the user choose their name from a databse, and enter a date and time of leaving a arriving.

On the old server, if the user just entered a time, it automatically added the current date followed by the time. Now, if the user just enters a time, that all that is displayed, and for some reason the board will only allow one name to be displayed like that.

So if person A signs out with just a time, he is listed, until person B signsout and overwrites person A


I think i have narrowed the problem down to this

If FormatDateTime(Request("txtReturn" & intIndividualPerson),2) <> "12/30/99" Then

rsUDPerson("OutReturning") = Request("txtReturn" & intIndividualPerson)
Else
rsUDPerson("OutReturning") = Date & " " & Request("txtReturn" & intIndividualPerson)
End If

The idea is, if there is a date, it wil be different then 12/30/99 so nothing is changed, but if no date if there it adds the current one. It almost acts like there is no Else statement.

View Replies View Related

X-Post: Cannot Set Application Object In IIS6.0, But Could In IIS5

We have pretty simple ASP (not ASP.Net) application, which has been running fine on IIS4 and IIS5. It has now been moved to a sever running in the DMZ and managed by a 3rd party. The server is Win2003 and IIS 6.0.

Within the Globe.asa file, have an Application_OnStart SubRoutine (Visual
Basic) and it bombs out on the first line:

Application("cnSecurity_ConnectionString") = "connectionProperties"

With the error:

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject failed
Globe.asa, line 25

View Replies View Related

ASP Caching

ASP Caching is not happening even i enable ASP disk
cache under websites
properties,Homedirectory,Configuration,cache options..
I have given the Full Control Permissions to IIS_WPG &
Administrator to that directory...
I am getting that cache options under
websites only not individual sites.Can i know the reason
for this

View Replies View Related

Web Caching

Just recently we have encountered a weird problem with our
webserver...running IIS 5 and W2000 SP4
When testing an ASP page, if you get an error of some sort in your browser,
when you go into the code and fix the problem, save the changes, when you
refresh the page, the error stays there, even though the code is correct.
The problem is not fixed until you rename the page, and the open it in your
browser to work fine??

View Replies View Related

XML Caching

We have a website that reads data from Oracle and creates an XML file. Then
the site uses that file to access the info faster. On IIS5 we have no
problems, but on IIS6 we seem to have some caching issuses. This deals with
the Worker Processes. By default, there is only 1 Worker Process that gets
recycled after 1700 minutes or so. The problem is, that we will select some
data from the screen, which opens up another window to update the info. We
walk through the update process and change some data and it updates the page
fine. We can even check the XML file and it is changed, but if you choose to
go back into that data, the dropdowns will reflect whatever was initially in
the XML not the changes. If I increase the number of Worker Processes and
shorten their recycle time, this doesn't seem to be a problem, but for every
request I am generating a 25M file on the server that eventually gets
recycled. I don't want to load up the memory with useless files, but I want
our application to reflect the correct data. I really need to do this without
affecting any other possible web apps that may be on the box.

View Replies View Related

SSI's Are Caching ...

Never had this problem before, but my SSI's in an ASP page are caching. I don't think ASP has anything to do with it mind you. I think it's a server issue (I've never really used this hosting company before).

Is there any way (ASP or otherwise) that anyone knows of stopping a web server caching your SSI's. It's VERY annoying!

View Replies View Related

SSL And ASP Caching

We have an IIS cluster running an ASP website. We installed the patch listed under Q239703 that allows IIS to recognize script updates and appriately not cache those ASP pages. However, since we made this change, any office documents that a user tries to download exhibit the problem listed in Q316431. We do not use any of the caching commands listed in this article (Pragma: no-cache OR
Cache-control: no-cache,max-age=0,must-revalidate). In fact we do not have anything set in the code at all with regards to caching, and the only this i can come up with is the change we made from Q239703, which is needed to stop IIS from caching ASP based pages

View Replies View Related

Caching

We are attempting to cache asp web pages in our isa server from the local county property appraiser web site to speed up access, with a 60 minute TTL (time to live).

This doesn't seem to be working - at least the pages aren't coming up any faster. Is there anything in asp that could be preventing the pages from being cached locally?

View Replies View Related

Caching

What is the best way to cache images, and stylesheets on an asp site? I currently use a .asp extension on all my pages because I use include statements to keep certain parts of my layout the same(menu, logo, footer). I have read that asp doesn't cache pages by default, and that they are processed everytime on the server. This can eat bandwidth up pretty fast.

There also seems to be a few ways to cache a page (response.expires, cache-control, public, using meta tags, and a few more).

View Replies View Related

Caching

I have a page were data can be filtered using up to 4 listboxes. Once
someone does a filter, those parameters are saved so when they come back
to the page on a subsequent visit, the listboxes are filled for them.

There is a slight performance issue if all listboxes are set to 'All'.
Can the Cache Object be used for data that is static but filtered? If
so, how? The data that is being filtered is updated once a month and I
am not using the .NET platform.

View Replies View Related

Caching

Im having a problem that some users of this Admin System Ive built have been getting. I think the problem is caching, users arent seeing the updated version. Is there anyway to force the browser to get a fresh copy of the page everytime?

View Replies View Related

FileSystemObject - Caching?

I have an application which allows users to check in/check out XML files from an MSSQL database. When checked out, the XML file resides on a network drive. This allows users to edit the file. When checked in, the XML file resides in the database etc..

Anyway - the process works fine, but after a couple of hours usage the checkin method stops working. No matter what you change in the XML file it does not update.

Checkin method:

Create FileSystemObject (FSO)
Retrieve 'Checked Out' File from the network drive using the FSO
Retrieve contents of file using ReadAll
Update database with new content
Kill FSO

THe FSO.ReadAll returns a cached/old version of the XML file. I can open the file in notepad and I can seee the changes made, but when I do a ReadAll on the file using FSO the change is not there...

The only way around this is to re-boot my PC. Is it possible the memory allocated to my application fills up and cannot create new instances? Anyone else experienced anything like this? The application is an ASP based Web Application and runs through IIS5.

View Replies View Related

Caching Images

I've had some periodic problems on certain (intranet)servers where IIS seems
to be caching thing in an unexpected way, or is server cached pages where
new content is expected.

The first situation is where we have a standard Top + Left + Content
framset; the left frame contains a menu which shows standard options - when
the user logs in, extra menu options are available to them, depending on
their priveleges. The menu is generated from a DB in ASP, and when the user
logs in, Javascript is used to reload the page in the left frame - eg.
re-generate menu based on logged-in user.

This used to work on all servers, but at some point in time I found that
people were logging in but were stuck with the standard menu. If we
right-clicked in the menu and chose refresh, often the correct (eg expanded)
menu would be shown.

I'm not sure where the problem is IIS or could be controlled in ASP...

The second problem is on my development machine; when I browse to my
development copy of the intranet, I dont get the icons for each menu item.
However, when I browse to the live Intranet system, the correct graphics are
shown.....

View Replies View Related

Caching Question

I have 2 asp pages, the first displays a drop down which it's source is from a db, user picks a value, submits to the next page. Currently if the user hits back picks a different value and submits again, the same original value is submitted again, not the newly select value...

I see lots of things talking about caching, wondering if there is something I can do so if the user goes back, using their back button, that if they select the new value and resubmit, that the new value is used and not the original value, I may have said that in a very long winded way, just wanted to be clear..

View Replies View Related

ServerVariable Caching

I'm developing a website, using ASP VBScript, and I'm using
Response.ServerVariable("cert_subject") to get information about the client's
certificate (smart card). But this variable is cached, the user can take the
smart card out, and the previous data is still there.

It's only until you
close the browser and reopen IE that it flushes it. Does anyone know of a way
to flush that particular variable, or force IE to relook at the cert each
time of the response call?

View Replies View Related

Caching ASP Pages

I have, at the top of all my scripts,

response.expires=0

which should prevent any caching of pages. All the pages contain dynamic db driven data, so I need to ensure none of the pages are cached.

One of the users has found that pages aren't updating when she navigates to them. It only happens on her computer. If you refresh the page manually, the data updates.If she logs in using a different machine, it all works fine.

She's using IE7. Does anyone who of any setting on a computer that might override the response.expires setting?

View Replies View Related

XmlhttpRequest Caching

We are having a problem with a xmlhttpRequest request returning a cached version of the request - the code we are using is inserted below. Has anyone else had this problem before - or have any ideas on what we may be doing incorrectly.

xmlhttpRequest : function(url)
{
var mainPageURL = document.location.href.split("/");
var xmlhttp = new ActiveXObject("MSXML2.XMLHTTP.3.0");
try
{
var vURL = mainPageURL[0] + "//" + mainPageURL[2] + "/" +
mainPageURL[3] + "/" + url;
xmlhttp.open("GET", vURL, false);
xmlhttp.send();
if (xmlhttp.statustext != "OK")
{
alert("Failed to execute URL " + vURL + ": " +
xmlhttp.statusText);
return "";
}
else
return xmlhttp.responseText;
}
finally
{
xmlhttp = null;
}
},


--
jmt

View Replies View Related

Caching Data

I found this article and it seems like a good idea to put data into Application variable that doesn't change often.Caching records in memory I am new to ASP and MS Access, would like to know from you folks whether this is a good practice to, say displaying Categories and Country data of an e-commerce site using this method?

View Replies View Related

Xml Http Iis Caching

i want to info about iis caching and a special one when i get the a site with xml http it is caching by iis ... what is the refresh period and data amount of this caching...

could anyone give me a info or url to take more info...

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved