Configuration :: Client Browser Using Cached Files Instead Of Updated Version After Deployment

Oct 6, 2010

We have an ASP.NET web application and it's hosted using IIS 6.0, in the app we have these several javascript and css files located in a folder, and for performance sake (according to YSlow) we set the folder content expiration header to 1 year. Everything worked just fine until recently when we deployed the latest build to the server, in which we had made some changes to those javascript and css files. For some reason after the deployment some of our end users don't see the latest changes when they connected to the app, even after they cleared the cache in IE. We have also restarted the IIS on the server and the problem still remained. When I went into the IE Temporary Internet Files folder on one of these machines I saw the files were still the older version and not the latest one, I had to manually delete the files from the Temporary Internet Files folder then they were able to see the latest changes. I'm baffled by this, how come only some users who couldn't see the changes but some others do (without having to do anything by the way), and how do I make sure that for future releases we won't have to do anything like what did (manually deleting the cached files)? For now I disabled the Content Expiration option in IIS for these files but I would like to know if there is a way that I can enable the content expiration (to help performance) but at the same time making sure when the files are updated, the latest version will be used for the end user (instead of the cached version)?

View 3 Replies


Similar Messages:

Web Forms :: How To Force A Browser To Refresh A Cached Version Of A Webpage

Mar 9, 2010

How to force Refresh( F5) conditaionally wehn the pages meet new design.

View 1 Replies

Javascript - How To Make Sure CSS/JS Files Are Not Cached On Browser

Nov 9, 2010

How do i make sure that for particular ASP.NET page CSS/JS file will not be cached on browser side (each time its loaded from server)?
Anything that can be done using the server side code?

View 2 Replies

Configuration :: Deployment Of Web Site Like A Trial Version?

Mar 24, 2011

I have developed a small website which is working on SQL server.. And also found Deployment process which is working well in my system. But my actual need is when I am deploying a project there should be some time limit to work that particular application like a trial version to give demonstration to others.

how to deploy a project like a trial version....

View 1 Replies

Configuration :: Deployment On Client Server?

Jul 23, 2010

I have developed an ASP.NET MVC 2 application for a client using Framework 4.0 & Visual Studio 2010 and tested it on IIS 7 locally. My client has a windows 2003 server running IIS 6 and Framework 2.0 installed. They are already running some web forms applications on that server.I have a few queries regarding deployment of my application to that server:1. Do I need to install anything else other than Framework 4.0 on that server? Any ASP.NET MVC Components?2. Will installing Framework 4.0 break their existing applications?3. What is the best deployment strategy ?

View 1 Replies

Configuration :: Copy Web Site Deployment - XSD Dataset Files?

Jun 29, 2010

I am ready to deploy my first real website to my Hosting Server and was wondering exactly how a simple FTP or Copy of the website files will operate as opposed to proper deployment via publishing the website to a DLL?

Will my Typed Datasets within my .xsd files work normally by FTP'ing them to my server or is there something special i need to do such as build them?

Here are the file types i need to deploy:

1) .aspx and aspx.vb files for my website pages (some in folders such as Admin, etc....)
2) App_Browsers --> CSSMenuAdapter.Browser for use with the CSS Control toolkit
3) App_Code --> several .xsd dataset files. Do these just get FTP'd to the server as well????
4) Bin --> several .dll files for using the CSS Control Toolkit, AJAX Control Toolkits, FCK Editor controls
5) CSS files and folders
6) web.config file

Can i just FTP all of the above folders and files and get the website to work, or does some of this .net 3.5 require publishing to DLL's???

View 1 Replies

Configuration :: Publish All Site Files If Only 1 File Updated?

Feb 16, 2011

I had made a change to the MasterPage and I would like to publish this to my production server at Server Intellect.

I wanted to know, that since I re-compiled the site, and saw the changes locally, do I now need to FTP all of the files?

Or can I just upload the file that I changed- the MasterPage?

Also, Im planning on making a change to a Class. Can I just upload that .cs file by itself?

