Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Problème export donnée vers Excel2003

1 réponse
Avatar
michael_herault
Bonjour a tous,
Je développe avec VisualStudio2003, dans ma solution je mets a jour
les données d'un fichier excel pour pouvoir l'afficher ensuite.
Ca marche en local mais des que je le met sur le serveur Web j'ai une
erreur lorsqu'il essai d'acceder au fichier excel.

Voici l'erreur :

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.]
Efficience.CreerReport.ClearFichier() +478
Efficience.CalculEfficience.lstPeriodicite_SelectedIndexChanged(Object
sender, EventArgs e) +127
System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs
e) +108
System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent()
+26
System.Web.UI.Page.RaiseChangedEvents() +115
System.Web.UI.Page.ProcessRequestMain() +1081


Merci d'avance pour vos réponse.

Michael

1 réponse

Avatar
Paul Bacelar
Avec le code de "Efficience.CreerReport.ClearFichier()" SVP.
--
Paul Bacelar

"Michael" wrote in message
news:
Bonjour a tous,
Je développe avec VisualStudio2003, dans ma solution je mets a jour
les données d'un fichier excel pour pouvoir l'afficher ensuite.
Ca marche en local mais des que je le met sur le serveur Web j'ai une
erreur lorsqu'il essai d'acceder au fichier excel.

Voici l'erreur :

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.]
Efficience.CreerReport.ClearFichier() +478
Efficience.CalculEfficience.lstPeriodicite_SelectedIndexChanged(Object
sender, EventArgs e) +127
System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs
e) +108



System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.Ra
isePostDataChangedEvent()
+26
System.Web.UI.Page.RaiseChangedEvents() +115
System.Web.UI.Page.ProcessRequestMain() +1081


Merci d'avance pour vos réponse.

Michael