Server error in "/" Application

Source: Internet
Author: User

This problem occurs when you hit ASP. NET for an example of a validation control in the last few days:

However, we should not be unfamiliar with this problem, before the beef brisket has also appeared, then the solution is:

Find in Web. config
<appSettings>
<add key= "Aspnet:usetaskfriendlysynchronizationcontext" value= "true"/>
<add key= "Validationsettings:unobtrusivevalidationmode" value= "WebForms"/>
</appSettings>
Then delete the <add key= "Validationsettings:unobtrusivevalidationmode" value= "WebForms"/>.

Or, if there are no above two sentences: add in appsettings byte
<add key= "Validationsettings:unobtrusivevalidationmode" value= "None"/>

And then run it again.

But why does this problem occur?

Cause: vs creates an empty site without introducing the AspNet.ScriptManager.jQuery.dll file.

So there's another way we can solve this problem: find AspNet.ScriptManager.jQuery.dll and put the file under the bin file for the specified project.

Summary: There are problems, we have to learn to solve, but more to know why it appears, so that we can better understand

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Server error in "/" Application

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.