I recently studied unlimited classification, and I felt dizzy. I can debug it locally, but it won't work if I transfer it to the Internet:
Runtime error
Application on the server Program Error. The current custom error settings of this application Disable remote viewing of detailed information about application errors (for security reasons ). However, you can view it in a browser running on the local server computer.
Details: to enable others to view details of this specific error message on a remote computer, go to the "Web. create a <mermerrors> tag in the config file. Set the "Mode" attribute marked by <customerrors> to "off ".
<! -- Web. config configuration file -->
<Configuration>
<System. Web>
<Customerrors mode = "off"/>
</System. Web>
</Configuration>
Note: Modify the defaultredirect attribute of the <customerrors> Configuration tag of the application to point to the URL of the custom error page, you can use a custom error page to replace the current error page.
, this error is really annoying. I have encountered this error in several situations:
1) space is not supported,
2) The program has an error.
3) the retransmission is not re-released.
the most special one is:
4) you must upload all the CS files.
in the previous two days, I used a gridview example. I cannot publish the files. The above errors always occur, but the local files are normal, let me see the dishes, and finally find that it is normal to upload his CS file, I am puzzled, so I created a new website to put all the Code after a migration task is made, the release result is OK! Even more depressing! Where is the problem? I did not research it!
however, this classification code is well-organized locally, and the upload is so classic. I still create a website like the gridview, and then move it in and publish the upload. The result is not good, upload All Source Code to include the CS file. The result is good! Let's see if you have ever met. It's been a long time of confusion! Thank you! The debugging environment is 2.0!