Visualizzazione dei risultati da 1 a 5 su 5
  1. #1

    che significa questo errore?

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    The given path's format is not supported.
    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.NotSupportedException: The given path's format is not supported.

    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:


    [NotSupportedException: The given path's format is not supported.]
    System.Security.Util.StringExpressionSet.Canonical izePath(String path, Boolean needFullPath) +230
    System.Security.Util.StringExpressionSet.AddExpres sions(String[] str, Boolean checkForDuplicates, Boolean needFullPath) +461
    System.Security.Permissions.FileIOPermission.AddPa thList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +168
    System.Security.Permissions.FileIOPermission..ctor (FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) +43
    System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +421
    System.IO.FileStream..ctor(String path, FileMode mode) +52
    System.Web.HttpPostedFile.SaveAs(String filename) +48
    menichinialessandra.it.Quadri.Upload.Insert_Immagi ne(HtmlInputFile inputFile, Boolean thumb_flag)
    menichinialessandra.it.insert.Inserisci_Quadro(Obj ect sender, EventArgs e)
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
    System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +57
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +18
    System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
    System.Web.UI.Page.ProcessRequestMain() +1277

    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573


    In locale va, sul server ricevo l'errore.

    la riga che lo scatena è questa:
    inputFile.PostedFile.SaveAs(FileType + APP + filename)
    ho controllato e ho tutti i valori c:\.......file.jpg

    da che può dipendere?

  2. #2
    permessi di scrittura su cartella ?
    Frate Priore: "È Lucifero in persona!"
    Trinità: "Lo conosci?"
    Bambino: "Mai sentito nominare, deve essere un professionista dell'est"

  3. #3
    quelli del server dicono che ci sono.

    Lo stesso codice su altre macchine sempre dello stesso gestore funziona.

  4. #4
    Ciao Daniele,
    hai provato a visualizzare in output a video il path del file?

    Che viene fuori?

  5. #5
    allora in logale facendo il degbug mi esce fuori c:\.......\nomefile.jpg

    sul server alla fine ha funzionato non sul server del sito ma su un'altro dove ho un'altro sito in .net.

    Perciò credo proprio che dipenda dalla configurazione della macchina, ora devo aspettare....nmi trasferiscono il sito sul 2003.

    speriamo bene

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.