Hi,

if you are using AjaxPro with Sharepoint you should have a look at
your web.config if it is already using the correct configuration for
httpHandlers. As there is a bug in the web.config you cannot put a
path to the httpHandler, only file extensions (like *.ashx).

1) Remove the httpHandler section for AjaxPro from
configuration/system.web/httpHandlers.

2) Add following configuration to the end (befor the closing
</configuration> tag):

<location path="ajaxpro">
  <system.web>
    <httpHandlers>
      <add verb="*" path="*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2"/>
    </httpHandlers>
  </system.web>
</location>

3) Because Sharepoint needs the full assembly  name replace the type
property to the full assembly name:

<add verb="*" path="*.ashx" type="AjaxPro.AjaxHandlerFactory,
AjaxPro.2, Version=6.9.29.2, Culture=neutral,
PublicKeyToken=4735ae9824c7d3ec"/>

Note: the version number has to be updated for every new version!


Regards,
Michael




On 9/26/06, svintinner <[EMAIL PROTECTED]> wrote:
>
> I've written an AJAX RSS News feed web part (details/download/source
> here:
> http://svintinner.blogspot.com/2006/09/ajax-rss-web-part-for-sharepoint.html).
>  The web part and the ajax code all work great.
>
> Unfortunately, it appears that there is a conflict between the Ajax.NET
> and the MSNBC web parts (Weather and Stocks) that come with Sharepoint
> (in the Online Gallery).  As soon as I add the ajax verb to the
> <httphandlers> section of my web.config file, the MSNBC web parts stop
> working.  The MSNBC web parts popup a javascript alert message saying,
> "Cannot retrieve properties at this time."
>
> If I remove the ajax verb section from the web.config, the MSNBC web
> parts immediately begin working again.  Add it back, and I get the same
> error message.
>
> I have tested on 2 different Sharepoint servers with the same results.
> Please note that this error occurs even if the only web part on the
> page is the MSNBC web part.  I should also point out that if I add my
> web part to the page, it will work correctly, but the MSNBC web part
> will not.
>
> Here's the add verb line that I'm adding:
> <add verb="*" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory,
> AjaxPro, Version=6.7.20.1, Culture=neutral,
> PublicKeyToken=4735ae9824c7d3ec" />
>
> The MSNBC web part adds the following to the source of the page (if
> this is any help):
>                    <script language="javascript"
> id="msnbcWeaScriptWPQ3"
> src="http://www.msnbc.com/m/chnk/r/sp_weather.js";
> onreadystatechange="if (window.event.srcElement.readyState ==
> 'complete' && typeof(InitWeather) == 'function')
> InitWeather('WPQ3');"></script>
>
> Any help would be much appreciated.
>
>
> >
>


-- 
Best regards | Schöne Grüße
Michael

Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer

http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/

Skype: callto:schwarz-interactive
MSN IM: [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to