SharePoint WebService 在远程机器错误.

Request format is unrecognized for URL unexpectedly ending in '/UpdatviewNameById'.   at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
   at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
   at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

Solution:

Updated webcong with the following after httpModules:

 

</httpModules>

    <webServices>

     <protocols>

     <add name="HttpGet" />

     <add name="HttpPost" />

   </protocols>

  </webServices> 

posted on 2009-11-19 18:36  timo.li  阅读(188)  评论(0编辑  收藏  举报

导航