Inexplicably, the built-in paging buttons of anthem and Asp.net are invalid-originally an IIS Problem

Source: Internet
Author: User
The same code is executed well on another machine, and it won't work on my side.

The specific situation is as follows: using the paging control made by anthem, clicking the page turning button cannot flip the page. It feels that the _ dopostback event is not executed. Later, the debugging traces and finds this error. this page was never registered with anthem. manager! That is, the information about the manager is not saved in the items page. This error should not occur. As long as the anthem control is introduced to the page, it will be registered. Later, I manually add register (this) to pageload) or throw this exception. however, the same code can be successfully executed elsewhere. at that time, I did not expect it to be a problem with IIS.

Today, I called another program and found that I used the self-built gridview control of Asp.net to flip pages. The page turning buttons were not reflected, which is too outrageous. in addition, some IIS sites may encounter server unavailability errors during browsing. then, no matter whether I restart IIS or use aspnet_regiis-R to fix it, it will not help. in this way, the suspect focus is on IIS.

As a result, I had to reinstall IIS and re-register ASPnet. The problem was finally solved.

It seems that there will be some inexplicable errors in the future. First, we will reinstall IIS, and the problems caused by IIS will be hard to find.
In addition, IIS sometimes requires the user name and password to have the permission to access the site. Although anonymous users already have the permission for the current folder, it is best to grant permissions to the network service and aps.net guests and Internet guests. Otherwise, the permissions may be insufficient. if this is not the case, you can delete the site and reconfigure the site to solve the problem.

It's almost suffering from IIS... but the problem has finally been solved for the moment. The specific cause is unknown...

By the way, the good news is that the support for Oprea has been released in anthem-1.5.2.

PS: It seems that you want to re-reference anthem. dll, and the code is put in SVN, it may also be a problem.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.