Bonjour à tous,
alors j'ai un problème assez particulier, dans le sens où je ne sais pas le localiser. Je m'explique :
Je fais ma ptite applic en local chez moi, tout va bien... puis je transfert sur le serveur distant, et là ca merde...
Pour info, ca merde lorsque j'établis une connexion vers une base access, et que j'insere des données dans une table...
Mais je ne sais pas localiser plus précisément mon erreur étant donné que ca marche en local... je ne sais donc pas faire de pas a pas
Enfin, ceci dit, le browser est qdm gentil, il m'indique ceci :
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.]
DataBaseCommunication.DataBase..ctor() +159
DataBaseCommunication.LOGIN.Ajout() +40
Formulaires_Nouveau.BtEnvoyer_Click(Object sender, EventArgs e) +75
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
inutile de vous dire que le StackTrace ne m'aide pas beaucoup
Donc ma question est la suivante : quel est le moyen de mettre le doigt sur mon erreur ?
Merci de votre aide !
Partager