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

Salve a tutti, questo è il mio primo post,

Ultimo messaggio ricevuto il 02-03-2007 8.50 da devspy. 3 risposta(e).
Pagina 1 di 1 (4 elemento/i)
Ordina messaggi: Precedente Successivo
  • 15-07-2006 18.15

    Salve a tutti, questo è il mio primo post,

    Salve a tutti, questo è il mio primo post,

    ho creato un piccolo sito web personale con micosoft visual web developer 2005, è l'ho trasferito su uno spazio web acquistato su aruba. Premetto che non ho alcuna cognizione di programmazione in asp, e dopo aver compilato e messo on lino il sito, quando provo ad accederci mi da queto messaggio di errore : 

    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)

    Source Error:

    Line 5:  	Sub Application_Start(ByVal sender As [Object], ByVal e As EventArgs)
    Line 6:  		AddHandler SiteMap.SiteMapResolve, AddressOf Me.AppendQueryString
    Line 7:  		If (Roles.RoleExists("Administrators") = False) Then
    Line 8:  			Roles.CreateRole("Administrators")
    Line 9:  		End If


    Source File: D:\Inetpub\webs\automatizzandocom\global.asax    Line: 7

    Stack Trace:

    [SqlException (0x80131904): 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)]
       System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735043
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
       System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) +820
       System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628
       System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170
       System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +130
       System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28
       System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424
       System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
       System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496
       System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
       System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
       System.Data.SqlClient.SqlConnection.Open() +111
       System.Web.DataAccess.SqlConnectionHolder.Open(HttpContext context, Boolean revertImpersonate) +84
       System.Web.DataAccess.SqlConnectionHelper.GetConnection(String connectionString, Boolean revertImpersonation) +197
       System.Web.Security.SqlRoleProvider.RoleExists(String roleName) +482
       System.Web.Security.Roles.RoleExists(String roleName) +242
       ASP.global_asax.Application_Start(Object sender, EventArgs e) in D:\Inetpub\webs\automatizzandocom\global.asax:7
    


    chi può spiegarmi cosa succede?

    grazie a tutti

    • Log
  • 17-07-2006 18.05 In risposta a

    Re: Salve a tutti, questo è il mio primo post,

    automatizzando:

    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)

    A quanto pare il web server su cui hai installato il tuo sito non è compatibile con la modalità di connessione che utilizza l'applicazione web per connettersi a SQL Server.

    In altre parole, le possibilità sono:

    1. Verificare che l'indirizzo IP (o il nome host) e la porta tramite i quali il sito cerca di connettersi a SQL Server siano corretti.
    2. Abilitare sul Web Server l'accesso all'indirizzo IP e porta richiesti per la connessione a SQL Server (può richiedere l'intervento tecnico di Aruba).
    3. Modificare, se possibile, le modalità di connessione del sito a SQL Server.

    Ad ogni modo, contattare l'assistenza tecnica di Aruba riportando la stessa pagina di errore sembra la via più "sicura" per evitare una serie di test che si potrebbero rivelare inutili.

    • Log
  • 01-03-2007 17.16 In risposta a

    Re: Salve a tutti, questo è il mio primo post,

    ciao, forse è bene sapere che Microsoft ha emesso un Bug-Fix a proposito di questa situazione.

    la patch è scaricabile dal sito microsoft al seguente indirizzo: http://support.microsoft.com/kb/913765/it

    anch'io ho avuto il medesimo problema e dopo aver installato questa patch sul mio computer, ed aver trasferito i files RICOMPILATI su aruba tutto è andato a posto

    • Log
  • 02-03-2007 8.50 In risposta a

    Re: Salve a tutti, questo è il mio primo post,

    Grazie per l'opportuna segnalazione! Wink
    • Log
Pagina 1 di 1 (4 elemento/i)
Prelevato da http://www.devspy.com/forums/p/4213/4809.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"