Buongiorno a tutti!
L'altro giorno ho acquistato uno spazioweb su aruba con hosting + MS Sql Server.
Ho iniziato un piccolo sito in asp.net 2.0 creando una pagina di login e una default.aspx.
Ho gestito un utente usando "Configurazione di ASP.net" e in locale tutto funziona. Quando apro la pagina login e inserisco UN e PW vengo reindirizzato correttamente a default.aspx.
Ora ho provato a pubblicare il tutto sullo spazio di aruba e, con la pubblicazione mi vengono copiate le pagine ma non i file MDF.
Quindi, se eseguo la pagina login.aspx e provo ad accedere mi viene restituito questo errore:
Server Error in '/' Application.
--------------------------------------------------------------------------------
The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.
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.Configuration.Provider.ProviderException: The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.
--------------------------------------------------------------------------------
Se invece copio MANUALMENTE i file MDF e LDF allora mi viene restituito questo 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)
Che fare?
Grazie 1000 a tutti.