View 5 Replies

Configuration :: Compile And Deploy Latest SVN Version Files

Mar 23, 2011

I'm looking for good approch for below requirement. I would appreciate if someone can guide me on this.

I would like to write a script,

1. which checkout the latest files from SVN
2. Then compile the solution files.
3. If some compilation errors, need to send a mail.

I'm not looking for any deployment as of now.
All I want to write the script to know is, can latest version of SVN tree compile successfull or not.

View 8 Replies

Cached Page Class Updated And Rebuilt?

May 26, 2010

When is the cached Page class updated and rebuilt?

View 1 Replies

Configuration :: Deployment Error -Failed To Generate A User Instance Of SQL Server Due To A Failure In Copying Database Files

Jul 28, 2010

I have created roles and users using ASP.NET configurations for login validations, it works fine if I run my application within project but when I publish my site and try to run from my Inetpub it giving this error. I tried all shorts of solutions posted in website but nothing worked for me.

"Failed to generate a user instance of SQL Server due to a failure in copying database files. The connection will be closed"

View 5 Replies

Javascript - Want To Send Files From Client's Browser To Server?

Dec 24, 2010

I'm looking for possible ways for sending files from browser to server.
One obvious way is using form with enctype='multipart/form-data'.
I wonder if there are other ways than this.

The reason I ask you this question is this file uploader: http://aspnetajax.componentart.com/control-specific/upload/features/core_features/WebForm1.aspx

It's not flash based, but it sends the file in a way that it gives you a progress bar, but when you send a file with form with enctype='multipart/form-data' the whole file will be send to the server so you can't actually show a progress bar of uploading process.

View 2 Replies

Web Forms :: Access Files On Client Machine Using Browser?

Apr 29, 2013

Is there a way we can access image files from client machine in asp.net?

View 1 Replies

Disable Back Button (showing Cached Version) Without JavaScript

May 29, 2010

I want to disable the broswer back button without using javascript. So far i have used this coding:

Response.CacheControl = "no-cache"
Response.CacheControl = "private"
Response.CacheControl = "public"

It's working fine in the internet explorer 8 but in case of mozilla fire fox it is not working.pls say same the solution to work in all browsers.

View 2 Replies

Firefox Version Wrong With Request.Browser.Version?

Sep 26, 2010

I'm try to get my site to detect what browser someone is using to ensure they're using one that is compliant with our site. Everything works, except Firefox seems to post the wrong version in the Request.Browser variables.I'm on Firefox 3.6.10, but Request.Browser shows Mozilla 1.9.2.10. It's correct in the HTTP_USER_AGENT string:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 YFF35 Firefox/3.6.10 ( .NET CLR 3.5.30729)

Is there a way to detect it better without having to parse through the HTTP_USER_AGENT string?

View 3 Replies

Configuration :: Can Create An Incremental Deployment Package Using Either Visual Studio 2010 Web Deployment Projects

Mar 27, 2011

Can I create an incremental deployment package using either Visual Studio 2010 Web Deployment Projects or Web Deploy (Web Deployment Tool) .

I need to automatically select changed files from a source and destination or a change set on TFS and build a deployment package only with the changed files.

View 9 Replies

JQuery :: How To Upload Files In Browser Cache To Get File Size On Client Side

Apr 1, 2011

My requirement is to get the file size in client side. there is no problem in FF but in IE you can't do that unless u r using an activeX object. So we thought of putting it in browser cache and reading the file size from there and when we post it to the server we will be taking it from the cache and send it to the server.

View 4 Replies

Configuration :: Deployment Of Web Application With Aspx.cs Or Aspx Files Only?

Feb 28, 2011

If we are deploying ASP.NET web application, Do we need to copy both *.aspx and *.aspx.cs files on the server?Also what if I am using different framework version? I mean 1.1 / 2.0 /3.0 /3.5 /4.0? What will be the answer in different .NET Framework versions?

View 5 Replies

Configuration :: System.diagnostic.process.start Not Working From Client Browser

