Wednesday, March 21, 2012

urlrewriter + ajax + magicajax : Httpmodule error

The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:MagicAjax.MagicAjaxException: The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[MagicAjaxException: The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.] MagicAjax.MagicAjaxContext.get_Current() +123 MagicAjax.UI.AjaxControl.SetAjaxIntrinsics() +15 MagicAjax.UI.Controls.AjaxPanel.OnLoad(EventArgs e) +17 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Page.ProcessRequestMain() +731

may be this is not right place, but i have posted the error above every topic not getting solution , and also may be its due to conflict between ajax and magicajax so , hoping to get solution, i m posting in this forum also. Please help , its urgent...

regards,

max

Do you have the ConfigItem in the <httpModules/> as the following codes? If not,try to add it.
<system.web>
<httpModules>
??????<add name="WebResourceCompression" type="Microsoft.Web.Handlers.WebResourceCompressionModule, Microsoft.Web.Extensions, ???????Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
??????<add name="ScriptModule" type="Microsoft.Web.UI.ScriptModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, ???????PublicKeyToken=31bf3856ad364e35"/>
??????<add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" />
</httpModules>
</system.web>
Wish the above can help you.

I'm facing a problem the same error:

The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.

Of course, I have already added this section to the web.config file, but the error keeps display.

Now, I face this case when I try to run the application on Windows Vista Operating System (Ultimate Edition) with IIS 7.0, while I don't get any error if I run and host the application on Windows XP with IIS 6.0.

I think its some configuration problem, but unfortunately I couldn't find any solution for that on the Internet. Some people said its related to Server.Transfer and Response.Redirect. In my application I'm using Response.Redirect as I don't think its the reason behind this error. Any why, I hope that you will be able to support me and help with my case because I need to dimonstrate the project very soon on the Windows Vista Operating System.

I appretiat your help and support.

Thanks,

No comments:

Post a Comment