Home DotNet Request format is unrecognized for URL unexpectedly ending in GetTransactions
Author:

Problem:

I am getting the error while trying to run the web services on the server. When executing the web services an error come back as "Request format is unrecognized for URL unexpectedly ending in '/GetTransactions'".

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 for URL unexpectedly ending in '/GetTransactions'.

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. 

Solutions:

To fix this error simply add the protocol HttpGet and HttpPost.

Add this under the tag <system.web>.

<webServices>
    <protocols>
        <add name="HttpGet"/>
        <add name="HttpPost"/>
    </protocols>
</webServices>



Comments (0)
Write comment
Your Contact Details:
Comment:
Security
Please input the anti-spam code that you can read in the image.

"