Jul 15, 2010

I've an application where in am trying to show a slideshow directly on page load.. for that am using the following code

[Code]....

Its perfectly working on the dev environment but when deployed onto iis7.. am not able open the file..

I've given all folder rights for asp.net account and network service..

View 5 Replies

Web Forms :: Getting Browser Info / Get The Browser Version, Type Of The User

Apr 25, 2010

i need to get the Browser version, type of the user. i need the short name not the long one.

at the monent i have this:

browser = Request.ServerVariables("HTTP_USER_AGENT") that retuens this:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249

i need only (Chrome/4.1.249), (MSIE 8.0)...............

plus i would like to get the operating system too

View 16 Replies

Configuration :: How To Update The Licence For Dundas From Evaluation Version To The Licensed Version

Feb 25, 2011

We have an application that is already deployed in the production environment. And currently it is using Dundas evaluation version. We tried updating it to the licensed version by simply pasting the dll file. but we got the error message as "The file has not been pre-compiled and cannot be requested".

View 1 Replies

AJAX :: Bugs In Most Updated Version Of AjaxControlToolKit?

Sep 14, 2010

I have an ASP.NET AJAX application, which is using .NET Framework 3.5. I have visual Studio 2008 installed on my developer machine. The AjaxControlToolKit dlls I have installed in my system right now come from the file "AspNetAjaxLibraryBeta0911.zip". The released date of the dlls in the file is 12/29/2009. Exploring the AjaxControlToolKit download site, I found that there is a more updated version, which release date was April 12th 2010.

I tried to update the AjaxControlKit.dll version to the newest one. I did this creating a path in my system: c:Program FilesAjaxControlToolKitWebFormsRelease then I placed there the new AjaxControlToolKit.dll and AjaxControlToolKit.pdb files. Then I right clicked on the name of the dll inside my Bin directory in my application and selected "Update Reference". After I did this I tested the application and is giving me Jscript error messages like: "htmlfile: member not found", or Microsoft Jscript Runtime error "lenth is null or not an object". I don't get these error messages if I come back to the previous version of the AjaxControlToolKit.

View 7 Replies

SQL Server :: ISP Updated To SQL Version That VS 2008 Can't Handle ?

Dec 4, 2010

I have unexpectedly found that I cannot access my data tables from VS 2008. A window comes up saying "The server version is not supported. Only servers up to Microsoft SQL server 2005 are supported". Also, as a consequence I imagine, two web sites which refer to datatable have stopped working.

Has my ISP updated to an SQL version that VS 2008 can't handle ?

View 3 Replies

CSS In App_Theme Folder Gets Cached In Browser?

Dec 23, 2010

The Stylesheet in the App_Theme folder gets cached in the browser. What should be the approach? so that whenever there is a new deployment the browser should take the latest stylesheets and not the one cached in the browser.

This was happening for other css(which are not in theme folder) too, so used custom control as mentioned in the link

[URL]

How this could be done for the CSS in the Theme folder?

Edit: The theme name is mentioned in the web.config as mentioned below. so its not just the html link tag which I had solved by using the method mentioned in the link.

<pages styleSheetTheme="Default">
<controls>
</controls>
</pages>

View 3 Replies

C# Code - Page Is Cached On The Browser Or Not

Jul 16, 2010

"Firstly check if "default.aspx" page is cached on the browser or not; if yes then Response.Redirect("default1.aspx"); else Response.Redirect("default2.aspx")

View 5 Replies

Javascript - .NET Specify Which Files Should Be Cached?

Jan 14, 2010

I am developing a website in ASP.NET and I am using various javascript frameworks/libraries. The different files belonging to these frameworks/libraries rarely changes thus there is no reason to refresh those files once they have been sent to the client browser (atleast not everytime a page is served).I see that the HttpContext object can be used somehow, that I can set the content expiration on the files/folders on the IIS, or maybe setup somekind of caching in the web.config file. 1. What is best practice/what approach should I take

View 2 Replies







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