Ir para conteúdo
Fórum Script Brasil
  • 0

Problema Na Publicação


resopi

Pergunta

Pessoal...

Estou com um probleminha...

eu tinha um site que funcionava em um servidor.. porem quando mudei do servidor de prototipo para ums ervidor de produção comesou a prenstar um erro... alguém sabe me dizer oque posso ter feito de errado???

segue o erro!!

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>

lembranbdo que nehum arquivo ou codigo foi modificado de um servidor para outro... acho que é alguma coisa na publicação!!! se alguém puder me ajudar, muito obrigado!!!!

falou!

Link para o comentário
Compartilhar em outros sites

2 respostass a esta questão

Posts Recomendados

  • 0

Opa... pelo que deu pra entender deve haver algum erro de segurança ou algo relacionado com níveis de acessos ou permissões para que seja executada a aplicação. O erro que está retornando na página é um erro tratato, ou seja, não tem informações técnicas que seriam necessárias para dar um diagnóstico mais convincente da falha. Como mostra no próprio browse, localize na sua aplicação o arquivo web.config, use o notepad para editá-lo e localize nele a seguinte tag:

<configuration>

<system.web>

<customErrors mode="Off"/>

</system.web>

</configuration>

Note que o

<customErrors mode="Off"/>

está Off, ou seja, não mostra erros técnicos no browse. Altere para On, salve o arquivo e execute a página novamente. Certamente irá aparecer uma descrição técnica do problema. Se necessário, volte a postar a nova mensagem obtida após a edição do arquivo web.config. Depois que concertado o erro, volte editar o arquivo voltando opara Off.

Att

Link para o comentário
Compartilhar em outros sites

  • 0

Opa cara vlw... mudei... mas não consegui identificar o erro se você puder me ajudar...

Server Error in '/' Application.

--------------------------------------------------------------------------------

Cannot use a leading .. to exit above the top directory.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Cannot use a leading .. to exit above the top directory.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.]System.Web.Util.UrlPath.Reduce(String path) +701

System.Web.Util.UrlPath.Combine(String basepath, String relative) +304

System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +258

System.Web.UI.WebControls.HyperLink.AddAttributesToRender(HtmlTextWriter writer) +59

System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +17

System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +17

System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243

System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72

System.Web.UI.Control.Render(HtmlTextWriter writer) +7

System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243

System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72

System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44

System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262

System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243

System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72

System.Web.UI.Control.Render(HtmlTextWriter writer) +7

System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243

System.Web.UI.Page.ProcessRequestMain() +1926

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,1k
    • Posts
      651,8k
×
×
  • Criar Novo...