473,830 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help needed with asp.net pages

Hello NG,

Maybe it is a wrong NG but posting here because I have got some great
replies from here.

I have inherited these web pages. One of the page has lots of stuff (mostly
calls to make that page look cool).

When I modify that page, somehow it is redirecting to default page. I have
done my best to find any location that might be doing that and I can't find
a single place where it might be doing that.

I am someone how able to put brake points on page_load event. In fact page
load even is never even called.

What is going on?
How can I force it to brake into debugger?
How can I find what is causing this?
I am frustrated in last 5 hours I gave this magic out.

Please help me.

-
Po

Jan 4 '07 #1
4 1150
"JohnAD" <no*****@this.c omwrote in message
news:uM******** *******@TK2MSFT NGP02.phx.gbl.. .
Maybe it is a wrong NG but posting here because I have got some great
replies from here.
Well, microsoft.publi c.dotnet.framew ork.aspnet is the newsgroup
*specifically* for ASP.NET issues, but no matter...
When I modify that page, somehow it is redirecting to default page. I have
done my best to find any location that might be doing that and I can't
find a single place where it might be doing that.
"Modify that page"...? What did you actually do...?
I am someone how able to put brake points on page_load event. In fact page
load even is never even called.
Are you absolutely sure about that...? Put the following statement as the
first line of the page's Page_Load event:

Response.Redire ct("http://www.microsoft.c om", false);

If suddenly you're looking at Microsoft's homepage, then Page_Load *is*
being called.

If your page is wired up correctly and is pointing to its codebehind class,
it's difficult to imagine how it wouldn't fire the Page_Load event...
How can I force it to brake into debugger?
Well, firstly:

1) what version of Visual Studio.NET?

2) are you running in Debug mode or Release mode?

3) have you actually set a breakpoint in the Page_Load event...?
Jan 4 '07 #2
Peter, No there is not web.config setting and yes I know for sure that this
is a wrong NG but still thanks for reply.

"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .comwrote in
message news:DB******** *************** ***********@mic rosoft.com...
John,
Is this application perhaps using forms authentication and attempting to
send you to the "Login" page? Look in the web.config to see what's going
on.

And again, the asp.net group is for questions like this. This is the "C#
Language" group.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"JohnAD" wrote:
>Hello NG,

Maybe it is a wrong NG but posting here because I have got some great
replies from here.

I have inherited these web pages. One of the page has lots of stuff
(mostly
calls to make that page look cool).

When I modify that page, somehow it is redirecting to default page. I
have
done my best to find any location that might be doing that and I can't
find
a single place where it might be doing that.

I am someone how able to put brake points on page_load event. In fact
page
load even is never even called.

What is going on?
How can I force it to brake into debugger?
How can I find what is causing this?
I am frustrated in last 5 hours I gave this magic out.

Please help me.

-
Po

Jan 5 '07 #3
Thanks for the link to the NG, I will move over there if I could not get
answer here. To answer questions --

By modify I meant few data calls from DB are changed. That will *no way*
affect redirection of page.
For the page load, I have done that trick to find where is page load going.
But nothing happened.
It is wired correctly. I checked connections. Even if it is not wired it
should not redirect without any code.
I am running VS2005, yes I put breakpoints, and it is in debugger mode. Only
addition now I have is that that breakpoint becomes yellow ring with
pointing that this code will not reach. This is for page_load even I am
talking about.

These all things I have done and tried that is why I am very puzzled. I have
no way to talk to the person who wrote this everything is so open that makes
me look like a stupid. I have searched every single code file (even that are
not related) to make sure there is no line that might be redirecting or
directing that page to default page.


"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:eD******** ******@TK2MSFTN GP03.phx.gbl...
"JohnAD" <no*****@this.c omwrote in message
news:uM******** *******@TK2MSFT NGP02.phx.gbl.. .
>Maybe it is a wrong NG but posting here because I have got some great
replies from here.

Well, microsoft.publi c.dotnet.framew ork.aspnet is the newsgroup
*specifically* for ASP.NET issues, but no matter...
>When I modify that page, somehow it is redirecting to default page. I
have done my best to find any location that might be doing that and I
can't find a single place where it might be doing that.

"Modify that page"...? What did you actually do...?
>I am someone how able to put brake points on page_load event. In fact
page load even is never even called.

Are you absolutely sure about that...? Put the following statement as the
first line of the page's Page_Load event:

Response.Redire ct("http://www.microsoft.c om", false);

If suddenly you're looking at Microsoft's homepage, then Page_Load *is*
being called.

If your page is wired up correctly and is pointing to its codebehind
class, it's difficult to imagine how it wouldn't fire the Page_Load
event...
>How can I force it to brake into debugger?

Well, firstly:

1) what version of Visual Studio.NET?

2) are you running in Debug mode or Release mode?

3) have you actually set a breakpoint in the Page_Load event...?
Jan 5 '07 #4
Peter,

