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" />