ok i found out it was not because of the connection string, there is a different setting for different versions of iis
<pre lang="HTML">
<system.web>
<httphandlers>
<add verb="*" path="*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2" />
</httphandlers>
</system.web>