bugs >> asp.net response.redirec function

by QW50b24 » Fri, 15 Jun 2007 07:05:02 GMT

Hello!
I have a user control that raises a search event which is handled in the
page the control is contained. The handler of the search event searches the
database for records, and if only one record is returned I want the page to
automatically redirect to another page passing the record found. The problem
is that this causes an unexplained exception and the thread is aborted. I
even have a catch block for that raiseevent call, but it still aborts the
thread. Is there anything I can do, except not call redirect?

Thanks

Anton


bugs >> asp.net response.redirec function

by Bob Butler » Fri, 15 Jun 2007 08:49:38 GMT






Good bye!


--
You need to ask in a newsgroup with "dotnet" in the name. This group id for
VB 6.0 and earlier and does not include VB.Net or VB 200x.




bugs >> asp.net response.redirec function

by Ken Halter » Fri, 15 Jun 2007 22:34:10 GMT





You'll have to ask in a dotNet group. All groups on the ms server that start
with "microsoft.public.vb" support pre-dotNet versions of VB. All dotNet
groups contain the word "dotnet" in their names.

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm




Similar Threads

1. Run existing vb.net functions from simple asp.net page - Asp.Net Web Service

2. Need help on developing Port Monitor (new printer port for redirec

3. no response when click on taskbar icon using Shell_NotifyIcon function

4. ASP VBScript fails when response.buffer = True

I have a big asp file that has an error under certain conditions -- totally 
repeatable.  However, it only fails when I set response.buffer = True at the 
top.  WHen I set it False in order to debug it, it works every time!  I even 
set it to True, but did a .Flush just before the error, and the error won't 
happen.  

It only happens when response.buffer is True and no .response.flush is issued.

The error is a string variable turns-up empty and crashes a function 
requiring a date.  I could test for this before the line where it crashes, 
but where did my data go?  Why is the buffer affecting it?

Bewilderedness!

-- 
James W. (Jim) Rodgers, P.E., is a Senior Partner with General Consulting 
Engineers, LLC, in Atlanta, Georgia. 

5. Fill A VB6 Recordset Using The ASP Response Object - ASP

6. Vista, Classic ASP, VB6 Response.BinaryWrite Problem

I have a legacy ASP app that works fine on IIS 5.1 and 6.0.  In one case, 
theASP calls a VB6 COM dll to stream binary data in response to an HTTP 
request to resolve an HTML SRC tag.  I have two test cases:  streaming files 
less than 5K in size and streaming files greater than 20K in size.  Things 
work fine for the small files (~5K), but not the larger ones (~23K).   I do 
one large BinaryWrite into the ASP buffer for the entire file.  Using 
Ethereal, it appears no file data is returned to the browser for the larger 
files.  I tried breaking the binary writes up into chunks that were 4K in 
size with no success.  
The same web app also streams files using a C++ COM component.  That C++ 
component does the same thing the VB component does except it always calls 
BinaryWrite using 4K blocks.  It works great.
This all works on XP, IIS 5.1, but not Vista, IIS7.  It looks like there is 
some sort of bug when using Response.Write from a VB6 COM Component if the 
size of the data exceeds some value that must lie between 5 and 23K (I didn't 
try to experiment to pin down the exact size limitation).   Is this a know 
problem?

7. vbscript, asp, sockets responses not received

8. Server Response flashing on screen with Classic ASP - vbscript

 I have a classic ASP page (all vbscript) that flashes a server
response before refreshing with the correct content


Any ideas how to fix - easily I hope?

thx!