2011-04-20 3 views
0

를에 런타임 사용자 지정 오류 문제에 직면하고있어 u는 수 plz은 내가 server.can에 사용자 지정 오류 문제에 직면하고있어 서버

런타임 오류

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. 

날 도와

이 사용자 정의 오류는 해당 페이지에만 나타납니다. 나는 이미지에서 Java 스크립트 프로그래밍을 사용했고 다른 목적으로 사용했습니다. plz hepl me me ....

+0

* 서버 *에 오류가 있습니다. 매우 이상한 설정이 아니라면 Javascript가 * 클라이언트 *에서 실행됩니다. 이들은 서로 다른 영역입니다. 오류는 현재 수행중인 작업과 아무 관련이 없습니다. 또는 자바 스크립트가 서버가 원하지 않는 요청을 발행하고 있습니다. 클라이언트 세션이 실행중인 요청을 찾아야합니다. 어떤 브라우저를 사용하는지, 어떤 서버 프로그램을 사용하는지, 서버를 제어 할 수 있는지 등에 관해서는 아무에게도 도움을 줄 수 없다고 생각하면 도움이 될 것입니다. –

+0

customErrors를 해제했습니다 아직도이 페이지를보고 계신가요? 나는 당신의 서버에 잘못된 것이 있다고 생각한다. Javascript는 클라이언트 측 스크립트 언어이므로 아무 관련이 없습니다. –

답변

0

web.config에 표시된 xml을 임시로 추가하면 문제를 일으키는 실제 예외가 표시되어 식별하고 수정하는 데 도움이됩니다. 웹 서버 시스템에서 페이지를 로컬로 볼 경우 사용자 정의 오류 모드를 해제하지 않고도 특정 예외를 볼 수 있어야합니다.

관련 문제