The allowdefinition= ' machinetoapplication ' section is wrong. If you do not use IIS in the

Source: Internet
Author: User

In response to this problem, I personally also dealing things for a long time, went online to find a lot of information. Stop talking, cut to the chase.

I used the development tool is vs2008+sql2005, asked my teacher, the teacher gave me the suggestion is to rebuild the solution, so I newly new web site, with the new Web. config to replace the original web. config, but the result is still the same.

I also tried to run the C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe on the Internet and the results were not ideal.

Also tried to remove the <authentication mode= "Windows" inside the Web. config/> This, the result is the same. See Netizen said this best not delete, will have influence, purely just to try.

Finally do not understand why go to the following step (also try):

First: Click the solution for your Web site root----Right-----Select Property Page----Find configuration properties on the left-click Configure

Remove the check box under the Build field and then configure (C): Select Platform

Then I was running my page directly, I did not build the site (do not understand this has no effect), and finally miraculously can be used. ^ v ^

I am also a beginner, do not understand this method has no effect, but I did not report wrong.

The allowdefinition= ' machinetoapplication ' section is wrong. If you do not use IIS in the

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.