"/" Server error in application, Application Server

Source: Internet
Author: User

"/" Server error in application, Application Server

This problem occurs when I typed the ASP. NET verification control example a few days ago:

However, we should be familiar with this problem. We also encountered this problem during the previous round. The solution at that time was:

Find in web. config
<Deleetask>
<Add key = "aspnet: UseTaskFriendlySynchronizationContext" value = "true"/>
<Add key = "ValidationSettings: UnobtrusiveValidationMode" value = "WebForms"/>
</AppSettings>
Delete <add key = "ValidationSettings: UnobtrusiveValidationMode" value = "WebForms"/>.
 
Or, if there is no such sentence: add it to the ettings byte
<Add key = "ValidationSettings: UnobtrusiveValidationMode" value = "None"/>

Then run it again.

But why?

Cause: vs creates an empty website and does not introduce the AspNet. ScriptManager. jQuery. dll file.

So we can solve this problem through another method: Find AspNet. ScriptManager. jQuery. dll and put the file under the binfile of the specified project.

Conclusion: if a problem occurs, we must learn how to solve it, but we must also know why it occurs so that we can better understand it.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.