Jens Greeb
2006-10-18 18:56:02 UTC
Hallo,
ich habe meine Website samt Datenbank erfolgreich auf einen Webserver
übertragen und erhalte nun beim Aufruf der Website den folgenden Fehler:
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)
Hier der Auszug aus der web.config:
<connectionStrings>
<add name="BundesligaConnectionString" connectionString="Data
Source=mssql27.1und1.de;Initial Catalog=db1817439356;Integrated
Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
Wie muss ich den String umstellen, dass es funktioniert?
Fehlt eventuell ein Password o.ä.?
Auf meinem lokalen Rechner hat es wunderbar funktioniert.
Danke für Eure Hilfe.
Gruss Jens
ich habe meine Website samt Datenbank erfolgreich auf einen Webserver
übertragen und erhalte nun beim Aufruf der Website den folgenden Fehler:
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)
Hier der Auszug aus der web.config:
<connectionStrings>
<add name="BundesligaConnectionString" connectionString="Data
Source=mssql27.1und1.de;Initial Catalog=db1817439356;Integrated
Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
Wie muss ich den String umstellen, dass es funktioniert?
Fehlt eventuell ein Password o.ä.?
Auf meinem lokalen Rechner hat es wunderbar funktioniert.
Danke für Eure Hilfe.
Gruss Jens