Delphi Dünyası Facebook'ta

Kodbank İndir

! CODEBANK 2012 !

İNDİRMEK&DETAYLI BİLGİ ALMAK İÇİN BURAYI TIKLAYINIZ.

Gönderen Konu: Veritabanına baglanırken sayfada hata  (Okunma sayısı 2698 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı akrep

  • Global Moderatör
  • *****
  • İleti: 1.242
  • Rep: +27/-13
  • Cinsiyet: Bay
Veritabanına baglanırken sayfada hata
« : 02 Ağustos 2007 00:44:06 »
Selamlar, lokalde sorunsuz çalı�?an firebird vt ba�?lantılı sayfamı sunucuya attı�?ımda a�?a�?ıdaki hatayı alıyorum, projemde "localhost" ifadesini içeren bir yer bırakmadı�?ımı dü�?ünüyorum ama hala neden a�?a�?ıdaki hatayı alıyorum anlamadım, çıldırmak üzereyim. Veritabanından kaynaklı de�?il galiba çünkü vt'yi sunucudan tamamen silsemde-bıraksamda aynı hata, connectionstring'i mantıklıdan saçmasapana do�?ru birçok kez de�?i�?tirdim, aynı hata aynı hata. Sunucuda mı problem var nedir ?

Server Error in '/' Application.
Unable to complete network request to host "localhost".
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: FirebirdSql.Data.Firebird.FbException: Unable to complete network request to host "localhost".

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FbException: Unable to complete network request to host "localhost".]
   FirebirdSql.Data.Firebird.FbConnectionInternal.Connect() +307
   FirebirdSql.Data.Firebird.FbConnectionPool.Create() +46
   FirebirdSql.Data.Firebird.FbConnectionPool.CheckOut() +253
   FirebirdSql.Data.Firebird.FbConnection.Open() +356
   WebForm17.TWebForm17.Page_Load(Object sender, EventArgs e) +18642
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
« Son Düzenleme: 02 Ağustos 2007 22:46:57 by Akrep »
Tomurcuk derdinde olmayan ağaç, odundur - Necip Fazıl Kısakürek

Çevrimdışı vectorman

  • Delphi 5 Level 2
  • **
  • İleti: 211
  • Rep: +2/-1
Ynt: Veritabanına baglanırken sayfada hata (acil)
« Yanıtla #1 : 02 Ağustos 2007 16:56:10 »
Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 ????
asp.net 2.0 nedne versiyonun. bi değiştirir misin. 1.1 olması gerekiyor. sunucudaki firebird adresin doğru olduğuna emin misin?

Çevrimdışı akrep

  • Global Moderatör
  • *****
  • İleti: 1.242
  • Rep: +27/-13
  • Cinsiyet: Bay
Ynt: Veritabanına baglanırken sayfada hata (acil)
« Yanıtla #2 : 02 Ağustos 2007 17:10:41 »
Nasıl değiştireceğim versiyonu?
Sunucudaki Firebird adresi derken benim fdb dosyamın programım içindeki yolu ise, sunucu şirketinin dediğini aynen yazdım :
database='D:inetpub\vhosts\siteminadi.com\httpdocs\data\DATAM.FDB'
ama hata mesajı degisecek mi diye daha bir suru değişik şekilde yazdım...
server.mappath('\data\DATAM.FDB') olarak da yazdım... hala neden hata mesajında localhost bulunamadı diyor anlamıyorum.
Tomurcuk derdinde olmayan ağaç, odundur - Necip Fazıl Kısakürek

Çevrimdışı akrep

  • Global Moderatör
  • *****
  • İleti: 1.242
  • Rep: +27/-13
  • Cinsiyet: Bay
Ynt: Veritabanına baglanırken sayfada hata (acil)
« Yanıtla #3 : 02 Ağustos 2007 22:44:46 »
Tamam halloldu, server hatasıymış..
Tomurcuk derdinde olmayan ağaç, odundur - Necip Fazıl Kısakürek

Çevrimdışı selma

  • Delphi 1 Level 1
  • *
  • İleti: 1
  • Rep: +0/-0
Ynt: Veritabanına baglanırken sayfada hata
« Yanıtla #4 : 05 Ağustos 2008 16:14:33 »
S.a.
.Net C# CF2 uygulamasından(WinCe 5 üzerinde çalışıyor),  Firebird e bağlanabiliyorum.Ama WiFi ile bağlanmak istediğimde aşağıdaki hatyı alıyorum:
FbException
No message for error code
335 544 721
FirebirdSql.Data.FirebirdClient
FbConnectionInternal.Connect()

Sorunun kaynağı ne olabilir?Teşekkürler.