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
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
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
Avec le code de "Efficience.CreerReport.ClearFichier()" SVP.
--
Paul Bacelar
"Michael" <michael_herault@eurostyle.fr> wrote in message
news:9519f1bd.0504060110.397ae9cf@posting.google.com...
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
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