Ir para conteúdo



Erro ao publicar site


  • Por favor, faça o login para responder
Não há respostas para este tópico

#1 Willian Maia

Willian Maia
  • Membros
  • 1 posts

Postado 11 May 2011 - 07:06 PM

Olá Amigos, estou tendo um problema com um site que desenvolvi em .net4
pois o site funciona no localhost, mais não quer funcionar quando upo pro servidor de hospedagem

exibe o seguinte erro

Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

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: 


[NullReferenceException: Object reference not set to an instance of an object.]
   Ednaldo.Inicio.Page_Load(Object sender, EventArgs e) in Inicio.aspx.cs:17
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.onload(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

o link do site é www.ednaldopessoa.adv.br

se alguem puder me ajudar a resolver agradeço muito.






1 usuário(s) está(ão) lendo este tópico

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)