arkadaşlar siteyi hazırladım yaptım hosting domain de tamam yayınlarken yükleme yaparken hata verdi .veri tabanını yüklerken The connection name 'artConnectionStrings' was not found in the applications configuration or the connection string is empty. 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.InvalidOperationException: The connection name 'pikselartConnectionStrings' was not found in the applications configuration or the connection string is empty.
Source Error:
Line 151: </asp:Repeater> Line 152: Line 153: <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:pikselartConnectionStrings %>" SelectCommand="SELECT * FROM [Table_1]"></asp:SqlDataSource> Line 154: Line 155: </div>
sebebi nedir sayfayı hazırladım hosting domain aldım ama yüklerken bu hata çıktı
Hostingi nereden aldınız bilmiyorum fakat hosting.com.tr 'den aldıysanız onlarla iletişime geçebilirsiniz. Ben bütün hizmetlerimi onlardan alıyorum, iletişim kurmak çok kolay ve her sorunumda yardımcı oluyorlar sağolsunlar. Kesinlikle tavsiye ederim.
Büyük ihtimalle sitenizin web.config dosyasında bağlantı stringi (connectionStrings) kısmı eksik veya yanlış yapılandırılmış. Hosting tarafında veri tabanı bağlantı ayarlarını doğru tanımlamak gerekiyor.
The connection name 'artConnectionStrings' was not found in the applications configuration or the connection string is empty.
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.InvalidOperationException: The connection name 'pikselartConnectionStrings' was not found in the applications configuration or the connection string is empty.
Source Error:
Line 151: </asp:Repeater>
Line 152:
Line 153: <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:pikselartConnectionStrings %>" SelectCommand="SELECT * FROM [Table_1]"></asp:SqlDataSource>
Line 154:
Line 155: </div>
sebebi nedir sayfayı hazırladım hosting domain aldım ama yüklerken bu hata çıktı