asp.net - jsdebug Web Service method name is not valid -


i migrated multiple websites in our development area x86 windows 2003 (iis6) x64 windows 2008 r2 (iis7). used "msdeploy" migration. migrated entire server had issues ended migrating iis configurations minus script maps. after few configuration changes able .net 3.5 site serving pages in integrated mode. however, having issue section of main master page:

<asp:scriptmanager id="scriptmanager1" runat="server" enablepagemethods="true"> <services>   <asp:servicereference path="~/ajaxservices/formsubmissionservice.asmx" />   <asp:servicereference path="~/ajaxservices/gmapdataservice.asmx" />   <asp:servicereference path="~/ajaxservices/imagegalleryservice.asmx" />   <asp:servicereference path="~/ajaxservices/myfavoritesservice.asmx" /> </services> 

each of these generates script tag like:

<script src="../ajaxservices/formsubmissionservice.asmx/jsdebug" type="text/javascript"></script> <script src="../ajaxservices/gmapdataservice.asmx/jsdebug" type="text/javascript"></script> <script src="../ajaxservices/imagegalleryservice.asmx/jsdebug" type="text/javascript"></script> <script src="../ajaxservices/myfavoritesservice.asmx/jsdebug" type="text/javascript"></script> 

the web services being reached i'm getting following error when trying access "jsdebug":

system.invalidoperationexception: jsdebug web service method name not valid.    @ system.web.services.protocols.httpserverprotocol.initialize()    @ system.web.services.protocols.serverprotocol.setcontext(type type, httpcontext context, httprequest request, httpresponse response)    @ system.web.services.protocols.serverprotocolfactory.create(type type, httpcontext context, httprequest request, httpresponse response, boolean& abortprocessing) 
  • the site's app pool v2.0.050727 integrated.
  • "enable 32-bit applicaitons = false" (flipping didn't help).
  • the site build "any cpu".
  • i have same site running under ii7 on local win7 box , runs fine. difference see app pool running in "classic" mode. tried switching server "classic" mode same results.
  • i tried setting debug="false" same error (except /js instead of /jsdebug)
  • i've run aspnet_regiis -i several times. x64 versions of 2.0 , 4.0
  • i've reinstalled iis , .net 3.5.1 through role manager several times
  • i'm able each of web service definition pages

i reinstall/repair .net 2.0 not seem possible in winserver 2008. read elsewhere reinstalling os way accomplish this. not option.

am missing config somewhere?? appreciated!

figured out. added handler top of list under system.webserver/handlers in web.config. scripts load ok

<add name="scripthandlerfactory" path="*.asmx" verb="*" type="system.web.script.services.scripthandlerfactory, system.web.extensions, version=3.5.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" modules="managedpipelinehandler" scriptprocessor="" resourcetype="unspecified" requireaccess="script" allowpathinfo="false" precondition="integratedmode" responsebufferlimit="4194304"/> 

i had handler in list referencing 4.0 , appeared after 2.0 handler "*.asmx"


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -