Witam, mam problem z prawidłową składnią conectionstringa :/ Moją witrynę przeniosłem właśnie na serwer, jednak jest problem z połączeniem się z bazą.
Baza znajduje się w folderze database i nosi nazwe Praca.mdf
Folder w którym są wszystkie pozostałe pliki to webroot
Obecna postać connection stringa to:
Pomoże ktoś poprawnie go napisać ?
Po próbie logowania wyśiwtla się komunikat:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Dodano po 24 [minuty]:
Temat już nieaktualny, przepraszam i zamykam
Baza znajduje się w folderze database i nosi nazwe Praca.mdf
Folder w którym są wszystkie pozostałe pliki to webroot
Obecna postać connection stringa to:
Kod: C#
Pomoże ktoś poprawnie go napisać ?
Po próbie logowania wyśiwtla się komunikat:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Dodano po 24 [minuty]:
Temat już nieaktualny, przepraszam i zamykam