in
La comunitĂ  italiana dedicata a Sviluppatori e Architetti IT delle piattaforme Windows

ho un problema chi può aiutarmi

Ultimo messaggio ricevuto il 23-08-2004 1.23 da sitodinamico. 17 risposta(e).
Pagina 1 di 2 (18 elemento/i) 1 2 Successivo >
Ordina messaggi: Precedente Successivo
  • 02-01-2004 16.49

    • giannini
    • Utente Top 100
    • Registrato il 28-11-2003
    • Messaggi 9

    ho un problema chi può aiutarmi

    Ho istallatato DSNewsletter ma ho problemi a settare il percorso del data base.

    Qualcuno può aiutarmi?

    io ho scritto nella riga così:
    Source=mdb-database/DSNewsletter.mdb"



    Si è verificato un problema:

    Origine:
    Microsoft JET Database Engine

    Descrizione:
    'C:\WINNT\system32\mdb-database\DSNewsletter.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

    Per favore, segnala il problema al webmaster.
    • No log
  • 02-01-2004 17.01 In risposta a

    Re: ho un problema chi può aiutarmi

    Devi specificare un percorso fisico e non un URL. Quindi, prova a scrivere il percorso per esteso, ad esempio:
    <code>"Source=C:\Inetpub\wwwroot\DSNewsletter\mdb-database\DSNewsletter.mdb;"</code>
    oppure:
    <code>"Source=C:\mdb-database\DSNewsletter.mdb;"</code>
    Se utilizzi un server gratuito e non conosci il percorso fisico. Puoi creare una pagina temporanea in cui te lo fai restituire, partendo dall'URL:
    <code>Response.Write(Server.MapPath("mdb-database/DSNewsletter.mdb");</code>
    Fammi sapere! ;-)

    Presto (non so dirti quanto...) rilasceremo una <b>nuova versione</b>, decisamente migliorata ed interfacciabile con Access, SQL Server e MySQL.
    • No log
  • 02-01-2004 17.29 In risposta a

    • giannini
    • Utente Top 100
    • Registrato il 28-11-2003
    • Messaggi 9

    Re: ho un problema chi può aiutarmi

    ho provato ma mi da errore

    Si è verificato un problema:

    Origine:
    Microsoft JET Database Engine

    Descrizione:
    'C:\mdb-database\DSNewsletter.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

    Per favore, segnala il problema al webmaster.
    • No log
  • 03-01-2004 10.14 In risposta a

    Re: ho un problema chi può aiutarmi

    Qual è esattamente il percorso in cui hai messo il database? E' proprio <b>C:\mdb-database\DSNewsletter.mdb</b>? Verifica.

    Quando sei sicuro, devi inserire il percorso completo nel file <b>web.config</b>, in questo modo:
    <code><add key="JetConnection" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\percorso\DSNewsletter.mdb;" /></code>
    Ricorda anche che se non posizioni il file .mdb in una sotto-cartella della tua cartella pubblica di Internet (tipicamente "Inetpub\wwwroot") allora devi anche attribuire i diritti di lettura-scrittura per tutti gli utenti (everyone) sulla cartella personalizzata. In caso contrario, gli utenti Internet non saranno in grado di aprire il file, neppure in lettura.
    • No log
  • 03-01-2004 18.40 In risposta a

    • giannini
    • Utente Top 100
    • Registrato il 28-11-2003
    • Messaggi 9

    Re: ho un problema chi può aiutarmi

    Il percorso è sul sito nella cartella mdb-database e ho già inserito il file .mdb
    • No log
  • 05-01-2004 15.12 In risposta a

    Re: ho un problema chi pu&#242; aiutarmi

    Scrivi una pagina (magari un semplice file di testo con <b>NotePad</b>) contenente questo codice:
    <code><%@ Page language="c#" %>
    <% Response.Write(Server.MapPath("/")); %></code>
    Chiama il file <b>Percorso.aspx</b> e copialo nella cartella principale del tuo sito. Poi richiama la pagina come <b>http://www.tuo_sito.it/Percorso.aspx</b> ed otterrai il percorso fisico reale del tuo sito.

    Fammi sapere.
    • No log
  • 22-01-2004 0.45 In risposta a

    • giannini
    • Utente Top 100
    • Registrato il 28-11-2003
    • Messaggi 9

    Re: ho un problema chi pu&#242; aiutarmi

    Molte grazie adesso sono riuscito ad entrare.......
    • No log
  • 22-01-2004 1.09 In risposta a

    • giannini
    • Utente Top 100
    • Registrato il 28-11-2003
    • Messaggi 9

    Re: ho un problema chi pu&#242; aiutarmi

    Quando ci si iscrive nell'inserimento dell'email mi da questo errore. cosa significa?

    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>

    • No log
  • 22-01-2004 8.46 In risposta a

    Re: ho un problema chi pu&#242; aiutarmi

    Significa che si è verificato un errore, ma le impostazioni di protezione ne impediscono la visualizzazione per esteso. Per vedere i dettagli, apri il file <b>web.config</b> che si trova nella cartella principale ed individua la sezione:
    <code><customErrors mode="RemoteOnly" /></code>
    Sostituiscila con:
    <code><customErrors mode="Off" /></code>
    ... e dovresti riuscire a vedere i dettagli sull'errore per esteso.

    Se non capisci di cosa si tratta, fammelo sapere.
    • No log
  • 26-01-2004 14.15 In risposta a

    • giannini
    • Utente Top 100
    • Registrato il 28-11-2003
    • Messaggi 9

    Re: ho un problema chi pu&#242; aiutarmi

    Ho un'altro problema che fino ad ora non si verificava

    Quando vado ad inserire l'user id e la password mi da questo messaggio

    Si è verificato un problema:

    Origine:
    System.Data

    Descrizione:
    The .Net Data OLE DB Provider(System.Data.OleDb) requires Microsoft Data Access Components(MDAC). Please install Microsoft Data Access Components(MDAC) version 2.6 or later.

    Per favore, segnala il problema al webmaster.

    Cosa significa?
    • No log
  • 26-01-2004 16.02 In risposta a

    Re: ho un problema chi pu&#242; aiutarmi

    Forse hai installato (o rimosso) qualcosa che ha modificato le componenti di accesso ai dati.

    Installa l'ultima versione di MDAC. La puoi scaricare da <a href="http://msdn.microsoft.com/downloads/list/dataaccess.asp">http://msdn.microsoft.com/downloads/list/dataaccess.asp</a>
    • No log
  • 06-02-2004 0.21 In risposta a

    • giannini
    • Utente Top 100
    • Registrato il 28-11-2003
    • Messaggi 9

    Re: ho un problema chi pu&#242; aiutarmi

    Funziona tutto ma non funziona l'invio degli emal mi da questo errore

    Puoi aiutarmi? grazie....



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

    A potentially dangerous Request.Form value was detected from the client (txtBody="....4.0 %> <!-- INTESTAZIONE --...").
    Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

    Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (txtBody="....4.0 %> <!-- INTESTAZIONE --...").

    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:


    [HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (txtBody="....4.0
    %>
    <!-- INTESTAZIONE --...").]
    System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName) +230
    System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, String collectionName) +99
    System.Web.HttpRequest.get_Form() +121
    System.Web.UI.Page.GetCollectionBasedOnMethod() +70
    System.Web.UI.Page.DeterminePostBackMode() +47
    System.Web.UI.Page.ProcessRequestMain() +2106
    System.Web.UI.Page.ProcessRequest() +218
    System.Web.UI.Page.ProcessRequest(HttpContext context) +18
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    • No log
  • 06-02-2004 9.03 In risposta a

    Re: ho un problema chi pu&#242; aiutarmi

    Sulla prima riga della pagina .aspx che ti restituisce l'errore, all'interno del tag server <b><%@ Page language="c#" ... /></b> aggiungi l'attributo <b>validateRequest="false"</b>. In pratica, dovresti ottenere:
    <code><%@ Page language="c#" ... validateRequest="false" /></code> dove <b>...</b> rappresenta gli altri parametri.

    Si tratta di un comportamento legato alla sicurezza implementato del .NET framework. Quando il server riceve uno script contenente HTML (e di conseguenza potenzialmente nocivo perché può includere JavaScript, ecc.) scatenza l'eccezione (l'errore) a meno che il programmatore non lo abbia disabilitato (tramite il <b>validateRequest</b>).
    • No log
  • 06-02-2004 9.08 In risposta a

    Re: ho un problema chi pu&#242; aiutarmi

    Ti anticipo che, nella pagina che visualizza l'elenco degli iscritti, la paginazione non funziona correttamente e, quindi, non è possibile navigare effettivamente su tutte le pagine.

    Spero di poter presto rilasciare una nuova versione che risolve il problema e che consente anche agli amministratori di modificare direttamente tramite quella pagina i dati di registrazione degli utenti.
    • No log
  • 06-02-2004 23.33 In risposta a

    • giannini
    • Utente Top 100
    • Registrato il 28-11-2003
    • Messaggi 9

    Re: ho un problema chi pu&#242; aiutarmi

    ho fatto la modifica ma mi da ancora un'altro errore.

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

    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.]
    DSNewsletter.Newsletter.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\DSNewsletter\Newsletter.aspx.cs:207
    System.Web.UI.Control.OnLoad(EventArgs e) +67
    System.Web.UI.Control.LoadRecursive() +35
    System.Web.UI.Page.ProcessRequestMain() +731




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    • No log
Pagina 1 di 2 (18 elemento/i) 1 2 Successivo >
Prelevato da http://www.devspy.com/forums/p/267/267.aspx
DevSpy.com 6.0 © 2001-2008 - Alcuni Diritti Riservati
Salvo diversa indicazione, tutti i contenuti sono pubblicati sotto licenza "Creative Commons Attribution-Share Alike 3.0"