Hi,
Withough URL rewriting, the component on my page works absolutely fine. However I'm having problems when I use URL rewriting.
Here's my rule :
<rule name="rewrite uploader.aspx">
<match url="^myaccount/uploader$" />
<action type="Rewrite" url="useraccount/uploader.aspx" />
</rule>
the code:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<CuteWebUI:Uploader runat="server" ID="Uploader1" InsertText="Upload" OnFileUploaded="Uploader_FileUploaded">
<ValidateOption AllowedFileExtensions="jpeg,jpg,png" MaxSizeKB="10000" />
</CuteWebUI:Uploader>
</ContentTemplate>
</asp:UpdatePanel>
and the error I get when the progress bar reaches 100% (see at the end of the message)
What can I do to fix this problem ?
The HTTP verb POST used to access path '/BuzzArt.Web/myaccount/uploader' 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 '/BuzzArt.Web/myaccount/uploader' 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 '/BuzzArt.Web/myaccount/uploader' is not allowed.] System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +2872346 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8679186 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155 |