> Hi I need help, with the above error. It's probably something stupid
> I've missed.
> I get this when triggering any client JavaScript function which in
> turn calls any method in my AjaxMethod C# class.
> This has all been working fine on previous machine.
> I'm running Win XP SP3, IIS 5.1, getting the error in IE 8 (and in IE7
> mode), Firefox 3 and Safari) so I guess its not a browser issue.
> My solution is Visual Studio 2005, ASP.NET 2.0/C#.
> My set up is as follows:
> Have the AjaxPro.2.dll in my Bin folder (version 9.2.17.1), all
> compiles and I can reference it etc.
> The onload of my pages has:
> AjaxPro.Utility.RegisterTypeForAjax(typeof(AjaxMethod));
> My C# class is called "AjaxMethod".
> I have extracted the following from my web.config regarding AjaxPro:
> <configSections>
> <sectionGroup name="ajaxNet">
> <section name="ajaxSettings"
> type="AjaxPro.AjaxSettingsSectionHandler,AjaxPro.2"
> requirePermission="false" restartOnExternalChanges="true"/>
> </sectionGroup>
> </configSections>
> <ajaxNet>
> <ajaxSettings>
> <urlNamespaceMappings useAssemblyQualifiedName="false"></
> urlNamespaceMappings>
> <token enabled="false" sitePassword="password"/>
> <oldStyle>
> <includeMsPrototype/>
> </oldStyle>
> </ajaxSettings>
> </ajaxNet>
> <location path="ajaxpro">
> <system.web>
> <httpHandlers>
> <add verb="*" path="*.asjx"
> type="AjaxPro.AjaxHandlerFactory,AjaxPro.2"/>
> </httpHandlers>
> </system.web>
> </location>
> <location path="ajaxpro/prototype.asjx">
> <system.web>
> <authorization>
> <allow users="*"/>
> </authorization>
> </system.web>
> </location>
> <location path="ajaxpro/core.asjx">
> <system.web>
> <authorization>
> <allow users="*"/>
> </authorization>
> </system.web>
> </location>
> <location path="ajaxpro/converter.asjx">
> <system.web>
> <authorization>
> <allow users="*"/>
> </authorization>
> </system.web>
> </location>
> <httpModules>
> <add name="HttpCompressionModule"
> type="AjaxPro.HttpCompressionModule,AjaxPro.2"/>
> </httpModules>
> Then in IIS I have an Application Extension Mapping for .asjx
> extension for aspnet_isapi.dll with Limit To: GET,HEAD,POST,DEBUG.
> From memory when I used to get this error at work it was because IIS
> didn't have the extension mapping set up. I don't understand why I'm
> getting this error even when I have the mapping set up.
> If you view source of the page I can see links to the virtual files
> AjaxPro creates:
> <script type="text/javascript" src="/MyAppName/ajaxpro/
> prototype.asjx"></script>
> <script type="text/javascript" src="/MyAppName/ajaxpro/core.asjx"></
> script>
> <script type="text/javascript" src="/MyAppName/ajaxpro/ms.asjx"></
> script>
> <script type="text/javascript" src="/MyAppName/ajaxpro/
> converter.asjx"></script>
> <script type="text/javascript" src="/MyAppName/ajaxpro/
> AjaxMethod,App_Code.asjx"></script>
> I have recently installed Visual Studio 2008, and MVC.....could this
> have screwed something up?
> ANY help much appreciated...am totaly stumped by this!
> devMonky