The magicajax httpmodule is not supported in Web. config. Add [

Source: Internet
Author: User

Upgrade Windows Server 2003 to Windows Server 2008. The corresponding IIS is also upgraded from 6.0 to 7.0. magicajax error is found after the previous service is deployed:

Magicajax. magicajaxexception

The magicajax httpmodule is not supported in Web. config. Add [ < Httpmodules > < Add Name = "Magicajax" Type = "Magicajax. magicajaxmodule, magicajax"   /> </ Httpmodules > ] Inside < System . Web > Section.
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information to learn about this error and Code Detailed information about the cause of the error.

Exception details: magicajax. magicajaxexception: The magicajax httpmodule is not supported in Web. config. Add [ < Httpmodules > < Add Name = "Magicajax" Type = "Magicajax. magicajaxmodule, magicajax"   /> </ Httpmodules > ] Inside < System . Web > Section.

Source error:
An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

Stack trace:

[Magicajaxexception: The magicajax httpmodule is not supported in Web. config. Add [ < Httpmodules > < Add Name = "Magicajax" Type = "Magicajax. magicajaxmodule, magicajax"   /> </ Httpmodules > ] Inside < System . Web > Section.]
Magicajax. magicajaxcontext. get_current () ++ 125
Magicajax. UI. ajaxcontrol. setajaxintrinsics () + 18
Magicajax. UI. ajaxcontrol. onload (eventargs e) + 18
Magicajax. UI. Controls. AjaxPanel. onload (eventargs e) + 14
System. Web. UI. Control. loadrecursive () + 50
System. Web. UI. Control. loadrecursive () + 141
System. Web. UI. Control. loadrecursive () + 141
System. Web. UI. Page. processrequestmain (Boolean includestagesbeforeasyncpoint, Boolean includestagesafterasyncpoint) + 627

________________________________________
Version: Microsoft. NET Framework Version: 2.0.50727.3053; ASP. NET version: 2.0.50727.3053

Search for the Web. config file and find that there is no exception. You have already placed the corresponding httpmodules in the corresponding location according to the instructions, and there is no problem in IIS6. Why? It may be an iis7.0 problem. No clear answers can be found in the online search, so you have to redeploy and check the errors. After deployment, the following prompt appears:

 Does the iis7 web. config have this node?

<System. webserver>
<Validation validateintegratedmodeconfiguration = "false"/>
<Modules>

Add the following content to the above node.

<AddName= "Magicajax"Type= "Magicajax. magicajaxmodule, magicajax" />

Upgrade Windows Server 2003 to Windows Server 2008. The corresponding IIS is also upgraded from 6.0 to 7.0. magicajax error is found after the previous service is deployed:

Magicajax. magicajaxexception

The magicajax httpmodule is not supported in Web. config. Add [ < Httpmodules > < Add Name = "Magicajax" Type = "Magicajax. magicajaxmodule, magicajax"   /> </ Httpmodules > ] Inside < System . Web > Section.
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception details: magicajax. magicajaxexception: The magicajax httpmodule is not supported in Web. config. Add [ < Httpmodules > < Add Name = "Magicajax" Type = "Magicajax. magicajaxmodule, magicajax"   /> </ Httpmodules > ] Inside < System . Web > Section.

Source error:
An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

Stack trace:

[Magicajaxexception: The magicajax httpmodule is not supported in Web. config. Add [ < Httpmodules > < Add Name = "Magicajax" Type = "Magicajax. magicajaxmodule, magicajax"   /> </ Httpmodules > ] Inside < System . Web > Section.]
Magicajax. magicajaxcontext. get_current () ++ 125
Magicajax. UI. ajaxcontrol. setajaxintrinsics () + 18
Magicajax. UI. ajaxcontrol. onload (eventargs e) + 18
Magicajax. UI. Controls. AjaxPanel. onload (eventargs e) + 14
System. Web. UI. Control. loadrecursive () + 50
System. Web. UI. Control. loadrecursive () + 141
System. Web. UI. Control. loadrecursive () + 141
System. Web. UI. Page. processrequestmain (Boolean includestagesbeforeasyncpoint, Boolean includestagesafterasyncpoint) + 627

________________________________________
Version: Microsoft. NET Framework Version: 2.0.50727.3053; ASP. NET version: 2.0.50727.3053

Search for the Web. config file and find that there is no exception. You have already placed the corresponding httpmodules in the corresponding location according to the instructions, and there is no problem in IIS6. Why? It may be an iis7.0 problem. No clear answers can be found in the online search, so you have to redeploy and check the errors. After deployment, the following prompt appears:

 Does the iis7 web. config have this node?

<System. webserver>
<Validation validateintegratedmodeconfiguration = "false"/>
<Modules>

Add the following content to the above node.

<AddName= "Magicajax"Type= "Magicajax. magicajaxmodule, magicajax" />

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.