473,799 Members | 2,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

one aspx page started returning garbage???

One aspx page on my site started displaying garbage. No errors, just a bunch of
symbol characters.

The page used C# code behind and Output Cachine:
<%@ OutputCache Duration="86400 " VaryByParam="Pr oductID" %>

I did not recompile the app - but only changed the modification date of the aspx
file so that it would be recompiled - which fixed it.

However, I'd sure like to know how to prevent it - as it displayed the same
gargabe page for all the products on the site.

Just upgraded to SP1 of .NET 1.1 yesterday.
--
Thanks in advance, Les Caudle
Nov 18 '05 #1
1 1514
Well, this one is very strange.

It is 100% repeatable for IE for certain pages.

Seems to be related to Caching - or at least when I removed the OutputCache
listed below - I could no longer duplicate the problem.

Runing Win2000 Server SP4. .NET 1.1 SP1

The html code returned to IE is shown as follows. Any idea how to fix this? I
don't really want to disable OutputCaching.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META http-equiv=Content-Type content="text/html; charset=utf-8">

<META content="MSHTML 6.00.2800.1476" name=GENERATOR> </HEAD>

<BODY>í½›r??ω U?(Þ„J?-Ñ‹SJ?-Ë’FrR9/*pä*šÌ?0??ç½’ ?Ì?ëHId?넮ˤ

Ш;??\vo~?:?? ??Op?󮔶?ÕŸ?É? ?{ѬÔ*F?X #dÌ‚j?ÚŸ}
?@????ß¼stqzÓ?? 7W???×£H?âº„Ý ‹Ï·??o?K?q?

.......on and on and on more trash ...
Τߣ*.Xƥ?</BODY></HTML>

Thanks, Les Caudle

On Sat, 27 Nov 2004 12:05:33 -0600, Les Caudle <ve**@tiredofsp am.com> wrote:
One aspx page on my site started displaying garbage. No errors, just a bunch of
symbol characters.

The page used C# code behind and Output Cachine:
<%@ OutputCache Duration="86400 " VaryByParam="Pr oductID" %>

I did not recompile the app - but only changed the modification date of the aspx
file so that it would be recompiled - which fixed it.

However, I'd sure like to know how to prevent it - as it displayed the same
gargabe page for all the products on the site.

Just upgraded to SP1 of .NET 1.1 yesterday.


Nov 18 '05 #2

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

Similar topics

0
1378
by: Jim Mitchell | last post by:
I have a login screen that validates username and password returning the ID in a table of the user logging in. I then use server.transfer to split into two screens as shown below. I would like to pass this ID to PAGE1.ASPX and PAGE2.ASPX as shown below without using cookies and without passing the data on the command line. Is there a way to accomplish this task? I know that it can be done form ASPX page to ASPX page, but I do not see...
1
2043
by: Jakob Ehn | last post by:
I have a html portal page, where there are several IFrames. All IFrames point to aspx pages that belong to one aspnet web application. The problem I am having is that when I first go to the html page, a new aspnet session is started FOR EACH IFrame!! This means that 7-8 sessions are started. After this, it seems as the web application only uses that last session.
3
1690
by: Rod | last post by:
In Dino Esposito's book, "Programming Microsoft ASP.NET", there is a chapter titled, "ASP.NET State Management". There is a section in there discussing session state sometimes going away. He mentions that in version 1.1 of ASP.NET, that it isn't possible for the application to know about the session expiring. He gives a work around which you can try using that is put into the Session_Start event, which would first determine if there...
11
2882
by: tma | last post by:
I have the following HTML in use on my web page. I need it to show a graphic image on the page but do not know what to use in the codebehind to make the graphic appear. If I load the source url in a browser by itself, the graphic appears, but when I use the tag in a web page it does not. Anyone have a suggestion for VB? <img src='http://www.domain.com/MohawkWS/MohawkHitCounter.aspx?ItemID=7103830413' border=0 alt>
6
5519
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp; DataBinder.Eval(Container.DataItem,"StoreEmail") &amp; "&amp;Subject=" &amp; DataBinder.Eval(Container.DataItem,"ProductName") ....
7
7092
by: ray well | last post by:
hi, i need to include some non english text in some web from aspx pages, in which i used unicode characters and saved them with unicode encoding (without signature). in regular html only pages i add the following line to the <head> section to make the text show up properly, otherwise it shows up as garbage. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
1
2291
by: Gaetan | last post by:
I'm doing a prrof of concept to develop an application to run under WinPE. The application will use WinHTTP to send requests to an ASPX file running IIS 6.0 My problem is that I do not know how to prevent IIS from returning the HTTP code of the ASPX page. The client side use something like this to initiate the request: set obj1 = createobject("WinHttp.WinHttpRequest.5.1") obj1.SetProxy HTTPREQUEST_PROXYSETTING_DIRECT obj1.Open "GET",...
3
1792
by: rwoo_98 | last post by:
Does anyone know the difference between defining a static variable inside Global vs using an Application variable? For example Using a static int variable. public class Global : System.Web.HttpApplication { public static int MaxValue
13
3567
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but none of the server-side code is rendered. If I view the source of the page, the code (and page...
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9546
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
10491
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
10031
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
9079
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 project—planning, coding, testing, and deployment—without 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
7571
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
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4146
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
3
2941
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.