2014-12-24 3 views
0

vs 2010을 통해 실행하는 동안 로컬로 실행되는 asp.net 웹 응용 프로그램 (vb.net)을 개발했습니다.하지만 업로드하는 동안 문제가 발생합니다. 웹 서버에 게시 된 웹 응용 프로그램에 오류가 표시됩니다. 나는 "모드"속성을 "Off"로 설정하는 동안VB asp.net 웹 응용 프로그램이 웹 서버에서 실행되고 있지 않음

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> 

, 그것이 내가 로그인 양식을 사용하고 있지 않다, 정보에 대한

<authentication mode="Forms"> 

.... 오류가 나에게주고있다 (Login.aspx) . 마지막으로 web.config에서 오프 많은 태그를 시도 후에는

the site.master does not exists

어떻게해야한다는 오류를주고있다?

고객 데이터를 mysql 데이터베이스에 저장하는 간단한 웹 페이지입니다. 나는 connectionstring에있는 원격 mysql 데이터베이스 정보를 제공함으로써 그것을 시도했으며 작동 중이다.

웹에서 솔루션을 찾으려고했지만 실패했습니다. 페이지를 의미

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPages/Site.Master" CodeBehind="Bill.aspx.vb" Inherits="WebApp.Bill" %> 

귀하의 경우에는 존재하지 않는 마스터 페이지를 찾고 : 무엇 Uriil 말을했다

+0

지금 오류가 무엇입니까? – Mairaj

+0

페이지에서'Page'처럼 보이게됩니다. 편집용 masterpage가 지정되었습니다. – Uriil

+0

??? 나는 당신을 이해할 수 없다는 것을 의미합니다 ... – Raj

답변

0

는 페이지의 상단에, 당신이 뭔가를해야한다는 것입니다. 따라서 페이지를 변경하여 마스터 페이지를 참조하지 않거나 site.master를 만드십시오.

+0

죄송합니다,'Site.Master' 파일이 존재합니다. – Raj

관련 문제