Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Erreur IIS HTTP verb POST used to access is not allowed

1 réponse
Avatar
zoltix
Hello,
J’ai un soucis avec IIs, lorsque je poste ma page je reçois un message d’erreur. (Pour infos '/QuaskFormServer/public.asmx/submit')
Je cherche la config pour autoriser The HTTP verb POST. J’ai rien trouvé.
Alors je fais appel a vous ………

Merci de votre aide

Server Error in '/QuaskFormServer' Application.
________________________________________
The HTTP verb POST used to access path '/QuaskFormServer/public.asmx/submit' is not allowed.
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.Web.HttpException: The HTTP verb POST used to access path '/QuaskFormServer/public.asmx/submit' is not allowed.

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:

[HttpException (0x80004005): The HTTP verb POST used to access path '/QuaskFormServer/public.asmx/submit' is not allowed.]
System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +3333669
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +3291158
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

1 réponse

Avatar
jbongran
zoltix wrote:
Hello,
J’ai un soucis avec IIs, lorsque je poste ma page je reçois un
message d’erreur. (Pour infos
'/QuaskFormServer/public.asmx/submit') Je cherche la config pour
autoriser The HTTP verb POST. J’ai rien
trouvé. Alors je fais appel a vous ………

Merci de votre aide

Server Error in '/QuaskFormServer' Application.
________________________________________
The HTTP verb POST used to access path
'/QuaskFormServer/public.asmx/submit' is not allowed. 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.Web.HttpException: The HTTP verb POST used
to access path '/QuaskFormServer/public.asmx/submit' is not allowed.
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:

[HttpException (0x80004005): The HTTP verb POST used to access path
'/QuaskFormServer/public.asmx/submit' is not allowed.]
System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext
context, AsyncCallback callback, Object state) +3333669
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+3291158 System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +155
________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.210



Verifier dans le log de IIS si il s'agit d'un code d'erreur 405.
En princie, cela vient soit d'un mauvais mappage des extensions (*.asmx ici)
soit d'une restriction d'usage quand aux "verbs" autorisés sur le serveur.
Voir le machine.config et le we.config.
Eventuellement, faire un wildcard mapping dans l'onglet de configuration
d'application de IIS. Mettre la même chose que ce qui est configuré en tant
qu'exécutable pour les extensions aspx (juste au-dessus)