Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2002
    Messaggi
    18

    ObjConnection Con Aruba

    Ho un problema di connessione al Data Base Credo che la stringa sia errata.
    Ecco la mia stringa:
    dim MyConn as new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; " & "Data Source=../../myDataBase.mdb")

    Mi appare questo messaggio quando cerco di caricare la pagina

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

    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".




    <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.




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

  2. #2
    Utente di HTML.it
    Registrato dal
    May 2002
    Messaggi
    18
    Nessuno può aiutarmi

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2005
    Messaggi
    1

    devi fare così!!

    devi fare esattamente quello che dice l'errore, cioè : crei un file che si chiama "web.config", nel quale scrivi

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

    questa cosa qui!!Ricordati che questo file deve essere messo nella cartella dove hai le tue pagine ".aspx".
    Vedrai che dopo andrà tutto a posto, o meglio, ti farà esattamente vedere gli errori che stai facendo, oppure eseguirà la pagina!!

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 © 2025 vBulletin Solutions, Inc. All rights reserved.