Errore server nell'applicazione '/'.

Caratteri non validi nel percorso.

Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere la traccia dello stack.

Dettagli eccezione: System.ArgumentException: Caratteri non validi nel percorso.

Errore nel codice sorgente:


Riga 411:        Else
Riga 412:
Riga 413:            If System.IO.File.Exists(HttpContext.Current.Server.MapPath("/public/" & Cartella & "/" & CReplaceNome(Sigla) & ".jpg")) Or System.IO.File.Exists(HttpContext.Current.Server.MapPath("/public/" & Cartella & "/" & CReplaceNome(Sigla) & ".JPG")) Then
Riga 414:                Return "<img src='/public/" & Cartella & "/" & CReplaceNome(Sigla) & ".jpg' border='0' alt='' title='' class='MaxImage'  />"
Riga 415:            Else

File di origine: C:\Inetpub\vhosts\vas-im.com\httpdocs\App_Code\Funzioni.vb    Riga: 413

Traccia dello stack:


[ArgumentException: Caratteri non validi nel percorso.]
   System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) +14552586
   System.IO.Path.GetFullPathInternal(String path) +139
   System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) +38
   System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +316
   System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +121
   System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) +94
   System.Web.InternalSecurityPermissions.PathDiscovery(String path) +42
   System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +180
   System.Web.HttpServerUtility.MapPath(String path) +130
   Funzioni.CVerificaEsistenzaFoto(Object Sigla, String Cartella) in C:\Inetpub\vhosts\vas-im.com\httpdocs\App_Code\Funzioni.vb:413
   ASP.masterpagearticoli_master.__DataBind__control24(Object sender, EventArgs e) in C:\Inetpub\vhosts\vas-im.com\httpdocs\MasterPageArticoli.master:74
   System.Web.UI.Control.OnDataBinding(EventArgs e) +100
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +178
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.WebControls.ListView.CreateItemsInGroups(ListViewPagedDataSource dataSource, Boolean dataBinding, InsertItemPosition insertPosition, ArrayList keyArray) +1647
   System.Web.UI.WebControls.ListView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +918
   System.Web.UI.WebControls.ListView.PerformDataBinding(IEnumerable data) +53
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +208
   System.Web.UI.WebControls.ListView.PerformSelect() +128
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +134
   System.Web.UI.WebControls.ListView.CreateChildControls() +80
   System.Web.UI.Control.EnsureChildControls() +107
   System.Web.UI.Control.PreRenderRecursiveInternal() +58
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3671


Informazioni di versione: Versione di Microsoft .NET Framework:4.0.30319; Versione di ASP.NET:4.8.4682.0