Note that there are some explanatory texts on larger screens.

plurals
  1. POPosting a textarea with html content fails `No data received`
    primarykey
    data
    text
    <p>ok guys, so here's another weird one:</p> <p>i have the following form:</p> <pre><code>&lt;form method="post" autocomplete="off"&gt; &lt;fieldset&gt; &lt;legend&gt;Edit article&lt;/legend&gt; &lt;label&gt;Description&lt;textarea name="txtDescription"&gt;&lt;%=article.Description %&gt;&lt;/textarea&gt;&lt;/label&gt; &lt;label&gt;Content&lt;textarea name="txtContent"&gt;&lt;%=article.Content %&gt;&lt;/textarea&gt;&lt;/label&gt; &lt;/fieldset&gt; &lt;input type="submit" class="fr" value="save changes" /&gt; &lt;/form&gt; </code></pre> <p>there is nothing on the code behind page beside getting the article. the page loads very fast, under 1 second, with that data in the textarea's.</p> <p>when i try to submit this form, the page takes forever to load (actualy, it does not load at all, but fails after a few minuets with <code>No data received</code>. the textarea content is just some html, not large (about 2-4kb each text area)</p> <p>i have tried adding <code>enctype="multipart/form-data"</code>, with no success, the same thing happens. i have managed to narrow it down to the <code>txtContent</code> textarea, (i removed the <code>description</code> textarea) and the page fails.</p> <p>what makes this even worse is that if i open the page in the browser on my server, it works with no problem, i can post, and it is all working as it should. if i try to access the page from a remote machine, the post fails.</p> <p>Anyone has any idea as to what happens here?</p> <p>EDIT: just to make sure, i have created a simple HTML document with the following in it:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="header"&gt; &lt;nav&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="/admin/"&gt;Dashboard&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="/admin/articles/"&gt;Articles&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; &lt;/div&gt; &lt;div id="content"&gt; &lt;form method="post" action="test.html"&gt; &lt;fieldset&gt; &lt;legend&gt;Edit article&lt;/legend&gt; &lt;label&gt;Content&lt;textarea name="txtcontent"&gt;&lt;/textarea&gt;&lt;/label&gt; &lt;/fieldset&gt; &lt;input type="submit" class="fr" value="save changes" /&gt; &lt;/form&gt; &lt;/div&gt; &lt;div id="footer"&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>this still fails.</p> <p>EDIT: the test code shown here is the minimal code that is not working. the actual form is larger, and if i remove the <code>txtcontent</code> textarea from the form, the form submits with no problem, including the <code>description</code> textarea.</p> <p>EDIT: Content-Length: 1555 / Content-Type: application/x-www-form-urlencoded</p> <p>EDIT: i have uninstalled and reinstalled iis, and re-registered .NET the problem is still there.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload