1. Máy tính bỏ túi Việt Nam
  2. Đóng góp xây dựng website
  3. Báo lỗi

Lỗi khi thi đấu "Server Error in '/' Application"


0

1

BTC ơi, sao nhiều lúc em bắt đầu mà nó thông báo lỗi:

Server Error in '/' Application.


Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
 

 <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
 

 <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>
 
196
3 trả lời:

1

Chào Hiếu,

Cảm ơn Hiếu đã thông báo lỗi này, kỹ thuật sẽ kiểm tra và phản hồi lại Tin nhắn cho em nhé!

Trân trọng,

#1: ngày 13/06/2016
145

Thêm bình luận

1

Lỗi runtime

Mô tả:  Một lỗi ứng dụng xảy ra trên máy chủ. Các thiết lập lỗi tùy chỉnh hiện tại cho ứng dụng này ngăn chặn các chi tiết của lỗi ứng dụng được xem từ xa (vì lý do an ninh). Nó có thể, tuy nhiên, được xem bằng trình duyệt đang chạy trên máy chủ của địa phương.  Chi tiết:  Để kích hoạt các chi tiết của thông báo lỗi cụ thể để có thể xem trên các máy từ xa, xin vui lòng tạo một thẻ <customErrors> trong một tập tin cấu hình "web.config" nằm trong thư mục gốc của ứng dụng web hiện nay. Sau đó <customErrors> Thẻ này cần phải có "chế độ" thuộc tính của nó thiết lập để "Off".


 

 <! - Cấu hình file Web.Config -> <Configuration> <System.web> <CustomErrors mode = "Off" /> </system.web> </ Configuration>


Ghi chú:  Các trang báo lỗi hiện tại bạn đang nhìn thấy có thể được thay thế bởi một trang lỗi tùy chỉnh bằng cách thay đổi "defaultRedirect" thuộc tính của <customErrors> tag cấu hình của ứng dụng để trỏ đến một URL trang lỗi tùy chỉnh.
 

 <! - Cấu hình file Web.Config -> <Configuration> <System.web> <CustomErrors mode = "RemoteOnly" defaultRedirect = "mycustompage.htm" /> </system.web> </ Configuration>

dịch sang tiếng việt

#2: ngày 12/06/2016
471

Thêm bình luận

1

ông sao chép đâu ra thế

#3: ngày 12/06/2016
471

Thêm bình luận