Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

explore

PAGINAS ASPX rodar no servidor

Recommended Posts

Eai galera.Seguinte, gostaria de saber se tenho que fazer alguma configuração para as PAGINAS ASPX que eu desenvolver rodar no servidor que tenho. fiz uma pagina normal e depois joguei no ftp mais não consigo vizualizar.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".

Compartilhar este post


Link para o post
Compartilhar em outros sites

Coloca um web.config com esse código na raiz do site:

 

<configuration>	<system.web>		<customErrors mode="Off"/>		<globalization culture="pt-BR" requestEncoding="utf-8" responseEncoding="utf-8"/> <compilation debug="true"/>	</system.web></configuration>

Aí deve mostrar qual é o real erro da página.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Eu coloquei as paginas ASPX em uma pasta e o arquivo web.config e Pagina.master na raiz do site e consegui vizualizar!Valeu galera..................aquele codigo me retorno o erro certinho!

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.