Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Login

  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2007
    Messaggi
    183

    Login

    Sto cercando ci capire come realizzare un'area riservata di un sito.
    Sono riuscito a realizzare una cosa molto semplice (leggendo l'esempio della guida di questo sito) e diciamo che in locale tutto funziona bene.
    Quando pubblico il sito (su aruba) nasce un problemino.
    Le informazioni degli utenti sono contenute in due files SQL Server che ho posizionato nella cartella App_Data. (files generati con la procedura di configurazione di ASP.net)

    L'errore riportato è questo:

    Server Error in '/' Application.
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
    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.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


    Mi potete spiegare cosa devo fare?
    Ripeto che in locale il sito funziona perfettamente.
    Credo di aver intuito che il mio hosting non permetta l'accesso ai files SQL.
    Giusto?
    Devo posizionarli in altri posti?

  2. #2
    Utente di HTML.it
    Registrato dal
    Oct 2007
    Messaggi
    183
    il mio problema è ugauale a quello del post:
    Sicurezza: utilizzare un database diverso da quello di default ASPNETD

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.