Ir para conteúdo
Fórum CódigoFonte.net
Entre para seguir isso  
Willian Maia

Erro ao publicar site

Recommended Posts

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.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Visitante
Responder

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...
Entre para seguir isso  

×
×
  • Criar Novo...