Re: Request format is unrecognized

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Matt Milner (matt.milner_at_m3technologypartners)
Date: 04/23/04


Date: Thu, 22 Apr 2004 22:15:08 -0500

If you look in the web.config for the service you will see that the web
services section has some protocols disabled. Comment this section out of
the web.config and it should work fine. essentially, MS setup these
services to be consumed, not to be browsed.

Matt

"Andrew Filev" <[NOSPAM]> wrote in message
news:opr6vl5xwrw0qkrj@msnews.microsoft.com...
> I've got an error trying to open
> http://[myservername]/BAMQueryWebSvc/QueryWebService.asmx or
> http://[myservername]/BAMQueryWebSvc/QueryWebService.asmx?wsdl in browser.
> Should it be so? The error is:
> Server Error in '/BAMQueryWebSvc' Application.
> --------------------------------------------------------------------------
------
>
> Request format is unrecognized.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
>
> Exception Details: System.InvalidOperationException: Request format is
> unrecognized.
>
> Source Error:
>
> An unhandled exception was generated during the execution of the current
> web request. Information regarding the origin and location of the
> exception can be identified using the exception stack trace below.
>
> Stack Trace:
>
>
> [InvalidOperationException: Request format is unrecognized.]
>
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
> type, HttpContext context, HttpRequest request, HttpResponse response)
+386
>
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContex
t
> context, String verb, String url, String filePath) +92
> System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
> requestType, String path, String pathTranslated, Boolean useAppConfig)
+698
>
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep
.Execute()
> +96
> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously) +173
>
>
>
>
> --------------------------------------------------------------------------
------
> Version Information: Microsoft .NET Framework Version:1.1.4322.985;
> ASP.NET Version:1.1.4322.968



Relevant Pages

  • RE: Remote Access Error
    ... execution of the current web request. ... >An unhandled exception was generated during the execution ... using the exception stack trace below. ... meInit(HttpContext context) +98 ...
    (microsoft.public.windows.server.sbs)
  • Re: Impersination errors
    ... > Exception Details: System.UnauthorizedAccessException: Access to the path ... > granting access rights to the resource to the ASP.NET request identity. ... > System.IO.Directory.InternalCreateDirectory(String fullPath, String ... > t context) +97 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [answer] IIS having problems creating temp directories
    ... > Exception Details: System.UnauthorizedAccessException: Access to the path ... > granting access rights to the resource to the ASP.NET request identity. ... > System.IO.Directory.InternalCreateDirectory(String fullPath, String ... > t context) +97 ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • error accessing page
    ... granting access rights to the resource to the ASP.NET request identity. ... System.IO.__Error.WinIOError(Int32 errorCode, String str) +393 ... access, FileShare share, Int32 bufferSize, Boolean useAsync, String ... context) +97 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Impersination errors
    ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... System.IO.Directory.InternalCreateDirectory(String fullPath, String path) ... t context) +97 ...
    (microsoft.public.dotnet.framework.aspnet)