Showing posts with label config. Show all posts
Showing posts with label config. Show all posts

Saturday, March 24, 2012

upgrade to the new release of control toolkit provides versioning trouble

Hi,

I just copied and pasted the new dll of the control toolkit over the old ones. Then i changed the app.config to reflect the new version number :

<addtagPrefix="ajaxToolkit"namespace="AjaxControlToolkit"assembly="AjaxControlToolkit, Version=1.0.10606.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>

I also removed all the icons from the toolbox and added them in again.

when i drag an item from the toolbox onto my form, it gives it the tag prefix of cc1 instead of ajaxToolkit.

like

<cc1:TabPanelID="TabPanel1"runat="server">

</cc1:TabPanel>

What is it that i am missing?

Thanks!

It is perfectly normal.

Refer to the following post for more details

http://forums.asp.net/p/1117736/1736819.aspx#1736819


Thanks for the reply and the link. According to the book that you link to, the developers need to add[assembly:TagPrefix("AjaxControlToolkit ", " ajaxToolkit ")] to theAssemblyInfo.cs file for this problem to go away.


First of all, it is not a problem. You don't need to worry about the tag prefix used by the controls.

The tag prefix is decided by the developer of the control. He makes the entry into the AssemblyInfo.cs of the control.

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,