This is not my most regular newsgroup. However strange that redirection to
ASP.Net framework. I thought that the framework newsgroups are for technical
questions about the architecture or whatever around the framework. The
language newsgroups are for the languages used inside those architectures.

For me this is for sure a language question.

However probably wrong from me.

Cor

"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .comschreef in
bericht news:DB******** *************** ***********@mic rosoft.com...
John,
Is this application perhaps using forms authentication and attempting to
send you to the "Login" page? Look in the web.config to see what's going
on.

And again, the asp.net group is for questions like this. This is the "C#
Language" group.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"JohnAD" wrote:
>Hello NG,

Maybe it is a wrong NG but posting here because I have got some great
replies from here.

I have inherited these web pages. One of the page has lots of stuff
(mostly
calls to make that page look cool).

When I modify that page, somehow it is redirecting to default page. I
have
done my best to find any location that might be doing that and I can't
find
a single place where it might be doing that.

I am someone how able to put brake points on page_load event. In fact
page
load even is never even called.

What is going on?
How can I force it to brake into debugger?
How can I find what is causing this?
I am frustrated in last 5 hours I gave this magic out.

Please help me.

-
Po


Jan 5 '07 #5

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

Similar topics

1
2970
by: Erich Trowbridge | last post by:
Has anybody seen this tool? It is awesome. check out http://vw.vermeer.org/ . It's a php front end for large-scale syslog deployments. It makes managing syslog in large networks a snap. The idea is to fifo pipe network syslog into a MySQL database backend. The php scripts reference the database, and print stuff to the screen. My Info -> RH9.0 , MySQL 4.0.14, apache1.3.28 I have successfully gotten everything installed, compiled, etc....
19
14854
by: Thue Tuxen Sørensen | last post by:
Hi everybody ! I´m maintaining a large intranet (approx 10000 concurrent users) running on one IIS box and one DB box with sqlserver 2000. Currently there is 2,5 GB Ram, 1 1400 mhz cpu and 2 scsi disks installed on the db box. Sqlserver is set to use max 1,4 GB RAM, and the sqlserver does not seem to be using it all.
10
1916
by: Bob Bedford | last post by:
In the attempt to keep the URL and code quite clean, and avoid to have a very loooong url, we have used $_session for storing values trough the pages. Now, we have some clients that doesn't get any result when going on the second page. After studying their browser, the confidentiality setting was at the maximum. On their settings, the site doesn't work well. Since we can't change the setting for every client, what may we do ?
7
1900
by: ChadDiesel | last post by:
Hello everyone, I'm having a problem with Access that I need some help with. The short version is, I want to print a list of parts and part quantities that belong to a certain part group---One list per page. I created a report that groups the parts by part classification group with a force new page after each group. The report is based on a query of that week's orders. Some of these parts have drawings (usually 2 each stored in an...
7
1766
by: Tina | last post by:
I have an asp project that has 144 aspx/ascx pages, most with large code-behind files. Recently my dev box has been straining and taking long times to reneder the pages in the dev environment. After addding another Crystal report, vs.net will no longer build the project - it just goes away - no message no nothing. My other dev box will build it but won't run it in debug. I ran a vs.net repair but it still does the same thing. vs.net...
8
344
by: . . | last post by:
Hi I am developing a web system using ASP.NET/VB.NET with SQL Server 2005 as back end database . I need to develop a aspx page where user can see their messages after they log into the system .The User will only see their own message .As soon as they are in this page the message will pop up for them . If there is more than one message then They can tab up and down . Some of the message a user can ignore and some they will have to take...
2
1995
by: Steve K | last post by:
I got a bit of a problem I like some help on. I'm designing an online training module for people that work in food processing plants. This is my target audience. These workers have little or no computer knowledge at all! And they also have outdated, old browsers, slow modems, old computers, etc. So I need to keep this as simple as possible and as browser compatible as possible. The client wants a navigation bar at the bottom of each...
7
1712
by: bobmct | last post by:
I've been toying with this for many weeks now and it still doesn't work as desired; I'm trying to develop with css compliance. In general my pages are within a container. Withing the container there is a header, a left column menu/nav box, a right box which contains the various pages content; and at the bottome of ALL pages is the close of the container section followed by a footer.
6
4093
by: Siv | last post by:
Hi, I am getting into printing with VB.NET 2005 and want to implement the usual capability that a user can select a selection of pages. I have a report that is generated by my application that if the user wants all pages will produce 3 pages. I want to offer the user the ability to select via the print dialog that only pages 1 and 2 of it are printed or possibly pages 1 and 3 but not 2. At the moment I can produce all three pages...
1
1730
by: Mike Hofer | last post by:
I really need some help, and I'd appreciate any that you folks can provide. The ASP.NET application in question uses version 1.1 of the .NET Framework. All of the pages use a common base class (derived from System.Web.UI.Page). So, for instance, my home page's inheritance chain looks like this: HomePage Inherits WebPageBase
0
10769
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
10476
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
10520
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
10196
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
9310
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
7739
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
5775
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3956
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3070
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.