473,623 Members | 2,447 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aspx page executes twice

Hi...

I have a frame(Report.ht m) which has two aspx pages one for
header(header.a spx) and the other for displaying reports(Report. aspx).
when Report.htm is called Report.aspx executes twice. I have checked
for autoeventwireup . it is set to false in all the pages.cant say why
is this happenning or i suppose that for frames this is an existing
issue..

In Report.aspx i am generating an crystal report in PDF Format. I'LL
just paste the last part

Dim objFileInfo As FileInfo
objFileInfo = New System.IO.FileI nfo(strReportPa th)
'Response.Clear ()
' Write PDF to the browser.
With httpCommands
.Response.Clear Content()
.Response.Clear Headers()
.Response.Conte ntType = "applicatio n/pdf"
.Response.Write File(objFileInf o.FullName)
.Response.End()
End With

I have tried using trace but it doesnt give up any clear indication.
there are also no URL 's which gets called either in code behind or
clent side script.

any hep would be appreciated.

Thanks
Raj

Mar 27 '06 #1
0 1136

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

Similar topics

0
1483
by: vMike | last post by:
I have an imageurl of an image (a larger image) set to an aspx file which does a Response.OutputStream. The url includes a query string. When the page is loaded this aspx file for this large image is called once. The page also has separate image buttons which are thumb images (there image url is set to a specific picture file). If the user clicks the image button it posts back to the server and changes the query string on the larger image...
10
3170
by: Manny | last post by:
I have a web form "Page1.asp" and it reads data from a database, does some calculations, and displays the records in pages. Works fine. I have a button that displays on the page, defined as <input type="button" onClick="OutputData()"> The OutputData() function is a javascript function that simply does this: window.location = "Page1.asp?Flag=1";
1
5821
by: Lewis | last post by:
Hi, Im having a problem with an aspx page that I'm building (and rather urgently needing to complete!). Situation is this... Im transforming some XML using an XSLT which builds an HTML form using an aspx (C# - using VS.NET). Within the resulting HTML is a form, which contains the following : <form method="POST" action="recieveForm.aspx?lang=eng">
5
3443
by: jonhyland | last post by:
Hey all, I'm writing a .NET application where I want all HTTP errors such as 404 to redirect back to the home page. Since .NET only handles HTTP errors if the client is requesting a .NET resource (.ASPX, whatever), I need to go into IIS -> Custom Errors tab and set my homepage under each HTTP error I want to handle. This allows my page to be shown if someone requests an .ASP or .HTM page that doesn't exist.
0
987
by: Rajeev | last post by:
We are currently facing a problem in our application – the page submission events are getting called twice. It works fine in our local machines. As soon as we release the compiled code to the testing server which is a vmware server, we face the issue. The postback happens, the Page_Init, followed by Page_Load is called and once it executes the database call, Page_Init gets fired again. From our logs of IIS we can see that, the page...
3
1324
by: Joey | last post by:
I have several asp.net 2.0 apps written in VS2005 in C#. For each one, I like to create and track page view events, increment counters, etc. I do this in a block on each page, like this... protected void Page_Load(object sender, EventArgs e) { if(!this.Page.IsPostBack) { Event.Write(EventSource.UserActivity,EventType.Informational,"My event text");
2
2376
by: Joey | last post by:
This is causing us a lot of pain right now. Does anyone know why this happens and, more importantly, how to fix it? TIA JP
1
3454
by: epower | last post by:
Hello, I am working on an ASP .NET application in Visual Studio 2005 and running IE7. This application has a page that contains an iframe which loads an .aspx page and hyperlinks that load the iframe with different .aspx pages. The HTML/mark up for the .aspx pages executes every time, but the Page_Load events for the pages never run (on initial load or subsequent loads).
4
2359
by: Tom Van den Brandt | last post by:
Hi, I wrote a simple windows service that includes a FileSystemWatcher. After building and installing the service (installutil) I notice that the service executes twice. I included a write to the application eventlog in OnStart ("service has started and is ready to watch the filesystem") and this results in two entries in the eventlog. Also, the handler for the FileSystemWatcher seems to be fired twice if something happens with a...
0
8231
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
8168
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
8672
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
8614
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
8330
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
8471
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...
1
6107
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
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1474
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.