Asp.net'te Server Error in '/' Application. Hatası

Kodla Büyü

naz

Aktif Üye
Mesajlar
125
Cannot open database "ortakoy" requested by the login. The login failed.
Login failed for user 'WIN-KL8T9D54SBT\IWAM_plesk(default)'.
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: Cannot open database "ortakoy" requested by the login. The login failed.
Login failed for user 'WIN-KL8T9D54SBT\IWAM_plesk(default)'.

Source Error:


Line 21: {
Line 22: SqlConnection baglanti = new SqlConnection("Data Source=;Initial Catalog=;User Id=;Password=;Integrated Security=True");
Line 23: baglanti.Open();Line 24: return (baglanti);
Line 25: }

hata baglanti.open();
sorunu çözemedim arkadaşlar yardm eder misiniz?
 
Line 22: SqlConnection baglanti = new SqlConnection("Data Source=;Initial Catalog=;User Id=;Password=;Integrated Security=True");
buna göre baglantı yapıyorsanız hocam
datasource =veri tabanı adı olmalı
ınıtıal catalog= sspı
user ıd=?
pass=?
bunları bılerek koddan sılmedıysenız calısması lazım, yada vt de logın bılgılerınızde sıkıntı var
 
Geri
Üst