Blog Home  Home Feed your aggregator (RSS 2.0)  
Mayur's Blog - Monday, April 27, 2009
# Monday, April 27, 2009

Use overloaded method response.redirect("path",false) to avoid above mentioned error.

Cause of this error: response.redirect internally uses response.end. However, when you call response.redirect, it also shifts the execution to Applicaton_endRequest event and this does not allow the code following the response.end to be executed. Therefore, it reaises exception.

When you specify response.redirect("path", false) you explicity tell the run time to execute the code following the response.end menthod.

This work around has worked for me while using response.redirect in a user defined class which modifies the XML document.

For more info refer this page: 

Monday, April 27, 2009 7:00:30 AM UTC  #       | 
# Thursday, April 16, 2009

If you are using master page in your project and also trying to use properties such as scrollTop and scrollLeft in your javascript then it is very likely that you might be getting property values zero; no matter hou much you scroll down or up in your web page.

To correct this error you should use document.documentElement.scrollTop instead of document.body.scrollTop. Same applies to scrollLeft as well.

Hopefully it should solve your problem as it has worked for me!. For more info refer the following page:

Thursday, April 16, 2009 5:13:12 AM UTC  #       | 
# Monday, April 13, 2009

If you are installing this update and encountering problems related to "System.IO..." errors or BPACMD.EXE execution problems or missing assembly BPAClient.dll then simply create a new folder called BAPClient in your

C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\BPA\

and copy BAPClient.dll from C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Bin folder and paste it into newly created folder BPAClient.

Hopefully it should solve all these problems and successfully intall updates. Luckly it worked for me :)

More discussion on this issue:

Monday, April 13, 2009 3:38:10 AM UTC  #       | 
# Friday, February 13, 2009

The following is path: C:\program files\Common files\microsoft shared\DevServer\9.0

Friday, February 13, 2009 12:14:29 AM UTC  #       | 
Copyright © 2022 Mayur Bharodia. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: