Erreur du serveur dans l'application '/'.

Impossible de trouver le fichier 'D:\Clients\Web\toner.fr\fichiers-statiques\marques\encre-imprimante.asp.dgwww'.

Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.

Détails de l'exception: System.IO.FileNotFoundException: Impossible de trouver le fichier 'D:\Clients\Web\toner.fr\fichiers-statiques\marques\encre-imprimante.asp.dgwww'.

Erreur source:


Ligne 473 :    {
Ligne 474 :        string contenu_json = "";
Ligne 475 :        StreamReader fichier = new StreamReader(this._chemin_fichier_statique + @"marques\encre-" + Request.QueryString["marque"] + ".dgwww");
Ligne 476 :        contenu_json = fichier.ReadToEnd();
Ligne 477 :        fichier.Close();

Fichier source : d:\Clients\Web\toner.fr\cartouche-marque.aspx.cs    Ligne : 475

Trace de la pile:


[FileNotFoundException: Impossible de trouver le fichier 'D:\Clients\Web\toner.fr\fichiers-statiques\marques\encre-imprimante.asp.dgwww'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10770046
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1305
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +66
   System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) +101
   System.IO.StreamReader..ctor(String path) +32
   cartouche_marque.ListeImprimantesAffichage() in d:\Clients\Web\toner.fr\cartouche-marque.aspx.cs:475
   cartouche_marque.Page_Load(Object sender, EventArgs e) in d:\Clients\Web\toner.fr\cartouche-marque.aspx.cs:277
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


Informations sur la version : Version Microsoft .NET Framework :4.0.30319; Version ASP.NET :4.0.30319.36430