Today, a user asked: It was uploaded to the website on the server. On the page with the verification control opened, a JS error is prompted: webform_postbackoptions is not defined; all the verification controls are invalid.
In fact, there are two main reasons for this problem:
- * The axd file ing is lost in IIS or is not correctly configured.
- The httpcompress component in dnn is used, but the Web. config is not correctly configured.
The solution is as follows:
For1:
Enter IIS and site properties. Add the. axd ing to site configuration, but you cannot select "check whether the file exists.
Get, Head, post, debug
C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_isapi.dll
. Axd
For2:
In web. config
<Httpcompress preferredalgorithm = "gzip" compressionlevel = "high">
<Excludedmimetypes>
<Add type = "image/JPEG"/>
<Add type = "image/GIF"/>
<Add type = "text/X-component"/> <! -- Solve the Problem of freetextbox errors->
<Add type = "text/plain"/> <! -- Solve the problem that AJAX callback does not support compression formats -->
</Excludedmimetypes>
<Excludedpaths>
<Add Path = "nocompress. aspx"/>
<Add Path = "resource. axd"/>
<Add Path = "webresource. axd"/> <! -- Solve JavaScript errors -->
</Excludedpaths>
</Httpcompress>