This issue happens with IE8 as the browser used for debugging. IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) (http://www.microsoft.com/windows/internet-explorer/beta/readiness/developers-existing.aspx#lcie) which results in IE running across multiple processes.
Older versions of the Visual Studio Debugger get confused by this and cannot figure out how to attach to the correct process.
To overcome this issue, you need to disable the process growth feature of LCIE by following the steps below:
1) Open RegEdit
2) Browse to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3) Add a DWORD under this key called TabProcGrowth
4) Set TabProcGrowth to 0
If you run into the same problem on Vista or newer, you will also need to turn off protected mode.
Following the above steps should resolve your issue.
Regards,
Paras Wadehra
Monday, October 12, 2009
Wednesday, February 25, 2009
Response.Redirect does not work in AJAX callback functions
If you can't seem to use Response.Redirect in UpdatePanel's AJAXified callback function, add the following in your web.config file in the appropriate place:
<configuration>
<system.web>
<httpmodules>
<add type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" name="ScriptModule">
</httpmodules>
</SYSTEM.WEB>
</configuration>
Try now, and it works!
--
Paras Wadehra
<configuration>
<system.web>
<httpmodules>
<add type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" name="ScriptModule">
</httpmodules>
</SYSTEM.WEB>
</configuration>
Try now, and it works!
--
Paras Wadehra
Labels:
AJAX,
ASP.Net,
Paras,
Response.Redirect,
UpdatePanel,
Wadehra
Subscribe to:
Posts (Atom)