İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

Server Error in /HaberPortali Application.

İceberk1

0
İyinet Üyesi
Katılım
29 Eylül 2011
Mesajlar
26
Reaction score
0
Merhaba arkadaşlar ADEM AKTEPE nin ASPNET GÖRSEL EĞİTİM SETİ ni aldım. herşey güzeldi ama bilgisayara format attıktan sonra eğitim setini ve yedeklerini tekrar kurdum lakin default.aspx de aşağıdaki hatayı alıyorum. denemediğim kalmadı yapamadım bu hatayı neden alıyorum acaba? bağlantı hatası sanırım.? Adem bey destek vereceğini söylediği halde kendisine bir türlü ulaşamadım bu yüzden tecrubeli üye arkadaşların yardımlarını rica eidyorum.

:melek:


Cannot open database "HaberPortali" requested by the login. The login failed.
Login failed for user 'XP-PC\User'.
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 "HaberPortali" requested by the login. The login failed.
Login failed for user 'XP-PC\User'.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[SqlException (0x80131904): Cannot open database "HaberPortali" requested by the login. The login failed.Login failed for user 'XP-PC\User'.] System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1019 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126 System.Data.SqlClient.SqlConnection.Open() +125 Fonksiyon.baglan() +38 Fonksiyon.GetdataTable(String sql) +36 Fonksiyon.GetDataRow(String sql) +12 Admin_Login.btnGiris_Click(Object sender, EventArgs e) +170 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

Üst